User Guide ‐ Main interface ‐ Automods ‐ TK Ban On Connect - MarechJ/hll_rcon_tool GitHub Wiki

🧭 You are here : Wiki home / User Guide / Main interface / Automods / TK Ban On Connect


image

This allows to automatically blacklist the players that only do teamkills when entering a game.

Enabled

(no description)

Message

The message the player will get when kicked/banned by the blacklist.

  "message": "You can't play on this server\nbecause you have intentionnaly teamkilled people the last time you have played on it.",

Author Name

This is the blaklisting's author name.
Default : TK Ban On Connect

  "author_name": "TK Ban On Connect",

Blacklist Id

The ID of the blacklist the players will be sent to.
Default : 0 (the default and always available blacklist)

  "blacklist_id": 0,

Ban Duration

The time the player will be banned.
Note : all lines add up. So setting "days": 1 and "weeks": 1 means "8 days".
Default : all values on 0 (no expiration - permanently blacklisted)

  "ban_duration": {
    "minutes": 0,
    "hours": 0,
    "days": 0,
    "weeks": 0,
    "years": 0
  },

Excluded Weapons

Teamkills using these weapons won't be counted.

Available weapons list is far too large to be covered here.
You'll find them all here
(This list may/will be outdated with future game versions releases).

  "excluded_weapons": [
    "M2 AP MINE",
    "S-MINE",
    "POMZ AP MINE",
    "A.P. Shrapnel Mine Mk II",
    "M1A1 AT MINE",
    "TELLERMINE 43",
    "TM-35 AT MINE",
    "A.T. Mine G.S. Mk V",
    "STRAFING RUN",
    "BOMBING RUN",
    "Unknown",
    "155MM HOWITZER [M114]",
    "150MM HOWITZER [sFH 18]",
    "122MM HOWITZER [M1938 (M-30)]",
    "QF 25-POUNDER [QF 25-Pounder]"
  ]

Max Time After Connect Minutes

Every entering player will be observed during this time (minutes).
Default : 5

  "max_time_after_connect_minutes": 5,

Ignore TK After N Kills

Every entering player will ceased to be observed after this number of (regular) kills.
Default : 10

  "ignore_tk_after_n_kills": 10,

Ignore TK After N Deaths

Every entering player will ceased to be observed after this number of deaths.
Default : 10

  "ignore_tk_after_n_deaths": 10,

Whitelist Players

"has_flag"

This is either an empty list [], or a list of flags to exempt a player from this automod features. To use, add a flag or multiple flags to the list, then flag the players you want to exempt in the CRCON UI.

Default :

  "has_flag": [
    "🚨"
  ],

No whitelist flag :

  "has_flag": [],

Multiple whitelist flags :

  "has_flag": [
    "🚨",
    "❤️"
  ],

"is_vip"

An entering player having an active VIP on this server won't be observed.

    "is_vip": false,

"has_at_least_n_sessions"

An entering player with at least this number of game sessions on this server won't be observed.

    "has_at_least_n_sessions": 5000

TeamKill Tolerance Count

The number of "tolerated" teamkills.

  "teamkill_tolerance_count": 2,

Discord Webhook Url

Discord webhook URL where audit logs should be sent.

[!NOTE] If you don't know how to create a Discord webhook, you can have a look at this video.

Default : null

  "discord_webhook_url": null,

With a webhook :

  "discord_webhook_url": "https://discord.com/api/webhooks/...",

Discord Webhook Message

  "discord_webhook_message": "Teamkiller : `{player}` has been blacklisted.",