These are just methods (a coding term for a bit of code that can be called to perform a certain function). You can put them anywhere in the same...
Well essentially: What IS happening: On FIRST plugin load, plugin loads default values from the config.yml included in TreasureHunt.jar. Then...
Didn't get that far down the thread. No need to be angry. As I said, I wasn't trying to be offensive.
As other people have said, you're not checking for arrows correctly. DarkBlade's method is pretty close or correct, I don't have time to read it...
No offense intended, but this seems redundant since you can already check with the Player object alone...
So I've finally moved most of my plugins over to this new Config system that was introduced a while back, and I'm having some trouble, most...
Yeah, just made a class that implements Player. :)
I made a plugin similar to this once, and it's fairly difficult because you have to catch their Death event and handle the inventory stuff there,...
Is it possible? I can't figure out a way to do this. Don't ask why I need one, because the explanation would be long. Suffice it to say I need...
I'm attempting to make TreasureHunt capable of detecting whether a potential chest location is within a towny block. I'm looking for confirmation...
Yeah, I've pretty much already given up and decided to do it a few attempts per tick instead :) lol. Thanks!
scheduleSyncRepeatingTask is already how the code is set up, but while it's searching for a location (it can search up to 1000 times(or whatever...
You only define the base commands (like team, score, map) in the plugin.yml. The second, third, etc. words have to be checked in the code that...
I'll do it for him. //Assuming a is a variable of type Action switch (a) { case Damage: //stuff break; case ThrowPotion: //stuff break;...
I've been searching around the forums for a way to multithread plugins. Essentially I am trying to make the location selection portion of my...
Separate names with a comma.