Add config option to respawn jailed players to spawn (#4132)

This commit is contained in:
Josh Roy 2021-06-08 21:04:30 -04:00 committed by GitHub
parent 3abddd6f84
commit 54c70581a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 46 additions and 17 deletions

View file

@ -345,7 +345,7 @@ public interface ISettings extends IConf {
boolean isConfirmCommandEnabledByDefault(String commandName);
boolean isTeleportBackWhenFreedFromJail();
TeleportWhenFreePolicy getTeleportWhenFreePolicy();
boolean isJailOnlineTime();
@ -385,4 +385,10 @@ public interface ISettings extends IConf {
DROP
}
enum TeleportWhenFreePolicy {
SPAWN,
BACK,
OFF
}
}