eggs/gta/fivem/server.cfg

82 lines
2.7 KiB
INI
Raw Normal View History

### AUTOMATICALY SET BY PTERODACTYL ###
# Only change the IP if you're using a server with multiple network interfaces, otherwise change the port only.
2018-07-12 04:41:33 +08:00
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
2021-05-31 15:21:50 +08:00
# Server player slot limit (see https://fivem.net/server-hosting for limits)
sv_maxclients 48
2018-07-12 04:41:33 +08:00
# Steam Web API key, if you want to use Steam authentication (https://steamcommunity.com/dev/apikey)
# -> replace "" with the key
set steam_webApiKey ""
2018-07-12 04:41:33 +08:00
# License key for your server (https://keymaster.fivem.net)
set sv_licenseKey
########################################
# These resources will start by default.
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure fivem
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:
# - sets tags "drifting, cars, racing"
# Or:
# - sets tags "roleplay, military, tanks"
2018-07-12 04:41:33 +08:00
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 "https://url.to/image.png"
#sets banner_connecting "https://url.to/image.png"
2018-07-12 04:41:33 +08:00
2021-05-31 15:21:50 +08:00
# Set your server's hostname
sv_hostname "New FiveM Server with Pterodactyl"
# Set your server's Project Name
sets sv_projectName "My Pterodactyl Project"
# Set your server's Project Description
sets sv_projectDesc "Default Pterodactyl requiring configuration"
# Nested configs!
#exec resources.cfg
2018-07-12 04:41:33 +08:00
# Loading a server icon (96x96 PNG file)
2018-07-12 04:41:33 +08:00
#load_server_icon myLogo.png
# convars which can be used in scripts
#set temp_convar "hey world!"
2018-07-12 04:41:33 +08:00
# Uncomment this line if you do not want your server to be listed in the server browser.
# Do not edit it if you *do* want your server listed.
2018-07-12 04:41:33 +08:00
#sv_master1 ""
# Add system admins
2018-07-12 04:41:33 +08:00
add_ace group.admin command allow # allow all commands
add_ace group.admin command.quit deny # but don't allow quit
add_principal identifier.fivem:1 group.admin # add the admin to the group
2018-07-12 04:41:33 +08:00
# Hide player endpoints in external log output.
sv_endpointprivacy true
2018-07-12 04:41:33 +08:00
2021-05-31 15:21:50 +08:00
# enable OneSync (required for server-side state awareness)
set onesync on