Try my artistic vision on the list command.
This commit is contained in:
parent
5f7ecf9d3b
commit
0ffb557557
@ -30,9 +30,12 @@ public class CommandList extends Command
|
|||||||
Collection<ProxiedPlayer> serverPlayers = server.getPlayers();
|
Collection<ProxiedPlayer> serverPlayers = server.getPlayers();
|
||||||
|
|
||||||
StringBuilder message = new StringBuilder();
|
StringBuilder message = new StringBuilder();
|
||||||
|
message.append( ChatColor.GREEN );
|
||||||
message.append( "[" );
|
message.append( "[" );
|
||||||
message.append( server.getName() );
|
message.append( server.getName() );
|
||||||
message.append( "] (" );
|
message.append( "] " );
|
||||||
|
message.append( ChatColor.YELLOW );
|
||||||
|
message.append( "(" );
|
||||||
message.append( serverPlayers.size() );
|
message.append( serverPlayers.size() );
|
||||||
message.append( "): " );
|
message.append( "): " );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user