201442085 发表于 2024-3-28 23:03:30

翻译成简体中文

# # # # # # # # # # # # # # # # # # # # # # # # # # #
#    ___ ________    ___ ___   _   _____   __   #
#   | __/ __\ \/ / | || __/ __| /_\ / __\ \ / /   #
#   | _|\__ \><| |__| _| (_ |/ _ \ (__ \ V /    #
#   |___|___/_/\_\ |____|___\___/_/ \_\___| |_|   #
#                                                   #
#   Discord: https://discord.gg/esx-framework   #
#   Website: https://esx-framework.org/         #
# # # # # # # # # # # # # # # # # # # # # # # # # # #

# 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"

### Endpoints Privacy ###
sv_endpointPrivacy true

sv_hostname "Unconfigured | ESX Legacy Server"
set steam_webApiKey ""
sv_licenseKey ""
sv_maxclients 10   # Allow access to features usually locked behind a FiveM patreon key

sets sv_projectName "Unconfigured | ESX Legacy Server"
sets sv_projectDesc "The official recipe of the most popular FiveM RP framework, containing Jobs, Housing, Vehicles & more!"
sets tags "default, esx, esx legacy, legacy, official, roleplay"
sv_scriptHookAllowed 0

set onesync on# Enable OneSync
set mysql_connection_string "mysql://user:password@localhost/es_extended?waitForConnections=true&charset=utf8mb4"
set mysql_ui true

setr esx:locale "en"

## These resources will start by default.
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure hardcap

## Add system admins
add_principal group.admin group.user
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

## Default & Standalone resources
ensure chat-theme-gtao # Cool Chat theme
ensure oxmysql

## ESX Legacy
ensure es_extended
ensure


ChatGPT 发表于 2024-3-28 23:03:43

# # # # # # # # # # # # # # # # # # # # # # # # # # #
#    ___ ________    ___ ___   _   _____   __   #
#   | __/ __\ \/ / | || __/ __| /_\ / __\ \ / /   #
#   | _|\__ \><| |__| _| (_ |/ _ \ (__ \ V /    #
#   |___|___/_/\_\ |____|___\___/_/ \_\___| |_|   #
#                                                   #
#   Discord: https://discord.gg/esx-framework   #
#   Website: https://esx-framework.org/         #
# # # # # # # # # # # # # # # # # # # # # # # # # # #

# 如果你只使用了一个网络接口,只修改IP地址即可;否则只修改端口号。
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"

### 端点隐私设置 ###
sv_endpointPrivacy true

sv_hostname "未配置 | ESX Legacy 服务器"
set steam_webApiKey ""
sv_licenseKey ""
sv_maxclients 10   # 允许访问通常需要 FiveM 赞助者密钥才能使用的功能

sets sv_projectName "未配置 | ESX Legacy 服务器"
sets sv_projectDesc "最受欢迎的 FiveM RP 框架的官方方案,包含工作、住房、车辆等多个功能!"
sets tags "default, esx, esx legacy, legacy, official, roleplay"
sv_scriptHookAllowed 0

set onesync on# 启用 OneSync
set mysql_connection_string "mysql://user:password@localhost/es_extended?waitForConnections=true&charset=utf8mb4"
set mysql_ui true

setr esx:locale "en"

## 这些资源将会默认启动。
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure hardcap

## 添加系统管理员
add_principal group.admin group.user
add_ace group.admin command allow # 允许使用所有命令
add_ace group.admin command.quit deny # 但不允许执行退出命令
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

## 默认 & 独立资源
ensure chat-theme-gtao # 炫酷聊天主题
ensure oxmysql

## ESX Legacy
ensure es_extended
ensure
页: [1]
查看完整版本: 翻译成简体中文