Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
- Player player = (Player) sender;
- if (label.equalsIgnoreCase("nick")) {
- if (args.length == 0) {
- player.sendMessage(
- ChatColor.BLUE + "Well, you need to enter a nickname, stupid. What, did you think it would just make one for you? Sorry, I cant make plugins that advanced yet :/");
- } else if (args.length == 1) {
- player.setDisplayName(args[1]);
- return true;
- }
- }
- return false;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement