# Cooldowns

Cooldown is used to prevent players from leaving a job too early and returning to it again immediately after leaving it.

Cooldown settings located in the main config.yml config file under the Jobs -> Cooldown section:

Cooldown:
  OnJoin: true
  OnLeave: true
  Values:
    Mode: RANK
    Permission_Prefix: 'job.cooldown.'
    Default_Value: 86400
    Values:
      admin: 0
      vip: 42200

When the OnJoin setting is enabled, the cooldown is applied when player joins a job. This prevents player from leaving that job until the cooldown is expired.

When the OnLeave setting is enabled, the cooldown is applied when player quits a job. This prevents player from joining that job until the cooldown is expired.

You can customize the cooldown time based on player ranks and permissions defined under the Values section. There is a complete guide in the config file.