Console commands can be executed either using an RCon tool, directly from the server console interface, a server configuration file, the server command line, or (if a resource is allowed by the ACL) the ExecuteCommand function.
Adding a custom RCon command can be done using the RegisterCommand function on the
server, or the (legacy)
Starts the resource specified in the argument, if it was stopped. It is also possible to specify a category name, such as
start lambda-menu start [cars]
Stops the resource specified in the argument, if it was started. As with
start, one can also specify a category name.
Restarts the resource specified in the argument, if it was started. If it wasn’t, starts the resource specified in the argument.
stop, one can also specify a category name.
Restarts the resource specified in the argument, if it was started. Also supports category names.
Rescans the resources folder and loads all resource manifests in them, also making new resources available to start using start.
Runs the commands specified in the filename, relative to the server data directory, or any resource name specified with
Commonly seen as
FXServer.exe +exec server.cfg.
exec server_nested.cfg exec @vMenu/config/permissions.cfg
Exits the server, sending a default quit message to all connected players.
Exits the server, also sending the specified reason to all connected players.
quit "Restarting - will be back soon!"
Shows a list of players with their primary identifier, server ID, name, endpoint, and ping.
clientkick [id] [reason]
Kicks the client with the specified server ID (as seen in status) from the server, for the stated reason.
clientkick 43 You're a superstitious idiot!
Sends a message in the chat as console.
say Hi, everybody!
Opens or closes the server debug GUI.
Defines the game to run the server for.
FXServer.exe +set gamename rdr3
|gta4||LibertyM for GTA:NY|
|gta5||FiveM for GTA:Five|
|rdr3||RedM for RDR3|
Defines which mode of state awareness to use.
- Off: No state awareness at all, clients will use the standard GTA/RAGE P2P networking model, and the server will only function as a relay.
- On: Full state awareness and server-determined entity routing.
- Legacy: Compatibility mode for scripts that expect all players to exist on each client. Not recommended due to performance issues and graphical glitches.
Selects a game build for clients to use. This can only be specified at startup, and can not be changed at runtime.
sv_enforceGameBuild h4 sv_enforceGameBuild mptuner sv_enforceGameBuild 1355
Every build includes all content and changes from the builds before.
|1604||xm18, christmas2018, mpchristmas2018||Arena War|
|-||-||The Diamond Casino & Resort|
|-||-||Diamond Casino Heist|
|2060||sum, mpsum||Los Santos Summer Special|
|2189||h4, heist4, mpheist4||Cayo Perico Heist|
|2372||tuner, mptuner||Los Santos Tuners|
|2545||security, mpsecurity||The Contract|
|2699||mpsum2||The Criminal Enterprises|
|1311||Mid 2020 update, not compatible with Red Dead Online licenses.|
|1355||December 2020 update, works with newer game editions such as RDO.|
|1436||July 2021 update, includes new content from Blood Money DLC.|
A variable that specifies the maximum amount of clients that the server can normally have, as an integer from 1 to 1024.
Values starting at 32 will require
onesync to be set to
legacy, and values above 64 will require
onesync to be set to
A boolean variable that, if true, hides player IP addresses from public reports output by the server.
sets sv_projectName "project name"
A string variable containing the name of your ‘project’, which would for example be the server’s community. This should be a name, not a list, nor should it contain tags.
Any non-compliant name will be cut off in the server list.
sets sv_projectName "Citizen Gaming" # or if you are using a premium key, it can contain one color sets sv_projectName "^6Citizen Gaming"
sets sv_projectDesc "project description"
A string variable containing the description of your project. This should be written as a sentence.
sets sv_projectDesc "Your favorite drug deal simulation community!"
A string variable that contains the server-specific host name. In addition to this, you may want to set
A string variable that can be used to set the server as “private”, making it not possible to join by using the server browser UI (the server connect button will be disabled). In the past, this specific string variable dictated where heartbeats were sent and servers weren’t listed if the address didn’t point to FiveM’s ingress address, this is no longer the case, the server will always post to the default server ingress on startup. In other words, this string variable cannot be used to de-list a server from the master list.
Variance is how likely the user’s id will change for a given provider (i.e. ‘steam’, ‘ip’, or ‘license’).
A console variable as an integer from 1-5 (default 5); from least to most likely to change.
Trust is how unlikely it is for the user’s identity to be spoofed by a malicious client.
A console variable as an integer from 1-5 (default 1); from least to most trustworthy (5 being a method such as external three-way authentication).
A console variable used to block
REQUEST_CONTROL_EVENT routing based on a configurable policy.
Supported modes for this variable are as follows:
- -1: Default, equivalent to 2 at this time, but will also warn in console.
- 0: Off. Also disables the routing bucket/entity lockdown-based policy.
- 1: Blocks control requests to entities controlled by players (currently, occupied vehicles only) that have existed for more than
30000) - hereafter referred to as ‘settled’.
- 2: Blocks control requests to all entities controlled by players.
- 3: Blocks control requests to all entities controlled by players, and any ‘settled’ non-player entities.
- 4: Does not route
In addition, any mode but ‘off’ will have some additional checks as well:
- Control request events can’t be routed across routing buckets.
- Control request events will always be blocked if the sender is in ‘strict’ entity lockdown mode, either by the global mode setting, or their routing bucket being set to such.
A console variable (default
30000 milliseconds) that allows you to set after how long (based on entity creation time in milliseconds) an entity should be blocked from a
REQUEST_CONTROL_EVENT. This will only apply to filter request control modes 1 and 3, which are detailed under
sv_filterRequestControl in this page.
A console command which loads a specfied icon and sets it as the server icon. The icon needs to be a 96x96 PNG file.
Sets the RCon password. This being unset means RCon is disabled.
Sets a Steam Web API key, which is required to allow for Steam identifiers to be returned by the server.
Access control commands
add_ace [principal] [object] [allow|deny]
Adds an access control entry to the server’s access control list.
add_ace group.admin command.potato allow add_ace identifier.steam:110000112345678 command.apple deny
add_principal [child_principal] [parent_principal]
Sets a principal to inherit from another principal.
# makes identifier.steam:110000112345678 inherit from group.admin add_principal identifier.steam:110000112345678 group.admin
remove_ace [principal] [object] [allow|deny]
Removes a specified ACE from the server’s access control list.
remove_ace identifier.steam:110000112345678 command.apple deny
remove_principal [child_principal] [parent_principal]
Removes a specified principal inheritance entry.
remove_principal identifier.steam:110000112345678 group.admin
test_ace [principal] [object]
Tests if a principal is allowed or denied access to a given object.
test_ace group.admin command.adminstuff