it worker for me, All i did was /nick &4 lol and it was "lol" It works with all of the colors, so, are you sure you did it right?
I hold over: onCommand(CommandSender sender, Command cmd, String label, String[] args) { cause it has red line, and this comes up: "This method...
um.. I did this, with the code you sent, and if I do /nick hey, it says "that player is not online" and if I do /nick AdddisCraft hey, it says "to...
so in plugin.yml it will be Usage: '/<command [player] <nick/title>'?
will it be /<command> [Player] <title> and /<command> [Player] <nickname>?
"title cannot be resolved to a variable"
Thanks I have 1 error this sentece: player.sendMessage(ChatColor.GREEN + "Your title is now [" + title + "]!"); the title gets red underline....
Thank you so much, but where to put all this?
ok, Like I said, I am a noob at this, I started on coding plugins a couple days ago, what would the file be called, and how would I do it?
like in seperate classes or seperate plugin?
thank you so much
That was the command section of my main class, but where in the main class to put it? and would it be like this in plugin.yml (the command...
would plugin.yml be: nick: description: change your name usage: '/<command> [player] <nickname|off>' ?
for now the code is like this. where to put it? @Override public boolean onCommand(CommandSender sender,Command cmd, String commandLabel,...
so: if(sender instanceof Player){ Player player = (Player) sender; player.setDisplayName("["+args[0]+"]"+player.getName()); } ? and would it be...
so would it be: else if(commandLabel.equalsIgnoreCase("Nick")) { String playerNick = args[0];...
Thanks, but would it work with: ((player) sender.setDisplayName("["+args[0]+"]"+player.getName());
I would like the users to be able to change the title, like do /title "title" and they get it. not like they have to have [Epic]
Thank you so much This may be a dumb question, but in: player.setDisplayName i get a red line under player, and if i do Player.setDisplayName...
Like if I have the tile Epic, and I say something, it will say [Epic]AdddisCraft.
Separate names with a comma.