mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-03 11:06:08 +00:00
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:
parent
ff02f0e270
commit
8710a133ce
15 changed files with 137 additions and 56 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue