Config ‐ Wanted system - Rosstail/Karma GitHub Wiki

The wanted system is here to frame people doing wrong things in your server, additionally to the karma win/loss.

#config.yml

wanted:
  enable: <boolean>
  countdown-on-disconnect: <boolean>
  #[player_wanted_time] use the highest amount between the player's wanted time and the actual timestamp.
  maximum-duration: <String> #"[now] 8h" #compatible with: d h m s
  commands:
    enter:
      - <String>
      - <String>
    refresh:
      - <String>
      - <String>
    exit:
      - <String>
      - <String>

wanted.countdown-on-disconnect will let player have their wanted time spent while offline, or not. if true, a wanted player can reconnect later with less time or even innocent again. Else, the time is conserved.

maximum-duration is the maximum of time a player can be wanted. It is advised to put the current timestamp [now] followed by values in days d, hours h, minutes m and seconds s. Ths limit can be bypassed upon player edit command sending with the --override argument.

The wanted.commands.enter and wanted-commands-exit triggers upon entering / exiting wanted state.

  • If the player was innocent and connect with enough wanted time (edit commands), he will enter the wanted state instantly.
  • A wanted player that reconnects with no more time (with countdown-on-disconnect or edit commands) will exit the wanted state instantly. The wanted.commands.refresh will trigger if a player is wanted and see his wanted time change OR if a wanted disconnected player reconnects and still wanted. It is advised to only set broadcast commands or sending messages.
⚠️ **GitHub.com Fallback** ⚠️