Move the explosion protection to a different section of the config.
This way it makes more sense, as the explosionProtection is for the jails and not during the jailing.
This commit is contained in:
parent
b005248deb
commit
4179a6a2d3
@ -17,7 +17,7 @@ public enum Settings {
|
|||||||
DEBUG("system.debug"),
|
DEBUG("system.debug"),
|
||||||
DEFAULTJAIL("jailing.jail.defaultJail"),
|
DEFAULTJAIL("jailing.jail.defaultJail"),
|
||||||
DELETEINVENTORY("jailing.jail.deleteInventory"),
|
DELETEINVENTORY("jailing.jail.deleteInventory"),
|
||||||
EXPLOSIONPROTECTION("jailing.during.explosionProtection"),
|
EXPLOSIONPROTECTION("jails.explosionProtection"),
|
||||||
FOODCONTROL("jailing.during.foodControl"),
|
FOODCONTROL("jailing.during.foodControl"),
|
||||||
FOODCONTROLMAX("jailing.during.foodControlMax"),
|
FOODCONTROLMAX("jailing.during.foodControlMax"),
|
||||||
FOODCONTROLMIN("jailing.during.foodControlMin"),
|
FOODCONTROLMIN("jailing.during.foodControlMin"),
|
||||||
|
@ -11,6 +11,8 @@ storage:
|
|||||||
port: 3306
|
port: 3306
|
||||||
username: 'root'
|
username: 'root'
|
||||||
password: 'password'
|
password: 'password'
|
||||||
|
jails:
|
||||||
|
explosionProtection: true
|
||||||
jailing:
|
jailing:
|
||||||
during:
|
during:
|
||||||
blockBreakPenalty: 5m
|
blockBreakPenalty: 5m
|
||||||
@ -23,7 +25,6 @@ jailing:
|
|||||||
commandProtection: true
|
commandProtection: true
|
||||||
commandWhitelist: ['/ping', '/list']
|
commandWhitelist: ['/ping', '/list']
|
||||||
countDownTimeWhileOffline: false
|
countDownTimeWhileOffline: false
|
||||||
explosionProtection: true
|
|
||||||
foodControl: true
|
foodControl: true
|
||||||
foodControlMax: 20
|
foodControlMax: 20
|
||||||
foodControlMin: 10
|
foodControlMin: 10
|
||||||
|
Loading…
Reference in New Issue
Block a user