Comments (17)
获取上图中的“模组服1-RLCraft”时不会发生该问题,服务端为Sponge forge
from mirai-console-mcsm-plugin.
试试在服务器发送 list 是否有返回。如果没返回它的逻辑就是靠返回判断服务器是否假死。要不给这个功能加个开关?
from mirai-console-mcsm-plugin.
这个功能主要是假死的时候。群员可以自己启动。 如果其他如人乱发 可以加黑名单。他发的指令就没用了
from mirai-console-mcsm-plugin.
from mirai-console-mcsm-plugin.
或者给检测返回加个等待时间,检测等待时间段内的
from mirai-console-mcsm-plugin.
有等待时间的。默认是1秒 你先用这个改成3秒的试试有没有用吧
mirai-console-mcsm-plugin-1.0.10.mirai2.jar.zip
from mirai-console-mcsm-plugin.
不行,应该是关键字没抓到?
from mirai-console-mcsm-plugin.
我看后台是正确输出了人数信息
from mirai-console-mcsm-plugin.
配置文件发我邮箱 [email protected] 我有空的时候调试看看哪的问题 之后你在改下 key
from mirai-console-mcsm-plugin.
我尝试获取了下 /mcsm cmd mod2 list 命令获取到的日志是这样的,里面缺少了通道 [minecraft/DedicatedServer]
[22:53:19] [Server thread/INFO]: There are 0/50 players online:
[22:53:19] [Server thread/INFO]:
/mcsm cmd lts list
[23:00:21] [Server thread/INFO] [minecraft/DedicatedServer]: There are 4/50 players online:
[23:00:21] [Server thread/INFO] [minecraft/DedicatedServer]: Hookfang, hengxing, stardie, XUQIZXS
看了下 你服务器比我快1秒 导致的判断时间
from mirai-console-mcsm-plugin.
mirai-console-mcsm-plugin-1.0.10.mirai2.jar.zip
试试这个版本。我把获取时间改到发送之前了
from mirai-console-mcsm-plugin.
判断关键字”There are“ ”players online“会不会更好
我看了下API文档,发送命令是有返回执行时的时间戳的,延迟可能得以那个为依据?
from mirai-console-mcsm-plugin.
mod2 是什么端? 我插件参照 forge 写的
日志 有 时间 级别 通道 消息
时间戳可以。需要改一些东西。有空优化下 你关掉外网访问把。
from mirai-console-mcsm-plugin.
1.10.2的forge
from mirai-console-mcsm-plugin.
判断关键字”There are“ ”players online“会不会更好 这样就没法获取下面的名字了
mirai-console-mcsm-plugin-1.0.10.mirai2.jar.zip
这是改过的版本 你试试能不能用吧
from mirai-console-mcsm-plugin.
from mirai-console-mcsm-plugin.
看看你守护进程的id对不对。昨天你发我的配置文件。守护进程不对
from mirai-console-mcsm-plugin.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mirai-console-mcsm-plugin.