Are you just trying to prevent them from placing sponges?
My suggestion won't give you an NPE? You can use the class in different places without it being final, final just means the map is immutable....
Something like this? public boolean Create(Command sender, Command cmd, String[] args) { //This map is just for illustration. //It should...
Why are you storing an ArrayList of the sponge (which is always a sponge). Are you sure you just want to keep a list of only the sponge's they...
Sure. Or just check out my code. It should accomplish the same objective in a much lighter and easier way.
Your plugin will go out of scope during a reload and you will lose the data in your HashMap. You need to save (persist) the map during onDisable()
Cant fully recall now, but I think it was with: // Copy item meta map so we can edit it (Map<String, Object> meta is IMMUTABLE)...
Not sure if there is something already out there, but I am prepping up a beta release for this week of a zone reset plugin that does this (and a...
Through careful planning and precision placement.
This would be cool for http://dev.bukkit.org/server-mods/itemrules/ if you fancy. Its a bit more on the complicated side, so a configurator would...
I couldn't get this to go... at least not with enchantments so I rewrote a new class that so far seems to tick all the boxes I have tried it...
FTFY. Manners rule.
Only one I have experience with is GriefPrevention and it is pure superb-ness and a plugin that SHOULD be continued. Would love to give it the...
Based on an initial observation... Ditch the static. Do you get any other errors?
Actually, a much better approach.
It could be because it is reapplying every 10 seconds or it could be caused by the mega lag this process will cause. Scanning every player on the...
This should do it. Sure you can figure out the rest of the armor code. @EventHandler(priority = EventPriority.LOWEST) public void...
Fwiw, I am just completing a zone reset plugin that works on timers. Also resets entities, spawns, etc... Should have a release this week.
Only issue I would see is that there would be no exposed ore on the map (which is often a source of exploration and fun). There would also ever...
It would be just as easy for a modified jar to send out the "correct" signature. You would just modify the jar to do so.
Separate names with a comma.