Oh lordie lord....
Do you want the effects to persist after server restarts or no? If not i could make this in 5 minutes.
Why don't you try it?
Please let me know if the plugin works :P
https://www.dropbox.com/s/g4polvimqu28atj/NearbyDeath.jar Not tested.
Source will be posted soon.
I'll do this right now.
Have you added it as a dependency in plugin.yml? Your plugin is probably loading before ProtocolLib
You add it as a dependency and basically just call the classes/methods written in that dependency.
However if you're using private fields with no...
You can use https://hub.spigotmc.org/javadocs/bukkit/ as an alternative.
Create your own Location object containing the Vector of the location and the UUID of the world.
Store that, and you're pretty much done :)
Iterate on all the blocks within a cuboid range, if the block is a chest then fill it with items. If not continue with your iteration.
Stop using statics. Also stop watching online tutorials.
However your problem is simply that you're using something in the Warps class. line 61...
Sorry for providing the source I suppose.
Mods I am not sure if dropbox links are allowed, so please remove this message if...
Are you sure 'name' isn't null?
You need to add some null checks and print out debug messages.
-_- ?!?!?! -_-
Thats why you make WeakHashMaps
Stop talking, just stop. Learn what hashes are and how hashmaps work.
Joiner Please don't name your variables starting with capital letters, follow the java conventions.
Separate names with a comma.