Add option to disable custom server-full message (#3899)

Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
This commit is contained in:
Daniil 2021-01-11 08:10:07 +03:00 committed by GitHub
parent 817585a9a6
commit e287600c34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 1 deletions

View file

@ -1276,6 +1276,11 @@ public class Settings implements net.ess3.api.ISettings {
return isCustomQuitMessage;
}
@Override
public boolean isCustomServerFullMessage() {
return config.getBoolean("use-custom-server-full-message", true);
}
@Override
public int getJoinQuitMessagePlayerCount() {
return config.getInt("hide-join-quit-messages-above", -1);