Console commands

All of these are typed in the server console (txAdmin or terminal).

Status and installation

CommandWhat it does
shield_statusVersion, mode, license status and online players
shield_readinessProtection health: GO, CAUTION or NO-GO, with what is left to fix
shield_platform_auditStatus of the server.cfg locks and the lines ready to paste
shield_installInstalls the companion in every resource that runs Lua
shield_install <resource>Installs it in one resource
shield_uninstall [resource]Removes it from all resources, or from one
shield_updateDownloads the new version (when auto-update is off)

After shield_install <resource>: refresh and restart <resource>.

Configuration

CommandWhat it does
shield_reloadReloads staff, bypass, allowlist.lua and blacklists.lua right away
shield_mode monitorStops punishing, only logs
shield_mode enforceGoes back to applying the actions
shield_dryrun on [minutes] [resource...]Shows what would be deleted, without deleting it
shield_dryrun offEnds the test

Tuning to your server

Run these after a few hours with a full server. The commands measure what your server does and suggest the adjustment.

CommandWhat it does
shield_calibrationMeasures speed, damage and range against each limit and suggests the value
shield_calibration resetResets the measurement
shield_damage_profilePrints the damage profile per weapon, ready to paste into config/detections.lua
shield_damage_practiceLists the damage many players deal with each weapon
shield_weapon_rangesShows the range read for each weapon and your server's adjustments
shield_gateCalls and refusals per resource and event, with the suggested overrides
shield_gate resetResets the count
shield_tokensLists, per resource and event, who calls without the session mark
shield_tokens resetResets the count

Script integration

CommandWhat it does
shield_compatResources whose client actions had no origin on the server
shield_compat resetResets the count
shield_originsAction origins the Shield learned on its own
shield_origins forget <signal> <origin>Forgets an origin
shield_portalsTeleport destinations the Shield learned
shield_portals forget <key>Forgets a destination
shield_prevalenceBlip sprites your server uses
shield_watch <id>Follows a player live in the console

Bans

CommandWhat it does
shield_unban <ID> [motivo]Undoes a ban. Accepts the ban ID or an account (license:...)
shield_unban todos <ID> [motivo]Also undoes the bans linked by the same account or PC
shield_unban desde 13/11 14:00 [ate 14/11 00:00]Shows the automatic bans in that window and a confirmation code
shield_unban confirmar <código>Undoes the bans in that window
shield_deferred_bansLists the delayed ban queue

[motivo] is the reason and <código> is the confirmation code. The words todos, desde, ate and confirmar are typed as shown, and dates are day/month.

Every ban shows up in the console with the unban command ready to use.

Performance

CommandWhat it does
shield_perf onTurns on cost measurement
shield_perfShows the cost of each Shield task on the server