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);
|
||||
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"));
|
||||
|
||||
|
@ -44,6 +44,8 @@ sit-effects:
|
||||
interval: 20
|
||||
amount: 1
|
||||
max-percent: 100
|
||||
itempickup:
|
||||
enabled: false
|
||||
sit-restrictions:
|
||||
commands:
|
||||
all: false
|
||||
|
Loading…
Reference in New Issue
Block a user