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:
Ali Moghnieh 2017-06-22 22:54:51 +01:00
parent 3831464665
commit 11a03bbce9
No known key found for this signature in database
GPG key ID: F09D3A1BAF2E6D70
6 changed files with 26 additions and 5 deletions

View file

@ -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);
}
}