Use immutable (unchangeable) objects as HashMap keys (UUID is the best choice here).
Also, check if the HashMap contains the player....
Can you paste the full method you wrote?
Invoking any method on a null reference will throw a nullpointer exception. It's better to check if(item...
I took me a while but I finally finished your plugin.
You can find the download link and information here:...
Oke, thanks for your help! I'll try to do something with that :).
I have 2 suggestions:
1) Iterate over the array and add every Enum.toString() followed by a "," to a normal string. You can save that string...
Thanks for the help, WorldGuard is indeed one of the plugins it should work with. But what I actually want is a way to check if a player is able...
How can I check whether a player can edit a block or not, depended on plot/region/claim/...? (Break/place)
Thanks in advance,
I'm trying to make something.
I'll keep you up to date.
It's almost done.
I said that I would make it once my holiday vacation started because I had to study for exams and I had promised to make 2 other plugins....
Thank you for mentioning it! I think I'll use that future.
Is it possible to get the material of the brush and the mask of an item a player is currently holding?
I already looked up for other...
Oke. Do you know how I can import the brush type etc. from the worldedit API? Right now, I'm indeed adding each command and checking for each...
I gave it a try in a short break.
I couldn't figure out a way to let /brush listen to 2 commandexecutors. (I never used a duplicated commandname...
Thank you! I'll keep that in mind.
I used to use a parameter in the constructor of a class if I wanted to store an instance of the Main class.
public class Main extends...
Thank you very much!
If I have enough time and no one else made it before Christmas holidays, I'll try to make someting for you.
I already created some plugins and I've always used me.robnoo.<projectname> as 'mainpackage' because the first tutorial I saw used that same...
Do you still need it? If so and no one else made it before next weekend, I'll see what i can do.
(I currently haven't that much...
If noone else made this plugin before next weekend, then I'll try to make something.
(I do not have much time during the week...
Separate names with a comma.