@q8minecraft Your uses are getting subtracted for each entity because you put the 'use--;' in the loop. Put that and the message you send to the...
If you're looking to achieve colored nicknames, you can just use: player.setDisplayName(ChatColor.translateAlternateColorCodes('&', args[i]));
Your best option would be to go with scoreboard teams to change the nametag, this is able to be done with a second scoreboard as well.
You can manipulate minecraft's scoreboard teams system to change the nametag of a player.
You can strike lightning at a players location on a PlayerDeathEvent. @EventHandler public void onDeath(PlayerDeathEvent e) { Player p =...
You shouldn't use potion effects when vanishing players, it will display particle effects from players, and the player can still be hit. However,...
Why spawn blocks around the player when you can just prevent the player from moving?
You can use a null check for the file and create a new file if the file is null. When saving a file you could try using a "try and catch"...
You can use a PlayerMoveEvent to check the block that the player is currently on. @EventHandler public void onMove(PlayerMoveEvent e) {...
Yes, there are multiple ways. You could check in the if the bow in the shooters hand has a certain display name or not, and if it does, then make...
@MinecraftMart You can clear the lore of the item, and set the damage in the lore with a custom lore, then read that line of lore when setting the...
@wooethan Here is an example. public void taskTimer(final Plugin plugin) { new BukkitRunnable() { for(Player online :...
Can you be more specific? What is your definition of a 'title'?
I am pretty sure the way most large networks get integers off websites involves reading the integer from their databse. However, I could be wrong,...
Depending on what you mean, there are several ways to set the damage. You could add the sharpness enchantment, but I am assuming you don't want to...
Separate names with a comma.