Configuration / Groups
[ Main ] [ Multiworld ] [ Tools ] [ Usergroups ] [ Blacklist(s) ] [ Materializer ]
You can extend the tools config based on user groups.
E.g., you have a group called vip, and you want them to be able to buy up to 100 chests and start with 3 chests while normal users can only buy 10 chests and have no chests from the beginning.
The chest-part of your config.yml then would look like this:
tools: chest: max: 10 start: 0 multiply: 1 buy: 10000 use: 0 vip: max: 100 start: 3
You can do the same with every other setting (as long as it's a child node of "tools").
Note: For all the red values the lowest possible value will be taken, for all the blue values it's the highest possible value.
So if your chest part looks like this:
tools: chest: max: 10 start: 0 multiply: 1 buy: 10000 use: 0 random_group: buy: 50000 max: 20
When a user with the usergroup random_group now wants to buy a chest it will cost him 10'000 $ and NOT 50'000 $, because the buy-attribute is a red value.
But he will be able to buy up to 20 chests, because the max-attribute is a blue value.
Since v1.0.5 it is also possible to put a whole config into a group section:
tools: vip: chest: start: 15 max: -1
If you do it both ways, the "better" value will be used (see above).