So I wanted to suggest the possibility of adding a simple "/c" command to see the colors you can use a s Donator.
It would look something like:
Player: /c
Console: a b c d e f 1 2 3 4 5 6 7 8 9 0 l k (uh...) o nm
I thought this would be a pretty perfect Jr. Dev job: quick, easy, and useful.
@DanOF , @Mintcraftian
Just to help I tried to write the code for this: (not sure if its right because I haven't done Java in a looooonnngg time)
Let me know what you think!
It would look something like:
Player: /c
Console: a b c d e f 1 2 3 4 5 6 7 8 9 0 l k (uh...) o n
I thought this would be a pretty perfect Jr. Dev job: quick, easy, and useful.
@DanOF , @Mintcraftian
Just to help I tried to write the code for this: (not sure if its right because I haven't done Java in a looooonnngg time)
Code:
}
@Override
public boolean onCommand (CommandSender sender, Command cmd, CommandLabel, String[] args)
{
if (commandLabel.equalsIgnorecase("Colors"))
toggleColors (sender);
return true;
}
private void toggle= Colors (CommandSender sender)
{
if ( !enabled((Player)sender) )
{
RankedUsers.add((Player) sender);
((Player) sender).sendMessage(ChatColor.BLUE + "a + ChatColor.GREEN + 2" //etc.//);
}
else
{
RankedUsers.remove(Player) sender);
(Player) sender).sendMessage (ChatColor.RED + "Only + ChatColor.GREY Iron + ChatColor.RESET + and above can use this");
}
public boolean enabled (Player player)
{
return ColorsUsers.contains(player);
}
}
Last edited: