As I progress further into the plugin I'll update it. I'll make some changes to see if I can make this thing into a real Util.
Hey everyone, I made this and I thought it was pretty nifty, so I figured I'd share it. It is a Relative Location class which holds x, y, and z...
Yes, it is the BlockPLACEEvent after all. Just get the block that was placed and edit the material.
Listen for the BlockBreakEvent, then you can either cancel the drops and manually spawn your own drops or just edit the drops that the block drops.
Just create a new instance of the inventory with a different title (perhaps their name?) every time you want the inventory to open, so that way...
player.getLocation().getBlock().getType() == Material.COBWEB
Ok, well in your big hashmap, store each player's UUID and the amount of lives they have. Then with your single arena hashmap do hashmap#keyset()...
Use the HashMap#get(UUUID player) <or whatever you're storing the players as> method to get the lives of a certain player from the hashmap. Then...
That should be easy enough. But I'll have to work on the config format some more. But question, why would the keys have enchantments? Lores and...
I'm assuming your "ePlayer" class has a player attribute. Just use a constructor and use the player from the event in the constructor.
After a bit of testing, your check is wrong. Using ChatColor#stripColor(String s) changes it from something like "§cHello" to "Hello" thus,...
//reply redacted for redundancy
I'll start development on this but it'll take a while. Also the code in your signature has 2 return types, so it would throw errors. EDIT by...
Putting all of your code in one class like this makes debugging hard. Just a suggestion: make a "ZombiePlayer" class with attributes of inventory,...
Separate names with a comma.