I am coding a anon plugin. I want to execute a command and use DisgiuseCraft API or another API to change their name to &kiiiiiiiiii Thanks Code (Text): package me.prosperity.uhc; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; public class AnonD implements CommandExecutor { public boolean onCommand( CommandSender sender, Command cmd, String label, String[] args){ if(label.equalsIgnoreCase("autod")){ if(sender instanceof Player) { }else{ System.out.println("NO DO DIS COMMEND KED"); } } return false; } }
Actually, in this case, all his Java conventions are proper. The reason hes making a thread is because he has the slightest of clue how to change a players display name above their head. Tons of people are still unaware how to do it as its not so black and white. It's a bit of packet manipulation. Your reply is quite unnecessary, because once again, from what we can see, his programming habits are perfectly fine His English on the other hand could use some work, but who are we to judge
http://wiki.vg/Protocol#Player_List_Item ^ Just edit the value of the name. I dont understand how people have problem with that task