🚥Cooldown-give Configuration

This section controls the cooldown and limits related to giving temporary fly time to other players.

cooldown-give:
  enabled: false # If true, a cooldown is applied after giving fly time before you can give again.
  custom-cooldown:
    enabled: false # If true, allows setting a custom cooldown duration. Both must be enabled to activate.
    cooldown: 5    # Custom cooldown time in seconds.
  limits:
    enabled: true
    give-minimum-value: 5    # Minimum number of seconds a player can give.
    give-maximum-value: 60   # Maximum number of seconds a player can give. Use "INFINITE" for no max limit.
    

How it works

1. enabled

  • When set to true, a cooldown is applied after giving fly time to another player.

  • This means if you give, for example, 10 seconds of fly time, you must wait 10 seconds before you can give fly time again.

  • When set to false, no cooldown is enforced, and you can give fly time repeatedly without delay.

2. custom-cooldown

  • When both enabled under custom-cooldown and cooldown-give.enabled are true, you can define a custom cooldown duration (in seconds) independent of the time given.

  • The cooldown value is the fixed cooldown duration applied after each give action.

3. limits

  • When enabled, restricts how much fly time a player can give:

    • give-minimum-value is the minimum number of seconds allowed to give. Attempts to give less will be rejected.

    • give-maximum-value is the maximum number of seconds allowed to give.

Last updated