commit d9205f5acde4c54646723b51e3db857b4d9cf27b Author: kentbakk Date: Sat Apr 4 22:01:37 2026 +0200 Add server.cfg diff --git a/server.cfg b/server.cfg new file mode 100644 index 0000000..f0d306b --- /dev/null +++ b/server.cfg @@ -0,0 +1,104 @@ +##THIS IS A DEV ONLY CONFIG IT IS NOT REPRESENTATIVE OF THE PRODUCTION SERVER.cfg + +## You CAN edit the following: +endpoint_add_tcp "0.0.0.0:30002" +endpoint_add_udp "0.0.0.0:30002" +sv_maxclients 10 +set steam_webApiKey "none" +sets tags "default, deployer, qbox" + +## You MAY edit the following: +sv_licenseKey "cfxk_1AMqBQcBKakBjmj8KCaRn_PjSMQ" +sv_hostname "Rutshire Dev" +sets sv_projectName "Rutshire Dev" +sets sv_projectDesc "Rutshire Dev" +sets locale "root-AQ" # replace with your language and location code, like en-US, pt-BR, etc +load_server_icon myLogo.png +set sv_enforceGameBuild 3570 +#set mysql_connection_string "mysql://s56_economy:7J3Ay.HVTTxX5cyLtc1T^839@game-de-01.jessopshosting.com:3306/s56_economy?charset=utf8mb4" +set mysql_connection_string "mysql://u56_kaz28RikNv:zn.uYnWs.djK5tl!YWCOl^rt@game-de-01.jessopshosting.com:3306/s56_economy" +set mysql_ui true + +# Chat config +set resources_useSystemChat true +set qbx_chat:joinMessage "^2%s joined the server" +set qbx_chat:quitMessage "^1%s left the server (%s)" + +# Voice config +exec voice.cfg + + +# Qbox config +setr qb_locale "en" +setr qbx:enableBridge "true" # When true, enables the qb-core bridge for qbx_core +set qbx:enableQueue "true" # When true, enables qbx_core's built-in queue system +set qbx:bucketLockdownMode "inactive" # Sets the lockdown mode as inactive read here: https://docs.fivem.net/natives/?_0xA0F2201F +set qbx:discordLink "" # Sets the servers discord link +set qbx:max_jobs_per_player 1 # Sets the number of jobs per player +set qbx:max_gangs_per_player 1 # Sets the number of gangs per player +set qbx:setjob_replaces "true" # When true, the SetJob function deletes the previous primary job of the player before setting the new one +set qbx:setgang_replaces "true" # When true, the SetGang function deletes the previous primary gang of the player before setting the new one +set qbx:cleanPlayerGroups "true" # When true, on server startup, the database will be checked for any groups/grades players have that are not in config files and removes them from the database if so +set qbx:allowMethodOverrides "true" # When true, enables the ability of resources to override existing methods in the player object +set qbx:disableOverrideWarning "false" # When true, disables warnings from resources overriding existing methods in the player object +setr qbx:enableVehiclePersistence "false" # When true, player vehicles marked for persistence will be respawned when deleted +setr qbx:vehiclePersistenceType "semi" # When "full", player vehicles will also be respawned after server restarts, when "semi", they will only respawn when deleted +set qbx:acknowledge "true" # When true, disables the default service message +setr qbx:enableGroupManagement "true" # When true, allows bosses to manage job/gang grades. Specifically the grade name. + +# Message displayed to players in the chat after loading in +setr qbx:motd "" + + +# Renewed-Weathersync config +setr weather_disablecd true + +# Ox resources config +exec ox.cfg + +# NPWD config +set npwd:framework "qbx" +# fill them in if you want extra phone functionality https://projecterror.dev/docs/npwd/start/installation#setting-up-camera-functionality +set SCREENSHOT_BASIC_TOKEN "" +set NPWD_AUDIO_TOKEN "" + +# loadscreen config +setr loadscreen:externalShutdown true +set loadscreen:primaryColor "#f1e542" +set loadscreen:shadowColor "#1a18077f" + +# These resources will start by default. +ensure mapmanager +ensure chat +ensure spawnmanager +ensure sessionmanager +stop basic-gamemode +ensure hardcap +ensure baseevents + +# Qbox & Extra stuff +ensure ox_lib +ensure qbx_core +ensure ox_target +ensure [ox] +ensure [qbx] +ensure [standalone] +ensure [voice] +ensure [assets] + +ensure [npwd-apps] +ensure qbx_npwd +ensure npwd + +ensure [Astral] +ensure [Rutshire] + +## Permissions ## +add_principal identifier.fivem:2710979 group.admin #kentbakk +add_principal identifier.discord:301799965989011458 group.admin #kentbakk +add_principal identifier.discord:288722314135339010 group.admin #kieren +add_principal identifier.discord:824763928596578304 group.admin #campbell +exec permissions.cfg + +## Miscellaneous ## +exec misc.cfg