Post your code, let me take a look.
Not familiar with ProtocolLib, but @AlvinB seems to have a good answer here. @ASHninja1997 You should post your solution here for anyone else who...
The inv.getItem(i) returns an ItemStack ItemStack item = inv.getItem(i); But the item variable will return null if the inv.getItem(i) returns...
Are you creating a Bukkit plugin? I think he was googling for help with what he is trying to do, found our forum, and thought it was the right...
Can you elaborate on exactly what you want to do? All I got from this is that you want to check if a Player's username is in the config then add a...
I agree, just use an API that already exist. No need to re-invent the wheel. Save yourself the time and effort. Like @AlvinB stated. Just add onto...
You are using the getCommand(String command) method. Is the hub command listed in your plugin.yml? https://bukkit.gamepedia.com/Plugin_YAML
Do you know how to host a Bukkit server locally on your machine?
Like @AlvinB is stating. If you are trying to run the plugin from within eclipse, it's not going to work. Youll have to throw it on a live server...
The hashmaps should be accessible, have it print out each value from the hashmap upon death. So you can see if it's actually writing to the hashmap.
Caused by: java.lang.NoClassDefFoundError: net/sf/jsqlparser/parser/CCJSqlParserUtil The library you are using cannot be found. Is this a bukkit...
Just loop through the inventory slots, and check that the slot is in the second row. Inventory slots are numbered starting at 0 in the very top...
It's probably throwing a NullPointer, I bet the respawn is getting called when you join the server. Try putting in checks when you try to pull...
Should be able to do Arrow arrow = ((Arrow) Event.getDamager()); Player plr = arrow.getShooter(); Edit: Sorry looking back and forth at the...
You'll have to cast it, since getDamager() is an Entity you'll have to cast Snowball or Arrow to the new Arrow object. Edit: I made the edit in...
Separate names with a comma.