Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

服务器添加白名单成功但是插件读取到的信息是:“服务器***已经存在该玩家,跳过添加” #3

Open
ChinoKou opened this issue Jul 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ChinoKou
Copy link

当存在多个服务器时,并且同时打开“if add all whitelist”功能时
server列表添加的第一个服务器会出现问题,但实际上已经添加了白名单
日志能看出发送了两次白名单添加的请求

以下为日志:

2024-07-24`` 00:36:10 [S] minecraft-rcon-command 服务器的信息为:{"name":"创造服","address":"127.0.0.1","password":"","port":}
2024-07-24 00:36:10 [S] minecraft-rcon-command 尝试发送指令/whitelist add chinohao到服务器:创造服
2024-07-24 00:36:10 [S] minecraft-rcon-command python脚本路径为:C:\Users\Administrator\AppData\Roaming\Koishi\Desktop\data\instances\default/node_modules/koishi-plugin-minecraft-rcon-command/lib/Minecraft-Rcon/main.py
2024-07-24 00:36:10 [S] minecraft-rcon-command python输出: Added ChinoHao to the whitelist

2024-07-24 00:36:10 [S] minecraft-rcon-command python子进程关闭, 退出码: 0
2024-07-24 00:36:11 [S] minecraft-rcon-command 尝试将玩家chinohao添加至服务器白名单,执行结果如下:

                    尝试将玩家chinohao添加至服务器白名单,执行结果如下:

2024-07-24 00:36:11 [S] minecraft-rcon-command 服务器的信息为:{"name":"创造服","address":"127.0.0.1","password":"","port":}
2024-07-24 00:36:11 [S] minecraft-rcon-command 尝试发送指令/whitelist add chinohao到服务器:创造服
2024-07-24 00:36:11 [S] minecraft-rcon-command python脚本路径为:C:\Users\Administrator\AppData\Roaming\Koishi\Desktop\data\instances\default/node_modules/koishi-plugin-minecraft-rcon-command/lib/Minecraft-Rcon/main.py
2024-07-24 00:36:11 [S] minecraft-rcon-command python输出: Player is already whitelisted

2024-07-24 00:36:11 [S] minecraft-rcon-command python子进程关闭, 退出码: 0
2024-07-24 00:36:12 [S] minecraft-rcon-command 尝试将玩家chinohao添加至服务器白名单,执行结果如下:

                    尝试将玩家chinohao添加至服务器白名单,执行结果如下:
                    服务器创造服已经存在该玩家,跳过添加

2024-07-24 00:36:12 [S] minecraft-rcon-command 服务器的信息为:{"name":"生存服","address":"127.0.0.1","password":"","port":}
2024-07-24 00:36:12 [S] minecraft-rcon-command 尝试发送指令/whitelist add chinohao到服务器:生存服
2024-07-24 00:36:12 [S] minecraft-rcon-command python脚本路径为:C:\Users\Administrator\AppData\Roaming\Koishi\Desktop\data\instances\default/node_modules/koishi-plugin-minecraft-rcon-command/lib/Minecraft-Rcon/main.py
2024-07-24 00:36:12 [S] minecraft-rcon-command python输出: Added ChinoHao to the whitelist

2024-07-24 00:36:12 [S] minecraft-rcon-command python子进程关闭, 退出码: 0

QQ群内:
QQ_1721752771914

@Apricityx Apricityx added the bug Something isn't working label Jul 23, 2024
@Apricityx
Copy link
Owner

请安装重制版插件minecraft-rcon-command-remake

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants