servidor.cfg reference
All the keys of servidor.cfg, their default values and the FiveM names that also work.
servidor.cfg lives in the server's data folder (datos-servidor/). The panel's wizard writes it the first time, and you change it from the Configuración (Settings) tab of the panel or by hand.
- One command per line:
key value. Quotes around the value are removed (sv_nombre "Mi servidor"). #or//at the start of a line comments it out.- An unknown key or an invalid value is an error: the server does not start and tells you the line. The panel checks it before saving.
Example
endpoint 0.0.0.0:41760
sv_nombre "Vice Roleplay"
sv_modo "rol"
sv_maximo 48
sv_ticks 20
sv_espera 10
lista_publica 1
aparicion 100.0 -250.0 12.5 0
pantalla_carga carga
admin 0123456789abcdef
asegura sixm-base
asegura aparecer
asegura vaciar
asegura sixm-rp
asegura tiendas
asegura npcs
asegura telefono
asegura anuncios
asegura aspecto
asegura gestos
asegura menu
Keys
| Key | Value | Default | What it does |
|---|---|---|---|
endpoint | ip:port | 0.0.0.0:41760 | where it listens. UDP for the game and TCP on the same port (loading screen, information for the launcher, voice). Change only the port unless the machine has several networks |
sv_nombre | text | Servidor SixM | name in the list and in the launcher |
sv_modo | text | libre | game mode shown in the list (rol, libre...) |
sv_maximo | 1–256 | 32 | slots |
sv_ticks | 1–60 | 20 | times per second the server distributes positions and runs resources |
sv_espera | seconds | 10 | if there is no word from a player for this long, they are kicked |
lista_publica | 1 / 0 | 0 | appears in the public list of this website and the launcher |
aparicion | x y z rumbo | — | where each player spawns on joining (heading in radians). Without it, they stay wherever they are. /pos in the chat gives you the line for where you are standing |
pantalla_carga | resource | — | the folder of a resource with its index.html, which the launcher shows while loading (Interfaces) |
admin | testigo (hex) | — | one administrator per line (Administrators) |
permitir_mods | 1 / 0 | 0 | lets players use ScriptHook VI and their own mods. Without it, people join with only SixM's engine and the server's resources (administrators always get their mods) |
crear_entidades | 1 / 0 | 0 | SixM's engine creates, with the game's own functions, the other players' peds and the resources' peds, without ScriptHook VI. Experimental |
voz | 1 / 0 | 1 | proximity voice chat: you hear whoever is nearby, with volume by distance and side by where each one faces. Everything goes through the server |
asegura | resource | — | starts a resource from recursos/<name>/ with the server, in this order (each one starts its dependencies first) |
exec | file | — | includes another .cfg at that point, with its path relative to this one (up to 8 levels) |
Yes/no values: 1, si, sí or true for yes. For voz, 0, no or false for no.
FiveM names
For anyone coming from a FiveM server.cfg, these work the same:
| FiveM | SixM |
|---|---|
ensure, start | asegura (ensure) |
sv_hostname | sv_nombre |
sv_maxclients | sv_maximo |
endpoint_add_udp | endpoint |
exec | exec |
And these are accepted but do nothing: endpoint_add_tcp (TCP always uses the port of endpoint), sv_licenseKey, sv_scriptHookAllowed (use permitir_mods), set, sets and setr.
Keys that no longer exist
partida, guiones_fuera, guiones_tras_fundido and blips_del_juego were removed: what sets the game's story aside (its scripts, the opening scene, the map markers) and the save that everyone starts from are fixed in SixM, the same on every server. If your servidor.cfg has them, the server does not start and asks you to delete that line.
The console
What you type in the server console (or the panel's) is covered in Server console.