Add option to only count online jailed time (#3705)

Adds `jail-online-time` config option to only count a player's online time to the jail cap.

This also fixes memory leak in `EssentialsTimer` which I found in the process of testing.

Closes #429.
This commit is contained in:
Josh Roy 2021-01-08 15:43:32 -05:00 committed by GitHub
parent 8177893e28
commit 026d279556
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 78 additions and 20 deletions

View file

@ -355,6 +355,8 @@ public interface ISettings extends IConf {
boolean isTeleportBackWhenFreedFromJail();
boolean isJailOnlineTime();
boolean isCompassTowardsHomePerm();
boolean isAllowWorldInBroadcastworld();