Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在群组服务端上出现的问题:无法和ChestCommands配合 #1417

Open
2 tasks done
Leoparking opened this issue Nov 21, 2023 · 3 comments
Open
2 tasks done
Labels
type: 🐛 bug A confirmed bug in the plugin which needs to get resolved

Comments

@Leoparking
Copy link

Leoparking commented Nov 21, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Are you using forge?

Yes

Installed conforming to our guide?

  • I have read the installation guide and performed all steps

Describe your issue

此前,我们服务器采用单端,SkinsRestorer以独立模式运行,我们使用ChestCommands为部分指令做了快捷菜单,点击即可设置皮肤,也非常有效。

近期我们多个服务器组成群组之后,使用BC作为跨服传送的中转站,但皮肤插件不工作了。按照说明,将插件设为“代理”模式,功能恢复,但我们皮肤菜单里的所有按钮全部失效,全部提示未知指令,玩家只能手动输入指令来设置自己的皮肤。

随后我尝试强制禁用代理模式,按照说明在皮肤插件目录下创建一个disableProxyModel.txt,但并没有用,反而使得插件彻底失效,手动输入的指令也提示未知指令了,仿佛它没有被加载,但实际上它已被正确的加载

How can we reproduce what you got?

1.使用ChestCommands插件创建一个皮肤菜单,设置点击里面的按钮即可执行/skin set 的指令直接设置皮肤
2.启动这个带有ChestCommands和SkinsRestorer的服务器,进入游戏,打开菜单,点击图标,皮肤指令正确触发
3.关闭服务器,另外开启bungeecord,让SkinsRestorer插件以代理模式运行
4.重新进入服务器,打开菜单,点击按钮,发现提示“未知指令”
初步探究原因可能是:玩家手动输入的指令才能被代理服务端识别,而菜单触发的指令等于是以所处的后端服务器控制台执行。直接在后端服务器控制台输入skin相关指令也提示未知(在独立模式下,它会有回应)。修复方向应是对于后端服务器的支持,即便处于代理模式

Server/Error Logs

No response

Minecraft implementation

- Proxy: BungeeCord
- Backend: mohist-1.19.4-186-server

What client are you using?

PCL2

SkinsRestorer Version

15.0.3

List of plugins

BlueMap, Disable_PVP_in_Creative_Mode, Stp, CMILib, HolographicDisplays, Seasons, ConsoleSpamFix, LiteSignIn, LiteCustomAnnouncer, ChineseNickName, ViaVersion, ViaBackwards, LuckPerms, ProtocolLib, SkinsRestorer, Vault, Essentials, ItemCommands, VeinMiner, AuthMe, ChestCommands, Slimefun, Residence, BetterRTP, GuizhanLibPlugin

Java Version

JAVA 19

Does your issue require a plugin in order to reproduce?

None

两个截图,左:单个服务器状态(独立模式)。 右:在群组服务端的代理模式
左:独立版。右:代理模式

@Leoparking Leoparking added the type: 🐛 bug A confirmed bug in the plugin which needs to get resolved label Nov 21, 2023
@xknat
Copy link
Member

xknat commented Nov 22, 2023

We only provide English support

@Leoparking
Copy link
Author

我们只提供英语支持

  1. Use the Chest Commands plugin to create a skin menu, and click the button inside to execute the/skin set command to directly set the skin

  2. Start the server with Chest Commands and Skins Restorer, enter the game, open the menu, click on the icon, and the skin commands will be triggered correctly

  3. Turn off the server and enable bungeecord to run the Skins Restorer plugin in proxy mode

  4. Enter the server again, open the menu, click the button, and you will find the prompt "Unknown Command"

The preliminary investigation may be that the instructions manually entered by the player can only be recognized by the proxy server, while the commands triggered by the menu are equivalent to being executed on the backend server console where they are located. Directly entering skin related instructions on the backend server console also prompts for unknown (in standalone mode, it will respond). The repair direction should be support for backend servers, even in proxy mode

@Leoparking
Copy link
Author

我们只提供英语支持

Two screenshots, left: Single server status (independent mode). Right: Proxy mode on the group server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: 🐛 bug A confirmed bug in the plugin which needs to get resolved
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants