Added option to hide player from /list /who ... login message.

This is for other plugins, that want to hide a player.
Use IEssentials.getUser(Player p).setHidden(boolean)
This commit is contained in:
snowleo 2011-07-18 03:42:21 +02:00
parent e3a470e264
commit be83383fd5
10 changed files with 107 additions and 9 deletions

View file

@ -25,6 +25,10 @@ public class Commandpay extends EssentialsCommand
for (Player p : server.matchPlayer(args[0]))
{
User u = ess.getUser(p);
if (u.isHidden())
{
continue;
}
user.payUser(u, amount);
}
}