[Feature] Add config optn. to disable jail free tp

Adds the teleport-back-when-freed-from-jail configuration option. When
set to true (default), as with previous versions will teleport the
player which was jailed back to their previous position when freed. When
false, Essentials will not teleport the player anywhere, leaving them
where they are.

Closes #1947
This commit is contained in:
Joseph Hirschfeld 2018-04-01 22:37:19 -04:00
parent b2a5280971
commit 70387f73f6
No known key found for this signature in database
GPG key ID: 0F2D193B0EC71954
4 changed files with 24 additions and 5 deletions

View file

@ -306,4 +306,6 @@ public interface ISettings extends IConf {
List<String> getDefaultEnabledConfirmCommands();
boolean isConfirmCommandEnabledByDefault(String commandName);
boolean isTeleportBackWhenFreedFromJail();
}