Added /essentials cleanup <days> [money] [homes] [bans]

Delete userdata of players offline for over <days> and with less money than [money], less homes than [homes] and less bans than [bans].
This commit is contained in:
kukelekuuk00 2013-02-19 21:33:04 +01:00 committed by KHobbits
parent ff02f0e270
commit 8710a133ce
15 changed files with 137 additions and 56 deletions

View file

@ -631,7 +631,7 @@ public abstract class UserData extends PlayerExtension implements IConf
public String getBanReason()
{
return config.getString("ban.reason");
return config.getString("ban.reason", "");
}
public void setBanReason(String reason)