Wrong server was published before. This is the one that runs on the hosting account the video was made on: FiveRP - two-step registration (account, then an identity printed onto a passport), login that returns you to your resident, and a loading screen driven by the game's own streaming events. resources/[local]/fiverp-auth NUI + scrypt hashes + oxmysql resources/[local]/fiverp-characters identity, character load, spawn resources/[local]/fiverp-loadscreen loading screen sql/schema.sql accounts, characters docs/DESIGN.md the design system every screen follows docs/screens/ shot from the live server Only our own code is in here. cfx-server-data and oxmysql are fetched by install.sh instead of being vendored, which keeps the repo at 3.7 MB. install.sh does the whole box in one command: recommended FXServer build, cfx-server-data, oxmysql, MariaDB with the schema, resources, server.cfg (mode 600 - it carries the key and the database password), boot entry, then it waits for the Cfx registration. Tested end to end on a spare install root: 29 resources scanned, database and schema created, and it stopped exactly where a wrong licence key should stop it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
# ---------------------------------------------------------------------------
|
|
# FiveRP - server configuration
|
|
# install.sh writes this to server-data/server.cfg with your own values.
|
|
# ---------------------------------------------------------------------------
|
|
|
|
endpoint_add_tcp "0.0.0.0:30120"
|
|
endpoint_add_udp "0.0.0.0:30120"
|
|
|
|
set steam_webApiKey "none"
|
|
sv_maxclients 32
|
|
sv_hostname "FiveRP"
|
|
sets sv_projectName "FiveRP"
|
|
sets sv_projectDesc "FiveRP Server"
|
|
sets tags "roleplay"
|
|
sv_enforceGameBuild 2699
|
|
|
|
# Free key from https://keymaster.fivem.net - keep it out of git
|
|
sv_licenseKey "cfxk_your_key_here"
|
|
|
|
add_ace group.admin command allow
|
|
add_ace group.admin command.quit deny
|
|
|
|
# oxmysql connection - the password is generated by install.sh
|
|
set mysql_connection_string "mysql://fiverp:your_password@localhost/fiverp?charset=utf8mb4"
|
|
|
|
# Loading screen first, database before anything that queries it
|
|
ensure fiverp-loadscreen
|
|
ensure oxmysql
|
|
|
|
ensure mapmanager
|
|
ensure chat
|
|
ensure spawnmanager
|
|
ensure sessionmanager
|
|
# basic-gamemode force-respawns on map start, which would drop players into the
|
|
# world behind the auth screen. fiverp-auth owns spawning instead.
|
|
ensure hardcap
|
|
ensure rconlog
|
|
|
|
ensure fiverp-auth
|
|
ensure fiverp-characters
|