Web API
REST API Endpoints
Base path: /api/xbans (requires XCore web dashboard to be enabled).
| Endpoint | Method | Description |
|---|---|---|
/stats | GET | Sanction counts (bans, mutes, warns, reports) |
/bans | GET | Active bans |
/ip-bans | GET | Active IP bans |
/mutes | GET | Active mutes |
/ip-mutes | GET | Active IP mutes |
/warns | GET | Active warnings |
/reports | GET | Active reports |
/audit | GET | Audit log (paginated, searchable by player/moderator/action) |
/unban | POST | Remove a ban |
/unmute | POST | Remove a mute |
Database Tables
| Table | Description |
|---|---|
xbans_banlist | Player bans |
xbans_ipbanlist | IP bans |
xbans_mutelist | Player mutes |
xbans_ipmutelist | IP mutes |
xbans_warnlist | Warnings |
xbans_reportlist | Reports |
audit_log | Full moderation action history with moderator attribution |
xbans_ai_training / xbans_ai_model | AI classifier training data and model |
xbans_alt_detection | Alt-account fingerprints |
xbans_watchlist | Watched players |
xbans_notes | Staff notes |