Add item pickup option to config
This commit is contained in:
parent
e9ce76aca4
commit
3ee46ccf9a
@ -125,6 +125,8 @@ public class Chairs extends JavaPlugin {
|
|||||||
sitMaxHealth = config.getInt("sit-effects.healing.max-percent",100);
|
sitMaxHealth = config.getInt("sit-effects.healing.max-percent",100);
|
||||||
sitHealthPerInterval = config.getInt("sit-effects.healing.amount",1);
|
sitHealthPerInterval = config.getInt("sit-effects.healing.amount",1);
|
||||||
|
|
||||||
|
sitPickupEnabled = config.getBoolean("sit-effects.itempickup.enabled", false);
|
||||||
|
|
||||||
sitDisableAllCommands = config.getBoolean("sit-restrictions.commands.all");
|
sitDisableAllCommands = config.getBoolean("sit-restrictions.commands.all");
|
||||||
sitDisabledCommands = new HashSet<String>(config.getStringList("sit-restrictions.commands.list"));
|
sitDisabledCommands = new HashSet<String>(config.getStringList("sit-restrictions.commands.list"));
|
||||||
|
|
||||||
|
@ -44,6 +44,8 @@ sit-effects:
|
|||||||
interval: 20
|
interval: 20
|
||||||
amount: 1
|
amount: 1
|
||||||
max-percent: 100
|
max-percent: 100
|
||||||
|
itempickup:
|
||||||
|
enabled: false
|
||||||
sit-restrictions:
|
sit-restrictions:
|
||||||
commands:
|
commands:
|
||||||
all: false
|
all: false
|
||||||
|
Loading…
Reference in New Issue
Block a user