Thanks for your help guys.
Hello, Is there a way to unregister event listener classes? My idea was to Register them on demand, and unregister it if no longer needed. In...
Please follow the link in my signature.
Could you please post your current code?
You are trying to set a value to 2 different objects in a single line which cant be. Seems like you want to iterate the players online, please...
Why dont you spawn it at the position where you would teleport it to?
The way you can do this is listen for the PlayerInteractEvent, and check if it is RIGHT_CLICK_BLOCK, then check if its an enderchest. But i dont...
It takes the name of your Listener class as argument, not the Listener names.
You allready used it, its event.getCursor(). Carefully read what your if-statement does. It cannot work this way. You should read again some...
Are you talking about static abuse?
And what exactly stops you from doing it?
What exactly is your question?
You set a block material with the Material enum. block.setType();
Why dont you use player.playSound?
In both your listeners you are checking for the same string in your config. You dont differentiate between them, so im pretty sure that both your...
So this thread is solved? If so, mark it as solved please.
@xPlumpOrange After reading your previous bunch of comments, i recommend you not to try to help other people fixing their code. Not until you have...
No, thats absolutely not the cause of this NPE. You should read the links too. Also look at my Signature.
If you mean you want a path which is subordinate to "PATH", make sure it is seperated by a dot. Expample: "PATH.blah"
Variable names should start with a lowercase letter, please take a look at the naming conventions here:...
Separate names with a comma.