The scoreboard can be display under a player's name. But it won't override it. So you will have both, the name of the player plus the one you...
What I suggest is having some kind of coin purse, where you could change the name of the item to the amount of coins the player has. Of course you...
You could loop through the entities of the world, then if the entity type equals iron shovel, retrieve the coords and create an explosion at the...
Then try using the setCustomName() function.
You can use Player p = event.getPlayer(); If(p.isFlying()) { while(p.isFlying() &&...
@harvmaster Simply put the coords into a list, then in the config, save the list. On load, retrieve the list and check if the interacted block is...
By XP orb you mean the entity ? You cannot hold an entity. You should try something else. And for your retexture problem, try adding a default...
The function is called setCustomName() I think. You can une chat color properties on it. I know it work on living entities, but I never tested it...
I think you should check for the player to fly, not the event. Cast your event object or target to a player and then check if the player is flying.
well in this case you have to cast the entity into a player or a livingEntity, then use setDamage() or setHealt()
you have to set an OnPlayerJoin event, then get the Bukkit.getOnlinePlayers().size() / Bukkit.getOnlinePlayers().lenght to display the amount of...
I don't quite understand your problem, why would you set the last damage, i would use player.setDamage(player.getLastDamage() * 3); instead, so it...
yea that was indeed the problem. I feel a bit bad right now, But thanks anyways it fixed my problem :) have a nice day ! - Nic
i wrote it in comment, it's the one that promp the item name to the player chat.,
Hi i'm trying to find how many of a certain item the players has in their inventory. I got this code but it gives me a NullPointerException on the...
Separate names with a comma.