Hey guys, today I'm trying to make a player look like a ghost, where they are not fully invisible but a little hard to see. The code I found here:...
Okay, fixed by not using the same list. Thank you.
Okay... I think I understand, would it have to do with me using the same list in my onEnable()? This is the onEnable() code: List<String>...
When ever I add a player's name to a list in a hashmap, it seems to add it to another list in the same hashmap. It's honestly fusterating, and I...
I have not fully debuged it, but I've found sorta the source of the problem. It's not the setting the displayslot.below_name as the level I gave...
Hey guys, when ever I give a player an object for below their name, it doesn't do it for their name but for someone else's. It's driving me nuts...
High jump button? You assigned a key from the keyboard?
Did you make sure you have the permission: '(player.hasPermission("EasyPvpKits.Kits"))'? To test which if command it's not going pass, do else...
Use the EntityDamageByEntityEvent event, check if the damager instanceof Player, and do event.getDamager().damage(amount of damage).
@DiamondDeveloper Thanks, I'll certainly use this. I'm still having the same problem though, so if anyone could help out that would be nice!...
Heeeellloo guys, I've ran into a small problem with looping through a config. When someone clicks an item, it checks if the item is in one of the...
Your main class pastebin link was removed?
Try updating their inventory: player.getPlayer().updateInventory();
There may be a way to disable the player from receiving any chat, I found a thread with a solution although I have not tried it myself:...
@OfficialRainex Hm, you would have to loop through Bukkit.getOnlinePlayers() with a for loop. Once you have the for loop set up, check the...
I don't use SQL and neither do I know it, but looking at your code I don't see you checking if the SQL file has the player? Isn't there something...
@mine-care Hm, well, I need to look more into packets and where to find all the packets. Thanks @Ruptur Already tried that thread, it's outdated...
I did some research and I gather this code together: Player player = (Player)sender; Location loc = player.getLocation();...
So, title really says it all. In an event, I'm canceling someone's death then I am wanting to tp them into a bed to where they appear like this:...
Found your problem, when you check if the item they are holding is not an iron ingot, you didn't put a return;, so it just kept going through the...
Separate names with a comma.