SixM
Single player ↗

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

KeyValueDefaultWhat it does
endpointip:port0.0.0.0:41760where 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_nombretextServidor SixMname in the list and in the launcher
sv_modotextlibregame mode shown in the list (rol, libre...)
sv_maximo1–25632slots
sv_ticks1–6020times per second the server distributes positions and runs resources
sv_esperaseconds10if there is no word from a player for this long, they are kicked
lista_publica1 / 00appears in the public list of this website and the launcher
aparicionx 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_cargaresource—the folder of a resource with its index.html, which the launcher shows while loading (Interfaces)
admintestigo (hex)—one administrator per line (Administrators)
permitir_mods1 / 00lets 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_entidades1 / 00SixM's engine creates, with the game's own functions, the other players' peds and the resources' peds, without ScriptHook VI. Experimental
voz1 / 01proximity voice chat: you hear whoever is nearby, with volume by distance and side by where each one faces. Everything goes through the server
aseguraresource—starts a resource from recursos/<name>/ with the server, in this order (each one starts its dependencies first)
execfile—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:

FiveMSixM
ensure, startasegura (ensure)
sv_hostnamesv_nombre
sv_maxclientssv_maximo
endpoint_add_udpendpoint
execexec

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.