mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-26 23:45:23 +00:00
Add notify-player-of-mail-cooldown
config option.
This feature allows for the ability to specify a cooldown for how often individual players are notified of their outstanding unread mails.
This commit is contained in:
parent
3831464665
commit
11a03bbce9
6 changed files with 26 additions and 5 deletions
|
@ -1409,4 +1409,9 @@ public class Settings implements net.ess3.api.ISettings {
|
|||
public boolean isAddingSuffixInPlayerlist() {
|
||||
return config.getBoolean("add-suffix-in-playerlist", false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getNotifyPlayerOfMailCooldown() {
|
||||
return config.getInt("notify-player-of-mail-cooldown", 0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue