Apricityx / Koishi-plugin-Minecraft-RCON

Koishi的插件,利用RCON控制服务端
2 stars 1 forks source link

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

Open ChinoKou opened 4 months ago

ChinoKou commented 4 months ago

当存在多个服务器时,并且同时打开“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 commented 3 months ago

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