Skip to content

anticheats.yml

Jan Kluka edited this page Sep 12, 2026 · 2 revisions
# =============================================================================
#  X-Warden - other anticheats
#
#  This file, with every key explained, is also on the wiki:
#  https://github.com/Drawethree/X-Warden/wiki/anticheats.yml
# =============================================================================
#
#  Warden listens to the flags other anticheats raise and writes them into the
#  same inbox, the same player report and the same evidence screen as its own,
#  so staff have one place to look. /xwarden sus <player> lists them.
#
#  Nothing here is ever acted on. Another plugin's flag goes through the path
#  that cannot punish, the same one alt-account correlation uses: it is
#  recorded, shown, and counted, and that is all. The other anticheat keeps
#  doing whatever it does about its own flags.
#
#  Warden reaches these plugins by name, not by compiling against them, so any
#  anticheat with a Bukkit event can be added here without a new build:
#
#    plugin       the name in its plugin.yml; the entry is skipped when it is
#                 not installed
#    event        the fully qualified class of the Bukkit event it fires when a
#                 player is flagged
#    player       how to get the player off the event: a chain of no-argument
#                 getters, dotted. It may end in a Player, a UUID, or anything
#                 with a getUniqueId() (and getName()) of its own
#    check        a getter chain ending in the check's name
#    vl           (optional) a getter chain ending in a number - the violation
#                 level, shown as a reading
#    detail       (optional) a getter chain ending in text - the anticheat's
#                 own description of the flag
#    ignore-cancelled  skip a flag another plugin cancelled (true is usual)
#    ignore-checks     check names, as the anticheat spells them, to keep out
#                      of the inbox - a noisy check you have already tuned
#
#  A getter chain that does not resolve is reported in the console once, with
#  the method that was missing, and the entry is switched off until a reload.
#  Every entry below names where its getters were verified.
# =============================================================================

anticheats:
  # Verified against github.com/GrimAnticheat/GrimAPI, grim-bukkit-internal:
  # ac.grim.grimac.api.events.FlagEvent - getUser() (GrimUser: getUniqueId,
  # getName), getCheck() (AbstractCheck: getCheckName), getViolations(),
  # getVerbose(). Marked deprecated by Grim since 1.2.1.0 in favour of its own
  # event bus, but still fired.
  grim:
    plugin: "GrimAC"
    event: "ac.grim.grimac.api.events.FlagEvent"
    player: "getUser"
    check: "getCheck.getCheckName"
    vl: "getViolations"
    detail: "getVerbose"
    ignore-cancelled: true
    ignore-checks: []

  # The entries below are the shapes these plugins have documented. They are
  # switched off (enabled: false) because their API jars are not published
  # where a build can verify them; turn one on once you have confirmed the
  # class and getters against the version you run. A wrong name does no harm -
  # the console says which method was missing and the entry stays off.
  vulcan:
    enabled: false
    plugin: "Vulcan"
    event: "me.frep.vulcan.api.event.VulcanFlagEvent"
    player: "getPlayer"
    check: "getCheck.getName"
    vl: "getCheck.getVl"
    detail: "getInfo"
    ignore-cancelled: true
    ignore-checks: []
  matrix:
    enabled: false
    plugin: "Matrix"
    event: "me.rerere.matrix.api.events.PlayerViolationEvent"
    player: "getPlayer"
    check: "getHackType.name"
    vl: "getViolations"
    detail: "getMessage"
    ignore-cancelled: true
    ignore-checks: []
  spartan:
    enabled: false
    plugin: "Spartan"
    event: "me.vagdedes.spartan.api.PlayerViolationEvent"
    player: "getPlayer"
    check: "getHackType.name"
    vl: "getViolation"
    detail: ""
    ignore-cancelled: true
    ignore-checks: []

Clone this wiki locally