This update introduces a new system that automatically adjusts how many players can go
on duty depending on how many people are online.
It’s fully configurable and aims to keep things balanced during both quiet and busy hours.
How it works:
The plugin calculates the duty limit based on two numbers you set —
players and
cops.
Every time the number of online players reaches your chosen “players” amount, the limit increases by the number you set for “cops.”
By default, the system starts with a limit of 1, but if you enable
Aggressive mode, it starts from 0 instead (meaning no one can go on duty when the server is nearly empty).
Example:
If you use /jconfig adaptivedutylimit enabled 10 2,
then for every 10 players online, the plugin adds 2 extra on-duty slots.
So with 20 players online, the limit would be 5 (1 base + 4 from the 2 groups of 10).
Commands:
- /jconfig adaptivedutylimit enabled — turns the system on using the saved settings.
- /jconfig adaptivedutylimit enabled <players> <cops> — turns it on and saves new settings.
- Add aggressive at the end to make it start from 0:
/jconfig adaptivedutylimit enabled 10 2 aggressive
- /jconfig adaptivedutylimit disabled — turns the system off and returns to normal behavior.