FiveM
Manage Your FiveM Server From Discord
Overview
The FiveM module creates a live WebSocket bridge between your FiveM server and your Discord bot. Once connected, staff can view the player list, look up individual players, manage their inventory, kick, ban, heal, and broadcast announcements — all without ever opening the server console. Free guilds get the connection tools and player list. Gold+ unlocks the full suite of player management commands.
Configure role restrictions before starting the Aether resource.
Until restrictions are set, every member of your Discord server can use every /fivem command that their subscription tier allows. Set up your role restrictions via /settings fivem or the dashboard before adding ensure aether to your server.cfg and starting the resource.
Setup
- Run
/settings fivem(or open the FiveM page in the dashboard) and configure which roles are allowed to use each command. Do this before connecting your server. - Run
/fivem setupin your Discord server. Copy the generated token — you will need it in the next step. - Download the
aetherFiveM resource and place it in your server'sresources/folder. - Open
resources/aether/config.luaand paste your token intoConfig.GuildToken. SetConfig.BridgeURLto the WebSocket address of your Aether bot host (e.g.ws://your-host:8080). - Add
ensure aetherto yourserver.cfg. - Restart your FiveM server. The resource will automatically connect to the bridge.
- Run
/fivem statusin Discord to confirm the connection shows as Connected.
Configuration
All FiveM settings are managed through /settings fivem or the dashboard under FiveM.
Command log channel
Select a channel where successful /fivem command uses are logged. Each log entry shows who ran the command, which subcommand was used, and the relevant details (player ID, reason, amount, etc.). Leave unset to disable logging.
Command role restrictions
Each /fivem subcommand can be locked behind a specific Discord role. Members who have the required role (or have Administrator permission) can use the command; everyone else is blocked with an error message.
- Role restrictions apply on top of tier requirements — a Gold command still requires Gold tier even if a role is configured.
- Administrators always bypass role restrictions regardless of configuration.
/fivem setupis always restricted to Administrators and cannot be changed.- To remove a restriction from a command, select the command in the settings menu and click Remove restriction, or set the role picker to blank in the dashboard.
Usage
Once connected, the resource runs silently in the background. It auto-detects your framework (ESX, QBCore, or QBox) and inventory system (ox_inventory, qb-inventory, ps-inventory, or ESX default) — no manual configuration is required.
Commands sent from Discord are routed through the bridge in real time. Responses are returned within 15 seconds; if the server does not respond in time the command will time out. If the FiveM server disconnects, it will automatically reconnect using the delay configured in config.lua.
Commands
/fivem setup
- Description: Generates a connection token and displays the
config.luasnippet to connect your FiveM server to the bridge. Generating a new token invalidates the previous one and preserves all other settings (log channel, role restrictions). - Parameters: None
- Permissions: Administrator only (not configurable)
- Available On: Both
/fivem status
- Description: Shows whether the bridge is configured and whether the FiveM server is currently connected.
- Parameters: None
- Permissions: No default restriction — configure via
/settings fivem - Available On: Both
/fivem playerlist
- Description: Displays all players currently online, including their server ID, name, ping, and job (if available).
- Parameters: None
- Permissions: No default restriction — configure via
/settings fivem - Available On: Both
/fivem stats
- Description: Shows full player information: name, identifier, ping, job, cash, bank balance, and all held licenses. Requires Gold tier.
- Parameters:
playerid(integer, required) — the FiveM server ID of the player. - Permissions: Gold tier required — additionally configurable via
/settings fivem - Available On: Both
/fivem inventory
- Description: Displays a snapshot of a player's current inventory. Requires Gold tier.
- Parameters:
playerid(integer, required) — the FiveM server ID of the player. - Permissions: Gold tier required — additionally configurable via
/settings fivem - Available On: Both
/fivem search
- Description: Searches for a player by name, phone number, or vehicle plate. Returns all matches including offline players. Requires Gold tier.
- Parameters:
query(string, required) — search term (max 100 characters)method(string, optional) —name,phone, orplate(default:name)
- Permissions: Gold tier required — additionally configurable via
/settings fivem - Available On: Both
/fivem giveitem
- Description: Gives a specified item and quantity to a player. Use the internal item name (e.g.
bread,water). Requires Gold tier. - Parameters:
playerid(integer, required) — FiveM server IDitem(string, required) — internal item name (max 64 characters)amount(integer, required) — quantity to give (1–9999)
- Permissions: Gold tier required — additionally configurable via
/settings fivem - Available On: Both
/fivem removeitem
- Description: Removes a specified item and quantity from a player's inventory. Requires Gold tier.
- Parameters:
playerid(integer, required) — FiveM server IDitem(string, required) — internal item name (max 64 characters)amount(integer, required) — quantity to remove (1–9999)
- Permissions: Gold tier required — additionally configurable via
/settings fivem - Available On: Both
/fivem heal
- Description: Heals a player to full health. Requires Gold tier.
- Parameters:
playerid(integer, required) — FiveM server ID - Permissions: Gold tier required — additionally configurable via
/settings fivem - Available On: Both
/fivem revive
- Description: Revives a downed player. Requires Gold tier.
- Parameters:
playerid(integer, required) — FiveM server ID - Permissions: Gold tier required — additionally configurable via
/settings fivem - Available On: Both
/fivem armor
- Description: Sets a player's armor to a specified percentage. Requires Gold tier.
- Parameters:
playerid(integer, required) — FiveM server IDamount(integer, required) — armor percentage (0–100)
- Permissions: Gold tier required — additionally configurable via
/settings fivem - Available On: Both
/fivem kick
- Description: Kicks a player from the FiveM server with an optional reason. Requires Gold tier.
- Parameters:
playerid(integer, required) — FiveM server IDreason(string, optional) — reason shown to the player (max 256 characters)
- Permissions: Gold tier required — additionally configurable via
/settings fivem - Available On: Both
/fivem ban
- Description: Bans a player from the FiveM server with an optional reason. Uses your framework's built-in ban system. Requires Gold tier.
- Parameters:
playerid(integer, required) — FiveM server IDreason(string, optional) — reason shown to the player (max 256 characters)
- Permissions: Gold tier required — additionally configurable via
/settings fivem - Available On: Both
/fivem kickall
- Description: Kicks all players currently online with an optional reason. Requires Gold tier.
- Parameters:
reason(string, optional) — reason shown to players (max 256 characters, default: "Server is restarting") - Permissions: Gold tier required — additionally configurable via
/settings fivem - Available On: Both
/fivem announce
- Description: Broadcasts a message to all players currently in-game. Requires Gold tier.
- Parameters:
message(string, required) — the announcement text (max 512 characters) - Permissions: Gold tier required — additionally configurable via
/settings fivem - Available On: Both
/fivem givemoney
- Description: Gives a cash or bank amount to a player. Requires Gold tier.
- Parameters:
playerid(integer, required) — FiveM server IDamount(integer, required) — amount to give (1–999,999,999)moneytype(string, optional) —cash,bank, orblack_money(default:cash)
- Permissions: Gold tier required — additionally configurable via
/settings fivem - Available On: Both
/fivem removemoney
- Description: Removes a cash or bank amount from a player. Requires Gold tier.
- Parameters:
playerid(integer, required) — FiveM server IDamount(integer, required) — amount to remove (1–999,999,999)moneytype(string, optional) —cash,bank, orblack_money(default:cash)
- Permissions: Gold tier required — additionally configurable via
/settings fivem - Available On: Both
/fivem setjob
- Description: Sets a player's job and grade. Requires Gold tier.
- Parameters:
playerid(integer, required) — FiveM server IDjob(string, required) — internal job name (max 64 characters)grade(integer, optional) — job grade (0–99, default: 0)
- Permissions: Gold tier required — additionally configurable via
/settings fivem - Available On: Both
/fivem givelicense
- Description: Grants a license to a player (e.g.
driver,weapon). Requires Gold tier. - Parameters:
playerid(integer, required) — FiveM server IDlicense(string, required) — license name (max 64 characters)
- Permissions: Gold tier required — additionally configurable via
/settings fivem - Available On: Both
/fivem removelicense
- Description: Removes a license from a player. Requires Gold tier.
- Parameters:
playerid(integer, required) — FiveM server IDlicense(string, required) — license name (max 64 characters)
- Permissions: Gold tier required — additionally configurable via
/settings fivem - Available On: Both
/fivem spawnvehicle
- Description: Spawns a vehicle for a player at their location, or adds it directly to their garage. Requires Gold tier.
- Parameters:
playerid(integer, required) — FiveM server IDmodel(string, required) — vehicle model name (e.g.adder,zentorno, max 64 characters)togarage(boolean, optional) — iftrue, adds the vehicle to the player's garage instead of spawning it in the world
- Permissions: Gold tier required — additionally configurable via
/settings fivem - Available On: Both