mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:01:22 +00:00
Update server.cfg
This commit is contained in:
+9
-4
@@ -16,6 +16,9 @@
|
||||
endpoint_add_tcp "0.0.0.0:30120"
|
||||
endpoint_add_udp "0.0.0.0:30120"
|
||||
|
||||
### Endpoints Privacy ###
|
||||
sv_endpointPrivacy true
|
||||
|
||||
sv_hostname "Unconfigured ESX Legacy Server"
|
||||
set steam_webApiKey ""
|
||||
sv_licenseKey ""
|
||||
@@ -29,6 +32,10 @@ sv_scriptHookAllowed 0
|
||||
|
||||
set onesync legacy # Infinity is not recommended for ESX
|
||||
set mysql_connection_string "mysql://user:password@localhost/es_extended?waitForConnections=true&charset=utf8mb4"
|
||||
set onesync_enabledBeyond true
|
||||
set onesync_forceMigration true
|
||||
set onesync_distanceCulling true
|
||||
set onesync_distanceCullVehicles true
|
||||
|
||||
|
||||
## These resources will start by default.
|
||||
@@ -36,6 +43,7 @@ ensure mapmanager
|
||||
ensure chat
|
||||
ensure spawnmanager
|
||||
ensure sessionmanager
|
||||
ensure hardcap
|
||||
|
||||
## Add system admins
|
||||
add_ace group.admin command allow # allow all commands
|
||||
@@ -46,10 +54,7 @@ add_ace resource.es_extended command.remove_principal allow
|
||||
add_ace resource.es_extended command.stop allow
|
||||
|
||||
## Default & Standalone resources
|
||||
ensure chat
|
||||
ensure chat-theme-gtao # Cool Chat theme
|
||||
ensure spawnmanager
|
||||
ensure hardcap
|
||||
ensure oxmysql
|
||||
|
||||
## ESX Legacy
|
||||
@@ -58,4 +63,4 @@ ensure [esx]
|
||||
|
||||
## ESX Addons
|
||||
ensure [esx_addons]
|
||||
stop basic-gamemode #remove this if you dont want to use multicharacter
|
||||
stop basic-gamemode #remove this if you dont want to use multicharacter
|
||||
|
||||
Reference in New Issue
Block a user