Hey all, I've done some googling and looking around, and cannot seem to find out how to add my crowns into the yell when I yell. This is what I see when I yell as a developer.
I have custom crowns inside my client, I use @cr0@ through @cr11@.
This is my yell command atm.
Code:
if (playerCommand.startsWith("yell")) {
for (int j = 0; j < Server.playerHandler.players.length; j++) {
if (Server.playerHandler.players[j] != null) {
Client all = (Client) Server.playerHandler.players[j];
String userTitle = "";
switch (c.playerRights) {
case 0:
c.sendMessage("You have to be a Staff to use this feature...");
return;
case 1:
userTitle = "@red@Regular@bla@";
break;
case 2:
userTitle = "@spd@Supreme@bla@";
break;
case 3:
userTitle = "@vip@VIP@bla@";
break;
case 4:
userTitle = "@gfx@GFX Artist@bla@";
break;
case 5:
userTitle = "@vet@Veteran@bla@";
break;
case 6:
userTitle = "@sup@Server Support@bla@";
break;
case 7:
userTitle = "@inm@In-Game Mod@bla@";
break;
case 8:
userTitle = "@glm@Global Mod@bla@";
break;
case 9:
userTitle = "@ina@In-Game Admin@bla@";
break;
case 10:
userTitle = "@gla@Global Admin@bla@";
break;
case 11:
userTitle = "@dev@Developer@bla@";
break;
}
}
}
}