mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
Reorganized a lot of code. Added tons of comments. Change how commands are added. Encapsulated commands into their own functions. Modified some commands. Recoded others. Added personalized /who that shows name colors.
This commit is contained in:
parent
bfb48af50b
commit
66740290d3
@ -32,6 +32,7 @@ public class vminecraftCommands{
|
|||||||
cl.register("/rules", "rules", "Displays the rules");
|
cl.register("/rules", "rules", "Displays the rules");
|
||||||
cl.register("/fabulous", "fabulous", "makes text SUUUPER");
|
cl.register("/fabulous", "fabulous", "makes text SUUUPER");
|
||||||
cl.register("/whois", "whois", "/whois [user]");
|
cl.register("/whois", "whois", "/whois [user]");
|
||||||
|
cl.register("/who", "who");
|
||||||
cl.register("/say", "say");
|
cl.register("/say", "say");
|
||||||
cl.register("/slay", "slay", "Kill target player");
|
cl.register("/slay", "slay", "Kill target player");
|
||||||
cl.register("/ezmodo", "invuln", "Toggle invulnerability");
|
cl.register("/ezmodo", "invuln", "Toggle invulnerability");
|
||||||
@ -330,7 +331,7 @@ public class vminecraftCommands{
|
|||||||
int maxPlayers = server.getInt("max-players");
|
int maxPlayers = server.getInt("max-players");
|
||||||
|
|
||||||
//Output the player list
|
//Output the player list
|
||||||
vminecraftChat.gmsg( Color.red + "Players(" + count + "/" + maxPlayers +
|
vminecraftChat.gmsg( Color.red + "Player List (" + count + "/" + maxPlayers +
|
||||||
"): " + tempList);
|
"): " + tempList);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user