134 lines
6.1 KiB
INI
134 lines
6.1 KiB
INI
|
|
#
|
||
|
|
# ██████╗ ██████╗ ██████╗ ██████╗ ██████╗ ███████╗
|
||
|
|
# ██╔═══██╗██╔══██╗ ██╔════╝██╔═══██╗██╔══██╗██╔════╝
|
||
|
|
# ██║ ██║██████╔╝█████╗██║ ██║ ██║██████╔╝█████╗
|
||
|
|
# ██║▄▄ ██║██╔══██╗╚════╝██║ ██║ ██║██╔══██╗██╔══╝
|
||
|
|
# ╚██████╔╝██████╔╝ ╚██████╗╚██████╔╝██║ ██║███████╗
|
||
|
|
# ╚══▀▀═╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝
|
||
|
|
#
|
||
|
|
# ██████╗ ███████╗██████╗ ██╗ ██╗ █████╗ ██╗ ██╗ ███████╗██╗ ██╗
|
||
|
|
# ██╔══██╗██╔════╝██╔══██╗ ██║ ██║██╔══██╗██║ ██║ ██╔════╝╚██╗ ██╔╝
|
||
|
|
# ██████╔╝█████╗ ██║ ██║ ██║ ██║███████║██║ ██║ █████╗ ╚████╔╝
|
||
|
|
# ██╔══██╗██╔══╝ ██║ ██║ ╚██╗ ██╔╝██╔══██║██║ ██║ ██╔══╝ ╚██╔╝
|
||
|
|
# ██║ ██║███████╗██████╔╝ ╚████╔╝ ██║ ██║███████╗███████╗███████╗ ██║
|
||
|
|
# ╚═╝ ╚═╝╚══════╝╚═════╝ ╚═══╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝ ╚═╝
|
||
|
|
#
|
||
|
|
|
||
|
|
## 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:30110"
|
||
|
|
endpoint_add_udp "0.0.0.0:30110"
|
||
|
|
sv_maxclients 8
|
||
|
|
set steam_webApiKey "00E9BEA0BE4FE5A1766E47EDA66D524E"
|
||
|
|
# sets tags "default, deployer, qbcore, qb-core"
|
||
|
|
sets Anti-DDOS "Enabled"
|
||
|
|
sets Developer "biggesthreat (cata)"
|
||
|
|
|
||
|
|
## You MAY edit the following:
|
||
|
|
# sv_master ""
|
||
|
|
sv_hostname "[PRODUCTION] Red Valley Roleplay"
|
||
|
|
sets sv_projectName "[PRODUCTION] Red Valley Roleplay"
|
||
|
|
sets sv_projectDesc "Advanced Roleplay"
|
||
|
|
sets Discord "discord.gg/RewpcAD9EJ"
|
||
|
|
sets locale "ro-RO"
|
||
|
|
setr ox:locale "ro"
|
||
|
|
load_server_icon server-icon.png
|
||
|
|
# set mysql_connection_string "mysql://root@localhost/red-valley?charset=utf8mb4"
|
||
|
|
set mysql_connection_string "server=127.0.0.1;database=red-valley;userid=root;"
|
||
|
|
|
||
|
|
##mAdmin Port
|
||
|
|
|
||
|
|
set mAdminPort 40130
|
||
|
|
|
||
|
|
## Securitate
|
||
|
|
set sv_enforceGameBuild 3570
|
||
|
|
# sv_pureLevel 1 # pune la fiveM client shortcut path:\FiveM.exe -pure_1
|
||
|
|
sv_requestParanoia 2 # https://docs.fivem.net/docs/server-manual/server-commands/#sv_requestparanoia-newvalue
|
||
|
|
# sv_forceIndirectListing true
|
||
|
|
# sv_listingIpOverride "fivem.live:30120"
|
||
|
|
# sv_enableNetworkedSounds false
|
||
|
|
# sv_enableNetworkedPhoneExplosions false
|
||
|
|
rcon_password "passrcon!@#" # pentru folosire cu add_ace resource.console command allow
|
||
|
|
|
||
|
|
# OneSync - managed via txAdmin settings page
|
||
|
|
# Note: only set onesync in txAdmin, not here, to avoid validator warnings
|
||
|
|
set onesync on
|
||
|
|
set onesync_enabled 1
|
||
|
|
onesync_enableInfinity 1
|
||
|
|
onesync_enableBeyond 1
|
||
|
|
set onesync_population false
|
||
|
|
|
||
|
|
## 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 "ro"
|
||
|
|
|
||
|
|
## QBCore UseTarget
|
||
|
|
setr UseTarget false
|
||
|
|
|
||
|
|
## Custom resources
|
||
|
|
exec resources.cfg
|
||
|
|
|
||
|
|
## License Key
|
||
|
|
exec license.cfg
|
||
|
|
|
||
|
|
## Permissions ##
|
||
|
|
add_ace group.admin command allow # allow all commands
|
||
|
|
add_principal identifier.fivem:44269 group.admin #Kotzu
|
||
|
|
add_principal identifier.fivem:6428737 group.admin #cata
|
||
|
|
add_principal identifier.fivem:6428737 qbcore.god #cata
|
||
|
|
# Note: duplicate identifier.fivem:6428737 entries removed from below
|
||
|
|
add_principal identifier.steam:11000013f508340 group.admin #rausse
|
||
|
|
add_principal identifier.steam:11000013f508340 qbcore.god #rausse
|
||
|
|
add_principal identifier.fivem:16062886 group.admin #kotzu pc
|
||
|
|
add_principal identifier.fivem:16062886 qbcore.god #kotzu pc
|
||
|
|
|
||
|
|
## Resources
|
||
|
|
add_ace resource.qb-core command allow # Allow qb-core to execute commands
|
||
|
|
add_ace resource.console command allow # consola colorata in afara clientului (test)
|
||
|
|
|
||
|
|
## Gods
|
||
|
|
add_ace qbcore.god command allow # Allow all commands
|
||
|
|
|
||
|
|
##clothing
|
||
|
|
##add_ace resource.rcore_clothing command.add_ace allow
|
||
|
|
##add_ace resource.rcore_clothing command.add_principal allow
|
||
|
|
##add_ace resource.rcore_clothing command.remove_principal allow
|
||
|
|
|
||
|
|
|
||
|
|
## 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
|
||
|
|
|
||
|
|
# (moved to main Permissions block above)
|
||
|
|
|
||
|
|
## Prison
|
||
|
|
add_ace resource.rcore_prison command.add_ace allow
|
||
|
|
add_ace resource.rcore_prison command.remove_ace allow
|
||
|
|
add_ace resource.rcore_prison command.add_principal allow
|
||
|
|
add_ace resource.rcore_prison command.remove_principal allow
|
||
|
|
|
||
|
|
##mAdmin Permission
|
||
|
|
add_ace resource.mAdmin command allow
|
||
|
|
|
||
|
|
## vMenu Clothing Permission
|
||
|
|
add_principal identifier.license:2b2bda27699069caca63cb4e45a0004c8f6356ef group.admin
|
||
|
|
|
||
|
|
set luxu_admin_api_key "7ff2170d-86e2-46bd-a358-5441a73305f5"
|
||
|
|
set mumble_allowExternalConnections true
|
||
|
|
add_ace resource.luxu_admin command allow
|
||
|
|
|
||
|
|
## Tebex Implementation
|
||
|
|
# sv_tebexSecret 5e16ba619bfc0a568092b2e1e7eb6482b093266e
|