# ── Identity & discovery
sv_hostname [EN] Skyline RP | Serious | Jobs | Heists | Weekly Events
sets sv_projectName Skyline RP
sets sv_projectDesc Serious roleplay • jobs • heists • active staff • nightly events
sets locale en-US
# Tags show on the Cfx.re list; keep it honest and searchable
sets tags roleplay, qbcore, english, serious-rp, jobs, economy, heists, active-staff
# ── Player slots & OneSync
sv_maxclients 64
onesync on
# ── Networking
endpoint_add_tcp 0.0.0.0:30120
endpoint_add_udp 0.0.0.0:30120
# Some networks/routers require this legacy query port for discovery pings
# (open/forward UDP 30110 if your server card doesn’t show reliably)
# No need to bind it explicitly here—just forward it on your firewall.
# ── Security & privacy
sv_scriptHookAllowed 0
sv_endpointprivacy true
# ── Branding on connect (optional; 512x512 PNG recommended)
load_server_icon server.png
sets banner_connecting https://yourcdn.example.com/banners/connecting.png
sets banner_detail https://yourcdn.example.com/banners/detail.png
# ── Discord invite (shows on server detail)
sets Discord discord.gg/skyline
# ── Game build (optional; comment out if unsure)
# sv_enforceGameBuild 3095
# ── Your Cfx key (keep secret; don’t commit to git)
sv_licenseKey YOUR_KEYMASTER_KEY
resources/
[core]/
ox_lib/
[framework]/
qb-core/
[ui]/
loading-screen/
[jobs]/
garbage/
trucker/
[police]/
mdt/
[ems]/
hospital/
[maps]/
pd_mlo/
hospital_mlo/
# Core
ensure ox_lib
# Framework
ensure qb-core
# UI
ensure loading-screen
# Content
ensure garbage
ensure trucker
ensure mdt
ensure hospital
# Maps last
ensure pd_mlo
ensure hospital_mlo
# Groups
add_ace group.admin command allow
add_ace group.mod command allow
add_ace group.mod command.quit deny # example of limiting risky commands
# Link people to groups (replace with your identifiers)
add_principal identifier.license:1100001AAAABBBB group.admin
add_principal identifier.license:1100001CCCCDDDD group.mod
# Example: allow basic moderation command set for mods only
add_ace group.mod command.kick allow
add_ace group.mod command.say allow
fx_version 'cerulean'
game 'gta5'
ui_page 'html/index.html'
files {
'html/index.html',
'html/style.css',
'html/logo.png'
}
client_script 'client.lua' -- optional (music/rotating tips)
Add a low‑friction whitelist (role‑based / questionnaire). Start simple.
-- /announce message here
RegisterCommand('announce', function(src, args)
if src ~= 0 then return end -- console only (or add your ACE check)
local msg = table.concat(args, ' ')
TriggerClientEvent('chat:addMessage', -1, { args = { '^3EVENT', msg } })
end)