mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-10 15:54:20 +00:00
Add option to ignore vanished players from sleeping (#4200)
This commit is contained in:
parent
a4fbfbef02
commit
fed26071ac
4 changed files with 18 additions and 0 deletions
|
@ -1101,6 +1101,11 @@ public class Settings implements net.ess3.api.ISettings {
|
|||
return config.getBoolean("sleep-ignores-afk-players", true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean sleepIgnoresVanishedPlayers() {
|
||||
return config.getBoolean("sleep-ignores-vanished-player", true);
|
||||
}
|
||||
|
||||
public String _getAfkListName() {
|
||||
return FormatUtil.replaceFormat(config.getString("afk-list-name", "none"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue