Configuration and Resources
server.cfg basics
Section titled “server.cfg basics”The main configuration is normally server.cfg. Common entries include:
endpoint_add_tcp "0.0.0.0:30120"endpoint_add_udp "0.0.0.0:30120"sv_maxclients 32set onesync onensure mapmanagerensure chatUse the port assigned in the Game Panel. Do not bind a different port without an allocation from Jessops Hosting.
Install a resource
Section titled “Install a resource”- Stop the server.
- Upload the resource folder into
resources. - Confirm
fxmanifest.luaor__resource.luais directly inside that folder. - Add
ensure resource-nametoserver.cfg. - Start and check for manifest, dependency, or script errors.
Folders wrapped in square brackets group resources; they are not resource names to ensure.
Resource order and dependencies
Section titled “Resource order and dependencies”Start libraries and framework dependencies before resources that use them. For example, start the database library and framework before framework scripts. Follow the resource author’s documented order.
Add ACE permissions
Section titled “Add ACE permissions”Use Cfx.re identifiers rather than display names. A basic example is:
add_ace group.admin command allowadd_principal identifier.fivem:123456 group.adminAdjust permissions to the admin system in use. Avoid granting broad command access to every player.