Team-Silver-Sphere / SquadJS

Squad Server Script Framework
Boost Software License 1.0
163 stars 123 forks source link

Update CBL plugin: allow flexible kicking of untrusted players #349

Open RobotoLev opened 6 months ago

RobotoLev commented 6 months ago

Wrote this code for myself to be able to kick known cheaters automatically. Now proposing it to everyone to use.

Full list of ban-filtering abilities:

  1. By length ("not less days than")
  2. By ban tags ("if any of these is present")
  3. By ban issuer ("if any of these is present")

All of them are optional.

This PR also adds steamID to Discord embed messages of the plugin in order to simplify moderation processes.

RobotoLev commented 6 months ago

Example of the plugin in work (edited for privacy): cbl_example