DocsCrosshair

Admin

ACE permission and the admin console command.

Not released yet. These pages are written from the code of manniche_crosshair and can change before the release.

Enable admin tools

Admin is off by default. Set Config.Admin.enabled = true and grant the ACE permission (the name in Config.Admin.acePermission):

add_ace group.admin manniche_crosshair.admin allow

Console command

The command name is Config.Admin.command (default manniche_crosshair_admin). The server console is always allowed. A player needs the ACE permission and Config.Admin.enabled = true. Without an action it runs stats.

manniche_crosshair_admin <stats|flush|clearCache|reloadPresets>
ActionWhat it does
statsPrints version, driver, cached records, players, presets and uptime in seconds.
flushWrites all pending changes to storage now.
clearCacheFlushes, then clears cached player records.
reloadPresetsSends the preset list again to all clients.

A player without permission who runs the command gets a console warning.