Skip to content

Placeholders

Jan Kluka edited this page Sep 12, 2026 · 4 revisions

Placeholders

Requires PlaceholderAPI. X-Warden registers itself as xwarden.

Placeholder Value
%xwarden_automation_score% 0–100, or 0 when not measured
%xwarden_flags_total% flags ever raised against the player
%xwarden_flags_<module>% flags from one module
%xwarden_vl_<module>% current violation level for one module
%xwarden_watched% whether staff are watching them
%xwarden_preset% the active preset
%xwarden_open_flags% findings still waiting for somebody, server-wide
%xwarden_frozen% whether they are frozen right now
%xwarden_alerts% whether this staff member is hearing alerts
%xwarden_last_flag% how long ago they were last flagged, or never
%xwarden_severity% how serious their last finding was, in words
%xwarden_links% how many accounts correlate with theirs

Valid module ids: economy, integrity, automation, network, client. An unknown id returns 0.

Every one of these is cached for a few seconds. A placeholder is resolved on the server thread, and a scoreboard asks for them far more often than any of them changes - read live, the ones backed by the flag history put a database query on the tick loop.

These are for staff-facing displays — a scoreboard on a staff-only world, a panel in a moderation menu. Showing a player their own automation score tells a macro user exactly how close they are to the threshold, which is the one audience you do not want to help calibrate.

Clone this wiki locally