Bypass Permissions
Two new permission nodes have implemented. These permission nodes allow the bypass of the locks.
NOTE: If you have given a player the star permissions to a certain lock(e.g.
invlock.move.*) they will automatically have bypass permissions.
The nodes for the bypass permissions are as follows
- invlock.move.bypass
- invlock.drop.bypass
Config.yml
I have implemented a config.yml that automatically generates upon the first run of the plugin. The values within the config.yml are automatically set to true, but can be changed. These values change the startup status of the locks.
Code (Text):
#InventoryLock Configuration File
#Coded by DarkSoldier on Spigot Forums
#Locks will be enabled/disabled on startup based on these two options
#ON - true
#OFF - true
drop_lock_enabled_startup: true
move_lock_enabled_startup: true
#True means that when the server starts up, the locks will automatically be turned on
#On the flip side, false indicates that upon server startup, the locks will not be on