Class InfoCommandAbstract
java.lang.Object
com.github.theword.queqiao.tool.command.subCommand.ServerCommandAbstract
com.github.theword.queqiao.tool.command.subCommand.server.InfoCommandAbstract
- All Implemented Interfaces:
SubCommand
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.theword.queqiao.tool.command.subCommand.ServerCommandAbstract
getPrefix
-
Constructor Details
-
InfoCommandAbstract
public InfoCommandAbstract()
-
-
Method Details
-
getName
获取命令名称- Specified by:
getNamein interfaceSubCommand- Overrides:
getNamein classServerCommandAbstract- Returns:
- info
-
getDescription
获取命令描述- Specified by:
getDescriptionin interfaceSubCommand- Overrides:
getDescriptionin classServerCommandAbstract- Returns:
- 获取 Websocket Server 信息
-
getUsage
获取命令用法- Specified by:
getUsagein interfaceSubCommand- Overrides:
getUsagein classServerCommandAbstract- Returns:
- 使用:/
ServerCommandAbstract.getUsage()info
-
getPermissionNode
获取命令权限节点- Specified by:
getPermissionNodein interfaceSubCommand- Overrides:
getPermissionNodein classServerCommandAbstract- Returns:
ClientCommandAbstract.getPermissionNode().info
-
execute
获取 WebSocket 服务端状态 整合游戏内命令调用- Specified by:
executein interfaceSubCommand- Overrides:
executein classServerCommandAbstract- Parameters:
commandReturner- 命令执行者
-
execute
占位Pass
- Specified by:
executein interfaceSubCommand- Overrides:
executein classServerCommandAbstract- Parameters:
commandReturner- 命令执行者boolVar- 布尔值占位符
-