os player que estão no money top estão com os nicks em minúsculos
quero deixar assim
Frogguer
com a inicial maiúsculo
public Top(iConomy plugin) {
super(plugin, iConomy.Template);
this.Accounts = new Accounts();
}
public boolean perform(CommandSender sender, LinkedHashMap<String, Parser.Argument> arguments) throws InvalidUsage {
if (!this.hasPermissions(sender, "top")) {
throw new InvalidUsage("Você não tem permissao para usar este comando.");
}
this.template.set(Template.Node.TOP_OPENING);
Messaging.send(sender, this.template.parse());
this.template.set(Template.Node.TOP_ITEM);
List<Account> top = this.Accounts.getTopAccounts(10);
for (int i = 0; i < top.size(); ++i) {
Account account = top.get(i);
this.template.add("i", i + 1);
this.template.add("name", account.name);
this.template.add("amount", account.getHoldings().toString());
Messaging.send(sender, this.template.parse());
}
return false;
}
}