Amount Limits
ExcellentJobs has a setting to limit the maximum number of jobs a player can join simultaneously.
Configuration
Configuration is done in the main module file in the Amount-Limit section.
Parameters:
Mode- Available values:RANKandPERMISSION.Permission_Prefix- Prefix for creating permissions for thePERMISSIONmode.Default_Value- Default value. Applies when none of the rules specified inValuesapply to the player.Values- List of "key" - "amount of jobs" pairs.
Mode descriptions:
RANK- Works automatically by selecting the highest value fromValues, checking if the player is in the specified group.PERMISSION- In this mode, you need to grant a permission to a group or player by combining thePermission_Prefixand a key fromValues.
jobs.yml
Amount-Limit:
Mode: RANK
Permission_Prefix: jobs.amount.
Default_Value: 3.0
Values:
pro: 4.0
elite: 5.0
admin: -1