FiveRP: the server from the hosting account, not the earlier one
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>
This commit is contained in:
co-authored by
Claude Opus 5
parent
71856b15e9
commit
c857979a55
+31
-31
@@ -1,40 +1,40 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Los Santos RP - server configuration
|
||||
# Copy to /opt/fivem/data/server.cfg (install.sh does this for you).
|
||||
# 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"
|
||||
|
||||
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 steam_webApiKey "none"
|
||||
sv_maxclients 32
|
||||
sv_hostname "FiveRP"
|
||||
sets sv_projectName "FiveRP"
|
||||
sets sv_projectDesc "FiveRP Server"
|
||||
sets tags "roleplay"
|
||||
sv_enforceGameBuild 2699
|
||||
|
||||
set onesync on
|
||||
sv_enforceGameBuild 3095
|
||||
sv_scriptHookAllowed 0
|
||||
# Free key from https://keymaster.fivem.net - keep it out of git
|
||||
sv_licenseKey "cfxk_your_key_here"
|
||||
|
||||
# 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:<licence hash> 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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user