#
Amount Limits
You can restrict possible amount of primary and secondary jobs a player can pick based on their ranks and permissions.
#
Setup
Amount limit settings located in the config.yml config under the Primary_Amount
and Secondary_Amount
sections (for primary and secondary jobs accordingly). You'll see a bunch of configuration comments there explaining how to setup those limits. Below are configuration examples for some common scenarios.
Unlimited Amount:
Primary_Amount:
Mode: RANK
Permission_Prefix: 'null' # Not needed for the RANK mode.
Default_Value: -1 # No limits for everyone.
Values: {} # Not needed
Limited by Rank:
Primary_Amount:
Mode: RANK
Permission_Prefix: 'null' # Not needed for the RANK mode.
Default_Value: 3 # Available for all players, no rank required.
Values:
vip: 4 # Only for players with the 'vip' rank.
gold: 5 # Only for players with the 'gold' rank.
premium: 6 # Only for players with the 'premium' rank.
admin: -1 # No limits for players with the 'admin' rank.
Limited by Permissions:
Primary_Amount:
Mode: PERMISSION
Permission_Prefix: 'excellentjobs.jobs.primary.' # Custom permission prefix used to define limits below.
Default_Value: 3 # Available for all players, no permission required.
Values:
vip: 4 # Permission = excellentjobs.jobs.primary.vip
gold: 5 # Permission = excellentjobs.jobs.primary.gold
premium: 6 # Permission = excellentjobs.jobs.primary.premium
admin: -1 # No limits for players with the 'excellentjobs.jobs.primary.admin' permission.