mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-28 23:01:26 +00:00
chore: Reorganise directories; include a sample server.cfg
This commit is contained in:
+57
@@ -0,0 +1,57 @@
|
||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||
# ███████╗███████╗██╗ ██╗ ██╗ ███████╗ ██████╗ █████╗ ██████╗██╗ ██╗ #
|
||||
# ██╔════╝██╔════╝╚██╗██╔╝ ██║ ██╔════╝██╔════╝ ██╔══██╗██╔════╝╚██╗ ██╔╝ #
|
||||
# █████╗ ███████╗ ╚███╔╝ ██║ █████╗ ██║ ███╗███████║██║ ╚████╔╝ #
|
||||
# ██╔══╝ ╚════██║ ██╔██╗ ██║ ██╔══╝ ██║ ██║██╔══██║██║ ╚██╔╝ #
|
||||
# ███████╗███████║██╔╝ ██╗ ███████╗███████╗╚██████╔╝██║ ██║╚██████╗ ██║ #
|
||||
# ╚══════╝╚══════╝╚═╝ ╚═╝ ╚══════╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ #
|
||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||
# Development Discord: https://discord.gg/cNx6HF9P5J
|
||||
|
||||
# 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"
|
||||
|
||||
|
||||
sv_hostname "Unconfigured ESX Server"
|
||||
set steam_webApiKey "none"
|
||||
sv_licenseKey ""
|
||||
sv_maxclients 8 # Allow access to features usually locked behind a FiveM patreon key
|
||||
|
||||
sets sv_projectName "ESX Legacy"
|
||||
sets sv_projectDesc ""
|
||||
sets locale "root-AQ"
|
||||
sets tags "default, esx,"
|
||||
|
||||
set onesync legacy # Not recommended to use Infinity with ESX
|
||||
set mysql_connection_string "mysql://user:password@localhost/es_extended?waitForConnections=true&charset=utf8mb4"
|
||||
|
||||
|
||||
## These resources will start by default.
|
||||
ensure mapmanager
|
||||
ensure chat
|
||||
ensure spawnmanager
|
||||
ensure sessionmanager
|
||||
|
||||
## 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_ace resource.es_extended command.add_ace allow
|
||||
add_ace resource.es_extended command.add_principal allow
|
||||
add_ace resource.es_extended command.remove_principal allow
|
||||
add_ace resource.es_extended command.stop allow
|
||||
|
||||
## ESX Legacy
|
||||
ensure mysql-async
|
||||
ensure cron
|
||||
ensure instance
|
||||
ensure skinchanger
|
||||
ensure es_extended
|
||||
ensure esx_menu_default
|
||||
ensure esx_menu_dialog
|
||||
ensure esx_menu_list
|
||||
ensure esx_identity
|
||||
ensure esx_skin
|
||||
|
||||
## ESX Addons
|
||||
ensure [esx_addons] # may cause issues with load order, try to start resources by name
|
||||
Reference in New Issue
Block a user