Add item pickup option to config

This commit is contained in:
Shevchik 2014-01-02 17:59:53 +04:00
parent e9ce76aca4
commit 3ee46ccf9a
2 changed files with 4 additions and 0 deletions

View File

@ -125,6 +125,8 @@ public class Chairs extends JavaPlugin {
sitMaxHealth = config.getInt("sit-effects.healing.max-percent",100);
sitHealthPerInterval = config.getInt("sit-effects.healing.amount",1);
sitPickupEnabled = config.getBoolean("sit-effects.itempickup.enabled", false);
sitDisableAllCommands = config.getBoolean("sit-restrictions.commands.all");
sitDisabledCommands = new HashSet<String>(config.getStringList("sit-restrictions.commands.list"));

View File

@ -44,6 +44,8 @@ sit-effects:
interval: 20
amount: 1
max-percent: 100
itempickup:
enabled: false
sit-restrictions:
commands:
all: false