From 31c75eba93bc5335a735ae48faf2d33c7182a145 Mon Sep 17 00:00:00 2001 From: Philipp Wellner Date: Thu, 23 Nov 2023 21:23:22 +0100 Subject: [PATCH] update config --- fivem/server.cfg | 83 +++++++++++++++++++++++++++++------------------- 1 file changed, 51 insertions(+), 32 deletions(-) diff --git a/fivem/server.cfg b/fivem/server.cfg index 1d98592..9dcd67d 100644 --- a/fivem/server.cfg +++ b/fivem/server.cfg @@ -1,25 +1,22 @@ -# You probably don't want to change these! -# Only change them if you're using a server with multiple network interfaces. +# Only change the IP if you're using a server with multiple network interfaces, otherwise change the port only. endpoint_add_tcp "0.0.0.0:30120" endpoint_add_udp "0.0.0.0:30120" # These resources will start by default. -start mapmanager -start chat -start spawnmanager -start sessionmanager -start fivem -start hardcap -start rconlog -start scoreboard -start playernames - -# This allows players to use scripthook based plugins such as lambda menu. -# Set this to 0 to disallow scripthook. -sv_scriptHookAllowed 1 - -# Uncomment this to enable RCON. Make sure to change the password. -#rcon_password changeme +ensure mapmanager +ensure chat +ensure spawnmanager +ensure sessionmanager +ensure basic-gamemode +ensure hardcap +ensure rconlog + +# This allows players to use scripthook-based plugins such as the legacy Lambda Menu. +# Set this to 1 to allow scripthook. Do note that this does _not_ guarantee players won't be able to use external plugins. +sv_scriptHookAllowed 0 + +# Uncomment this and set a password to enable RCON. Make sure to change the password - it should look like rcon_password "YOURPASSWORD" +#rcon_password "" # A comma-separated list of tags for your server. # For example: @@ -28,10 +25,27 @@ sv_scriptHookAllowed 1 # - sets tags "roleplay, military, tanks" sets tags "default" +# A valid locale identifier for your server's primary language. +# For example "en-US", "fr-CA", "nl-NL", "de-DE", "en-GB", "pt-BR" +sets locale "root-AQ" +# please DO replace root-AQ on the line ABOVE with a real language! :) + # Set an optional server info and connecting banner image url. # Size doesn't matter, any banner sized image will be fine. -#sets banner_detail "http://url.to/image.png" -#sets banner_connecting "http://url.to/image.png" +#sets banner_detail "https://url.to/image.png" +#sets banner_connecting "https://url.to/image.png" + +# Set your server's hostname. This is not usually shown anywhere in listings. +sv_hostname "FXServer, but unconfigured" + +# Set your server's Project Name +sets sv_projectName "Sevenity Suuper Duper Server" + +# Set your server's Project Description +sets sv_projectDesc "Default FXServer requiring configuration" + +# Set Game Build (https://docs.fivem.net/docs/server-manual/server-commands/#sv_enforcegamebuild-build) +#sv_enforceGameBuild 2802 # Nested configs! #exec server_internal.cfg @@ -42,21 +56,26 @@ sets tags "default" # convars which can be used in scripts set temp_convar "hey world!" -# Uncomment this line if you do not want your server to be listed in the server browser. -#sv_master1 "" - -# Want to only allow players authenticated with a third-party provider like Steam? -# Don't forget Social Club is a third party provider too! -#sv_authMaxVariance 1 -#sv_authMinTrust 5 +# Remove the `#` from the below line if you want your server to be listed as 'private' in the server browser. +# Do not edit it if you *do not* want your server listed as 'private'. +# Check the following url for more detailed information about this: +# https://docs.fivem.net/docs/server-manual/server-commands/#sv_master1-newvalue +sv_master1 "" # Add system admins add_ace group.admin command allow # allow all commands add_ace group.admin command.quit deny # but don't allow quit -add_principal identifier.steam:110000112345678 group.admin # add the admin to the group +add_principal identifier.fivem:1 group.admin # add the admin to the group + +# enable OneSync (required for server-side state awareness) +set onesync on + +# Server player slot limit (see https://fivem.net/server-hosting for limits) +sv_maxclients 10 -# Hide player endpoints in external log output. -sv_endpointprivacy true +# Steam Web API key, if you want to use Steam authentication (https://steamcommunity.com/dev/apikey) +# -> replace "" with the key +set steam_webApiKey "" -# Server player slot limit (must be between 1 and 32) -sv_maxclients 32 \ No newline at end of file +# License key for your server (https://keymaster.fivem.net) +sv_licenseKey CHANGEME_LICENSE \ No newline at end of file