Open Longtianmu opened 2 years ago
Its a good idea :+1: To be a bit more generalist, I will take a look to a feature that let Matrix users to send a MC server command through the Matrix room (only allowed to some Matrix users of course, maybe a list in plugin conf) I'll check what the Spigot API let me to do about sending / receiving server commands
这是个好主意👍 为了更加通才,我将看一下让 Matrix 用户通过 Matrix 房间发送 MC 服务器命令的功能(当然只允许某些 Matrix 用户使用,可能是插件 conf 中的列表) 我会检查Spigot API 让我如何发送/接收服务器命令
thanks! and i find a problem that it seems run on main thread of spigot. it cause lots of performance lag and make paper throw error maybe use scheduler or thread()?
Could you add some status command for it? like !tab for player list,!tps and etc.