mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-04 21:11:38 +00:00
Add config option to respawn jailed players to spawn (#4132)
This commit is contained in:
parent
3abddd6f84
commit
54c70581a2
5 changed files with 46 additions and 17 deletions
|
@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue