# --------------------------------------------------------------------------- # Los Santos RP - server configuration # Copy to /opt/fivem/data/server.cfg (install.sh does this for you). # --------------------------------------------------------------------------- endpoint_add_tcp "0.0.0.0:30120" endpoint_add_udp "0.0.0.0:30120" sv_maxclients 48 sv_hostname "Los Santos Roleplay" sets sv_projectName "Los Santos Roleplay" sets sv_projectDesc "Serious roleplay. Custom framework, written from scratch." set onesync on sv_enforceGameBuild 3095 sv_scriptHookAllowed 0 # Licence key and database credentials. Mode 600, never echoed. exec /opt/fivem/data/secrets.cfg # --- resources ------------------------------------------------------------- # Nothing from cfx-server-data is used. The player cap, chat, spawning and # session handling are all implemented in the resources below. ensure rp_db ensure rp_core ensure rp_session ensure rp_loading ensure rp_ui # Diagnostics. Safe to leave on; they only touch their own marker rows. ensure rp_selftest # Driver test suite, off by default: # ensure rp_dbtest # Admin access. Add real identifiers here, e.g. # add_principal identifier.license: group.admin # Deliberately empty: a placeholder like identifier.fivem:1 would grant admin # to whoever actually owns that Cfx account. add_ace group.admin command allow