> ## Documentation Index
> Fetch the complete documentation index at: https://docs.heartbreakhotel.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Bans

Route: `/bans`
Sidebar group: Players
Permission: `bans.view` (create needs `bans.create`, lift needs `bans.delete`)

## What it does

All bans in one place. Permanent and temporary. See who issued each ban, why, and lift them if needed.

## What you see

* **Active bans** at the top, expired bans below.
* For each ban:
  * Player name + identifiers.
  * Reason.
  * Issued by (admin who created it).
  * Issued at.
  * Expires at (or "permanent").
  * Scope, full account or single license.

## Common actions

* **Create ban**, search a player → set reason + duration → ban. Requires `bans.create`.
* **Lift ban**, marks ban inactive immediately. Requires `bans.delete`.

Editing an existing ban's reason or expiry is not implemented; lift the old ban and create a new one if you need to change either.

All actions are logged to [Audit Logs](/nexora-dashboard/pages/audit-logs).

## Notes

The Lua resource enforces bans on connect, players see your reason in the FiveM client. Lifting a ban is instant; no restart needed.
