- New permission : "passlock.watch", allow the player to watch the content of a chest without taking anything
- New config entry : "watchTitle", the name of the inventory that shows up when watching a locked chest (%p is the name of the owner)
The economy update !
- Passlock now depends on Vault
- You can use economy or not in the config (useEconomy)
- You can set the price of lock with the permission : passlock.lockprice.*any formula* (read the tutorial to see what's possible)
- You can toggle if the player get its money back when unlocking in the config (unlockingPaysBack)
- New permission : "passlock.reload" : Permission of the /passlock reload command (I forgot something important again ^^)
- Other new entries in the config : "priceMessage", to say how much costs a lock, "priceTitle", to show the price in the title of the locking inventory and "calculation", the feedback message of the new /passlock recalculate command.
- New command : /passlock recalculate, recalculate the number of locks of every players
- Owners can now be alerted when robbers come ! You can customize the message in the config and toggle it (%player is the name of the player, %block the block being robbed and %location the position of the block) !
- /passlock help will now show the list of commands available !
- New command : /passlock resetConfig ! It resets the configuration file to the default one without restarting server ! Message can be changed in the config too !
- New permission with resetConfig : passlock.resetConfig !
- Fixed bugs with trapped chests and locking limit !
- Added new permission : passlock.unlockEveryLocks It enable the player to unlock any locked block
- OP can't unlock any locked block anymore (use the new permission)
- Added locking limit ! You can use it by added permission to players such as "passlock.lockinglimit.any number" to set the locking limit. You can enable/disable this feature in the config.
- Changed the color CHAR to '#' instead of '!', be careful with your config file : either change all the '!' into '#' or remove the file and let the plugin generate a new one
- Added "ownerNeedLock" option in config, disabling it will allow owner of locked block to open/break without code !
- The max amount of item for the code is now configurable in the config !