Go to Commands.java and replace this with your old yell command.
if (playerCommand.startsWith("yell")) {
String rank = "";
String Message = playerCommand.substring(4);
if (c.playerRights >= 0 && c.isDonator >= 0) {
rank = "[@mag@Player@bla@]["+ c.playerName +"]:";
}
if (c.playerRights >= 0 && c.isDonator >= 1) {
rank = "[@gre@Donator@bla@]["+ c.playerName +"]:";
}
if (c.playerRights >= 1) {
rank = "[@blu@Mod@bla@]["+ c.playerName +"]:";
}
if (c.playerRights >= 2) {
rank = "[@yel@Admin@bla@]["+ c.playerName +"]:";
}
if (c.playerRights >= 3) {
rank = "[@red@Owner@bla@]["+ Misc.ucFirst(c.playerName) +"]:";
}
if (c.playerName.equalsIgnoreCase("brandon")) {
rank = "[@red@Developer@bla@]["+ c.playerName +"]:";
}
for (int j = 0; j < Server.playerHandler.players.length; j++) {
if (Server.playerHandler.players[j] != null) {
Client c2 = (Client)Server.playerHandler.players[j];
c2.sendMessage(rank+Message);
}
}
}
Save, close, compile, done. Any questions ask.
Basics and theres no need to set the string equal to nothing.