Commands & Permissions

Common Flags

Most sanction commands accept these optional flags:

FlagDescription
-sSilent mode — suppresses the public broadcast (only Warden / staff with notify permissions see it)
-server <name>Cross-server execution — forwards the command to the named server
@template_nameReplaces [time] [reason] with a predefined template from config.yml

Player Commands

CommandDescriptionPermission
/report <player> [reason]Report a player to staff (no reason opens a reason-picker GUI)xbans.report

Ban Commands

CommandDescriptionPermission
/ban [-s] <player> [time] [reason] [-server <name>]Ban a player (permanent if no time)xbans.ban
/unban [-s] <player> [-server <name>]Remove a player's banxbans.unban
/ban-ip [-s] <player> [time] [reason] [-server <name>]Ban a player's IPxbans.banip
/unban-ip [-s] <player> [-server <name>]Remove a player's IP banxbans.unbanip
/ban-ip-range [-s] <range> [reason] [-server <name>]Ban an IP range (wildcards: 192.168.1.*)xbans.baniprange
/unban-all <player>Unban all bans matching the playerxbans.unban-all

Mute Commands

CommandDescriptionPermission
/mute [-s] <player> [time] [reason] [-server <name>]Mute a player (permanent if no time)xbans.mute
/unmute [-s] <player> [-server <name>]Remove a player's mutexbans.unmute
/mute-ip [-s] <player> [time] [reason] [-server <name>]Mute a player's IPxbans.muteip
/unmute-ip [-s] <player> [-server <name>]Remove a player's IP mutexbans.unmuteip
/unmute-all <player>Unmute all mutes matching the playerxbans.unmute-all

Warn & Report Commands

CommandDescriptionPermission
/warn [-s] <player> [reason] [-server <name>]Warn a playerxbans.warn
/unwarn [-s] <player> [id]Remove a warning (specific ID or all)xbans.unwarn
/report <player> [reason]Report a player to staff (no reason opens a reason-picker GUI)xbans.report
/unreport <player> [id]Remove a report (specific ID or all)xbans.unreport

Jail Commands

CommandDescriptionPermission
/jail [-s] <player> [jail_name] [time] [reason] [-server <name>]Jail a player at a named jail locationxbans.jail
/unjail [-s] <player>Release a player from jailxbans.unjail
/jail-create <name>Create a jail at your current positionxbans.jail.manage
/jail-delete <name>Delete a jail locationxbans.jail.manage
/jail-locationsList configured jail locationsxbans.jail
/sanctions jailsOpen the active jails GUIxbans.sanctions

Moderation Tools

CommandDescriptionPermission
/kick [-s] <player> [reason] [-server <name>]Kick a playerxbans.kick
/freeze <player>Toggle freeze on a playerxbans.freeze
/watchlist <add|remove|list> [player] [reason]Manage the watchlistxbans.watchlist
/note <add|list|delete> <player|id> [note]Manage staff notesxbans.note
/wardenToggle warden notifications for yourselfxbans.warden

Lookup & GUI Commands

CommandDescriptionPermission
/profil <player>Open the player profile GUIxbans.profil
/punish <player>Open the one-click sanction menu (with sub-menus)xbans.punish
/history <player>Show a player's sanction history (text)xbans.history
/whois <player|ip>Lookup IP/player infoxbans.whois
/sanctions <bans|ipbans|mutes|ipmutes|warns|reports|jails>Open one of the sanction list GUIsxbans.sanctions
/playersAll players GUIxbans.players

Admin Commands

CommandDescriptionPermission
/xbans reloadReload XBans configuration and langxbans.admin
/xbans statsShow XBans statistics (active sanctions, totals)xbans.admin
/xbans export <bans|mutes|warns|reports|all>Export sanction data to JSONxbans.admin
/xbans import <file>Import sanction data from a JSON filexbans.admin

Exports are written to plugins/XCore/addons/XBans/exports/. Imports look up files in the same folder.

Permissions Reference

Sanction commands

PermissionDescription
xbans.adminFull access to all XBans features (GUIs, lookup commands, admin commands, etc.)
xbans.ban / xbans.unbanIssue / lift bans
xbans.banip / xbans.unbanipIssue / lift IP bans (and IP range bans)
xbans.mute / xbans.unmuteIssue / lift mutes
xbans.muteip / xbans.unmuteipIssue / lift IP mutes
xbans.warn / xbans.unwarnIssue / lift warnings
xbans.report / xbans.unreportSubmit / remove reports (xbans.report defaults to all players)
xbans.jail / xbans.unjailJail / release players
xbans.kickKick players

Lookups, GUIs & moderation tools

PermissionDescription
xbans.sanctionsAccess /sanctions <bans|ipbans|mutes|ipmutes|warns|reports|jails>
xbans.playersOpen the players GUI (/players)
xbans.profilOpen the profile GUI (/profil)
xbans.punishOpen the punish menu (/punish)
xbans.historyUse the text-based history command (/history)
xbans.whoisUse /whois
xbans.freezeUse /freeze
xbans.watchlistUse /watchlist
xbans.noteUse /note
xbans.jail.manageCreate / delete jail locations

Notifications

PermissionDescription
xbans.wardenReceive Warden notifications (reports, alerts, watchlist joins, AI flags...). Required for /warden.
xbans.notify.warnSee warn broadcasts (when configured to require this permission via broadcast-permissions.warn)
xbans.notify.reportSee report broadcasts (when configured via broadcast-permissions.report)
xbans.updateReceive update notifications on join

Sanction exemptions & bypasses

PermissionDescription
xbans.exempt.banCannot be banned
xbans.exempt.muteCannot be muted
xbans.exempt.kickCannot be kicked
xbans.exempt.warnCannot be warned
xbans.exempt.reportCannot be reported
xbans.exempt.jailCannot be jailed
xbans.bypass.chataiBypass AI chat moderation
xbans.bypass.vpnBypass VPN/proxy blocking
xbans.bypass.hostingBypass hosting/datacenter blocking
xbans.bypass.mobileBypass mobile network blocking

The xbans.admin permission is the umbrella for staff-only tools (lookup commands, GUIs, exports). For granular staff roles, hand out individual sanction permissions: a helper role might only have xbans.warn, xbans.unwarn, and xbans.warden.

Exempt and bypass permissions can be assigned to a permission group (e.g., donator with xbans.bypass.vpn) to handle exceptions cleanly without per-player tweaks.