Add world-time-permissions configurable variable (false by default) that justifies whether /time should check for per world permissions. This was recommended by Khobbits as newbies might get confused by this feature.

This commit is contained in:
Ali Moghnieh 2016-01-20 11:46:37 +00:00
parent d895d40fbf
commit c6d2746959
4 changed files with 14 additions and 1 deletions

View file

@ -1139,4 +1139,9 @@ public class Settings implements net.ess3.api.ISettings {
@Override public boolean isSendFlyEnableOnJoin() {
return config.getBoolean("send-fly-enable-on-join", true);
}
@Override
public boolean isWorldTimePermissions() {
return config.getBoolean("world-time-permissions", false);
}
}