Add server.cfg
This commit is contained in:
77
server.cfg
Normal file
77
server.cfg
Normal file
@@ -0,0 +1,77 @@
|
||||
# ____ ____ _____
|
||||
# / __ \| _ \ / ____|
|
||||
# | | | | |_) | | ___ _ __ ___
|
||||
# | | | | _ <| | / _ \| '__/ _ \
|
||||
# | |__| | |_) | |___| (_) | | | __/
|
||||
# \___\_\____/ \_____\___/|_| \___|
|
||||
|
||||
## FiveM Documentation
|
||||
## https://aka.cfx.re/server-commands
|
||||
|
||||
## QBCore Documentation
|
||||
## https://docs.qbcore.org
|
||||
|
||||
## You CAN edit the following:
|
||||
endpoint_add_tcp "0.0.0.0:30002"
|
||||
endpoint_add_udp "0.0.0.0:30002"
|
||||
sv_maxclients 48
|
||||
set steam_webApiKey "none"
|
||||
sets tags "default, deployer, qbcore, qb-core"
|
||||
|
||||
## You MAY edit the following:
|
||||
sv_licenseKey "cfxk_1AMqBQcBKakBjmj8KCaRn_PjSMQ"
|
||||
sv_hostname "Urban Response built with QBCore Framework by JericoFx & Kakarot & Hamy!"
|
||||
sets sv_projectName "[QBCore Framework] Urban Response"
|
||||
sets sv_projectDesc "An advanced FiveM RP framework including jobs, gangs, housing & more!"
|
||||
sets locale "root-AQ" # replace with your language and location code, like en-US, pt-BR, etc
|
||||
load_server_icon myLogo.png
|
||||
sv_enforceGameBuild 3095 #DLC The Chop Shop
|
||||
set resources_useSystemChat true
|
||||
set mysql_connection_string "mysql://u37_M8o9OimrvP:zvhLdF=6H+uKsN2230pg3!cL@node2.jessopshosting.com/s37_Bob?charset=utf8mb4"
|
||||
|
||||
# Voice config
|
||||
setr voice_useNativeAudio true
|
||||
setr voice_useSendingRangeOnly true
|
||||
setr voice_defaultCycle "GRAVE"
|
||||
setr voice_defaultVolume 0.3
|
||||
setr voice_enableRadioAnim 1
|
||||
setr voice_syncData 1
|
||||
|
||||
# QBCore locale config
|
||||
setr qb_locale "en"
|
||||
|
||||
# QBCore UseTarget
|
||||
setr UseTarget false
|
||||
|
||||
# These resources will start by default.
|
||||
ensure mapmanager
|
||||
ensure chat
|
||||
ensure spawnmanager
|
||||
ensure sessionmanager
|
||||
ensure basic-gamemode
|
||||
ensure hardcap
|
||||
ensure baseevents
|
||||
|
||||
# QBCore & Extra stuff
|
||||
ensure qb-core
|
||||
ensure [qb]
|
||||
ensure [standalone]
|
||||
ensure [voice]
|
||||
ensure [defaultmaps]
|
||||
ensure [rutshire]
|
||||
|
||||
## Permissions ##
|
||||
add_ace group.admin command allow # allow all commands
|
||||
add_principal identifier.fivem:6670472 group.admin #CharlesClifford
|
||||
add_principal identifier.discord:824763928596578304 group.admin #CharlesClifford
|
||||
|
||||
# Resources
|
||||
add_ace resource.qb-core command allow # Allow qb-core to execute commands
|
||||
|
||||
# Gods
|
||||
add_ace qbcore.god command allow # Allow all commands
|
||||
|
||||
# Inheritance
|
||||
add_principal qbcore.god group.admin # Allow gods access to the main admin group used to get all default permissions
|
||||
add_principal qbcore.god qbcore.admin # Allow gods access to admin commands
|
||||
add_principal qbcore.admin qbcore.mod # Allow admins access to mod commands
|
||||
Reference in New Issue
Block a user