Configuration
Config.yml Settings
| normal_limit | The number of slots a player with the chestbank.limited.normal permission can use |
| elevated_limit | The number of slots a player with the chestbank.limited.elevated permission can use |
| vip_limit | The number of slots a player with the chestbank.limited.vip permission can use |
| creation_fee | (REQUIRES VAULT) Charge to create a ChestBank |
| transaction_fee | (REQUIRES VAULT) Charge to access a ChestBank |
| use_whitelist | Use the whitelist options (true/false) |
| whitelist | Item ID's of all allowed items when using the whitelist option. Seperated with commas, NO SPACES |
| use_blacklist | Use the blacklist options (true/false) |
| blacklist | Item ID's of all disallowed items when using the blacklist option. Seperated with commas, NO SPACES |
| NOTE: Blacklist takes precedence over whitelist, so if an item ID is in BOTH whitelist and blacklist it will be DISALLOWED | |
| use_network_perms | Restrict usage/creation/removal of named network ChestBanks to users with chestbank.{use/create/remove}.networks.{network name} OR chestbank.{use/create/remove}.networks.* permission |
| use_ender_chests | Turn all ChestBanks into Ender Chests on creation |
| limits | New limits system. Set the list of limits you want to create permission nodes for |
| database_method | Standard "yml" or "sqlite" for larger servers |
| delete_if_inactive_days | (SQLite only) If a user does no login or use their account for this many days, delete their account. 0 = disabled |
New Limits System
Since 1.10.1 a new slot limiting system has been introduced. The new system allows you to specify the limits you want to be able to assign players, and then creates permission nodes you can use to implement them.
To set the new limits, there is a new config option called "limits". Simply set this to be a list of the slot limits you want to be able to use (default is 10,25,35).
Once the config is set you can add permissions to players based on teh numbers you have set. For example:
chestbank.limited.10 chestbank.limited.25 chestbank.limited.35
NOTE:* You must have the limit set in the config file for the permission node to work. You cannot simply pick a limit and assign that permission.
There is also a chestbank.limited.override permission (default: ops) which allows a player the full 54 slots regardless of any other limited permissions.
Old Limits System
You can limit the number of 'Slots' players can have in ChestBanks. For the purpose of this plugin, a Slot is 1 item stack (i.e 64 Diamonds, or 1 Sword).
When a player is given one of the three Limiting Permissions (see <Permissions> page) they are able to use the number of slots allocated to that permission in the config.yml in any ChestBank they have access to.
For example, if you:
- Set the 'normal_limit' setting in the config.yml to 10 (which is the deafult)
- Give player 'JoeBloggs' the 'chestbank.limited.normal' permission
- Create 1 ChestBank on the default (unnamed) network
- Create 1 ChestBank on the 'Bonus' network
JoeBloggs will be able to place 10 item stacks in any ChestBank he can access, so if he has the 'chestbank.use' permission he can place 10 stacks in the default network, and if he has the 'chestbank.use.networks' permission he can place a further 10 stacks in the 'Bonus' network.
NOTE: If you do not assign ANY .limited permission to a player.group they are effectively UNlimited, meaning they can use all slots in any ChestBank they can access.
ALSO: if you give a player more than one .limited permission, they get the number of slots allowed to the highest level of the permissions they have been given. So, if you give someone BOTH 'chestbank.limited.normal' and 'chestbank.limited.vip', they can use the number of slots allocated to the 'vip_limit' setting.
-
View User Profile
-
Send Message
Posted Apr 7, 2012Thank you, this is very helpfull :)))))
-
View User Profile
-
Send Message
Posted Dec 1, 2012Very good plugin!