sipsi133 xxyy98 I've updated the tutorial with an approach for 1.7+ servers.
Wonderful tutorial. Hopefully in the not-so-distant future we'll be able to write per-entity shaders. My small contribution to this thread, a...
I'm unsure of how Bukkit's PluginClassLoader operates, but seeing as it inherits from URLClassLoader it should be feasible to "close" the...
Reflection is a way to access and manipulate class members without knowing their name at compile-time. I've found that the Oracle tutorials on...
Thanks for posting a working example; was feeling guilty about not editing the post with up-to-date information :).
There's an example at the bottom of the file.
From now on, instead of this library use xiaomao 's SMTP library, which you can find here. It supersedes this library, and supports TLS.
You aren't getting any emails because this library is currently broken. Crypto is short for cryptography, which is essentially encryption....
You should comment or remove the block at line 49, given that STARTTLS part, I reckon it wouldn't work outright. I don't believe either Yahoo! nor...
What you are doing is relatively simple. You already got part of it: you have the field reflection down. You just need to extend that knowledge to...
It was never intended for one to store the raw email/password in a plugin. Rather, it should be used with a user-defined email/password read from...
zachoooo Fair point. I've changed the Email class to reflect this, and I've also added some minor improvements in terms of formatting and...
You would put it in your onEnable(), or somewhere where it is called on startup (preferably only once).
"in an unlikely case" Yes, that is the expected result. However, we do not know what fork of CraftBukkit he may be using, and I know of at least...
1) They are absolutely identical in terms of the generated bytecode. Don't bother with such minor things, you'll never, ever see a significant...
If you are sure that the String returned is '$', attempt a .trim() call before .equals(): there may be (in an unlikely case) some trailing or...
Yes, I am aware of that. You can even statically import DEFERRED. Just not as neat though, in my opinion.
Amazing! One thing I noticed though: "MassBlockUpdate.RelightingStrategy.DEFERRED", maybe refactor RelightingStrategy to its own class, to prevent...
:) /me prods desht to submit a PR containing that lighting optimization in .setTypeId that desht mentioned Even so, the API I've PR'd for is...
Essentially. Then again "always" is a bit too much to say... One could hypothetically create a different plugin called WorldGuard, or edit...
Separate names with a comma.