example
example

已解决√ 求助 求助!求大神解析

状态
此线程已解决! 转到解决方案...

shangjiefengyun

新用户
认证用户
是这样的,我把esx整合删掉后单纯留下oxmysql,在进入服务器的时候就会一直显示awaiting scripts
请问是什么原因导致的?
急求大神
 

shangjiefengyun

新用户
认证用户
服务器里面有一个我自己写的插件,但是没有涉及到MySQL。
server.cfg配置文件是这样的↓

# # # # # # # # # # # # # # # # # # # # # # # # # # #
# ___ _____ __ _ ___ ___ _ _____ __ #
# | __/ __\ \/ / | | | __/ __| /_\ / __\ \ / / #
# | _|\__ \> < | |__| _| (_ |/ _ \ (__ \ 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 "cfxk_1XOxg11jH42IC8rjxVOEH_TS6xq"
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

## [txAdmin CFG validator]: onesync MUST only be set in the txAdmin settings page.
## [txAdmin CFG validator]: onesync MUST only be set in the txAdmin settings page.
## [txAdmin CFG validator]: onesync MUST only be set in the txAdmin settings page.
# set onesync legacy
set mysql_connection_string "mysql://root:1234567@localhost/games?waitForConnections=true&charset=utf8mb4"
set mysql_ui true


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

## 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
ensure [Bccar]
 

Yann

站长
管理成员
GTAOS管理组
认证卖家
认证用户
本 月 名 人 榜 最 佳
所以到底是什么资源没有被成功加载?
确保写入 ensure basic-gamemode
basic-gamemode用作当客户端地图加载完成后调用spawnmanager的出生玩家,如果没有这个插件玩家可能不能刷出,所以一直在等在脚本的状态。
 

shangjiefengyun

新用户
认证用户
确保写入 ensure basic-gamemode
basic-gamemode用作当客户端地图加载完成后调用spawnmanager的出生玩家,如果没有这个插件玩家可能不能刷出,所以一直在等在脚本的状态。
谢谢大神!
 
状态
此线程已解决! 转到解决方案...
顶部