Class ServerUtils
-
- All Implemented Interfaces:
public class ServerUtils
-
-
Constructor Summary
Constructors Constructor Description ServerUtils()
-
Method Summary
Modifier and Type Method Description static void
syncCommands()
与客户端玩家同步指令列表. static Array<double>
getTps()
获取服务器 TPS. static boolean
isPaper()
获取当前服务器是否为 Paper. static boolean
isSupportAdventure()
获取当前服务器是否存在 AdventureAPI. -
-
Method Detail
-
syncCommands
static void syncCommands()
与客户端玩家同步指令列表.
-
isPaper
static boolean isPaper()
获取当前服务器是否为 Paper.
-
isSupportAdventure
static boolean isSupportAdventure()
获取当前服务器是否存在 AdventureAPI.
-
-
-
-