Index

B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

B

BaseAdvancement() - Constructor for class com.github.theword.queqiao.tool.event.base.BasePlayerAdvancementEvent.BaseAdvancement
 
BaseAdvancement(String) - Constructor for class com.github.theword.queqiao.tool.event.base.BasePlayerAdvancementEvent.BaseAdvancement
 
BaseCommandEvent - Class in com.github.theword.queqiao.tool.event.base
通用基础命令事件
BaseCommandEvent(String, String, BasePlayer, String) - Constructor for class com.github.theword.queqiao.tool.event.base.BaseCommandEvent
构造函数
BaseConstant - Class in com.github.theword.queqiao.tool.constant
基本常量集合
BaseConstant() - Constructor for class com.github.theword.queqiao.tool.constant.BaseConstant
 
BaseEvent - Class in com.github.theword.queqiao.tool.event.base
BaseEvent
BaseEvent(String, String, String) - Constructor for class com.github.theword.queqiao.tool.event.base.BaseEvent
构造函数
BaseMessageEvent - Class in com.github.theword.queqiao.tool.event.base
基础消息事件
BaseMessageEvent(String, String, String, BasePlayer, String) - Constructor for class com.github.theword.queqiao.tool.event.base.BaseMessageEvent
构造函数
BaseNoticeEvent - Class in com.github.theword.queqiao.tool.event.base
基础通知事件
BaseNoticeEvent(String, String, BasePlayer) - Constructor for class com.github.theword.queqiao.tool.event.base.BaseNoticeEvent
构造函数
BasePayload - Class in com.github.theword.queqiao.tool.payload
BasePayload
BasePayload() - Constructor for class com.github.theword.queqiao.tool.payload.BasePayload
 
BasePayload(String, JsonElement, String) - Constructor for class com.github.theword.queqiao.tool.payload.BasePayload
 
BasePlayer - Class in com.github.theword.queqiao.tool.event.base
玩家基础信息
BasePlayer() - Constructor for class com.github.theword.queqiao.tool.event.base.BasePlayer
 
BasePlayer(String, UUID) - Constructor for class com.github.theword.queqiao.tool.event.base.BasePlayer
 
BasePlayerAdvancementEvent - Class in com.github.theword.queqiao.tool.event.base
通用基础玩家进度事件
BasePlayerAdvancementEvent(String, BasePlayer, BasePlayerAdvancementEvent.BaseAdvancement) - Constructor for class com.github.theword.queqiao.tool.event.base.BasePlayerAdvancementEvent
 
BasePlayerAdvancementEvent.BaseAdvancement - Class in com.github.theword.queqiao.tool.event.base
 
BasePlayerChatEvent - Class in com.github.theword.queqiao.tool.event.base
通用基础玩家聊天事件
BasePlayerChatEvent(String, String, BasePlayer, String) - Constructor for class com.github.theword.queqiao.tool.event.base.BasePlayerChatEvent
构造函数
BasePlayerDeathEvent - Class in com.github.theword.queqiao.tool.event.base
通用基础玩家死亡事件
BasePlayerDeathEvent(String, String, BasePlayer, String) - Constructor for class com.github.theword.queqiao.tool.event.base.BasePlayerDeathEvent
构造函数
BasePlayerJoinEvent - Class in com.github.theword.queqiao.tool.event.base
通用基础玩家加入事件
BasePlayerJoinEvent(String, BasePlayer) - Constructor for class com.github.theword.queqiao.tool.event.base.BasePlayerJoinEvent
构造函数
BasePlayerQuitEvent - Class in com.github.theword.queqiao.tool.event.base
通用基础玩家退出事件
BasePlayerQuitEvent(String, BasePlayer) - Constructor for class com.github.theword.queqiao.tool.event.base.BasePlayerQuitEvent
构造函数
broadcast(String) - Method in class com.github.theword.queqiao.tool.websocket.WsServer
广播消息
BROADCAST_MESSAGE - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Server
 
BUNGEE - Static variable in class com.github.theword.queqiao.tool.constant.ServerTypeConstant
 

C

checkFileExists(Path, String) - Method in class com.github.theword.queqiao.tool.config.CommonConfig
检查配置文件是否存在
CLEAR_WEBSOCKET_CLIENT_LIST - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Client
 
client - Variable in class com.github.theword.queqiao.tool.rcon.RconClient
 
Client() - Constructor for class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Client
 
CLIENT_CONNECTED - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Server
 
CLIENT_DISCONNECTED - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Server
 
CLIENT_HAD_BEEN_DISCONNECTED - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Server
 
ClientCommandAbstract - Class in com.github.theword.queqiao.tool.command.subCommand
 
ClientCommandAbstract() - Constructor for class com.github.theword.queqiao.tool.command.subCommand.ClientCommandAbstract
 
CLOSE_BY_RELOAD - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage
 
CLOSING_CONNECTION - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Client
 
com.github.theword.queqiao.tool - package com.github.theword.queqiao.tool
 
com.github.theword.queqiao.tool.command - package com.github.theword.queqiao.tool.command
 
com.github.theword.queqiao.tool.command.subCommand - package com.github.theword.queqiao.tool.command.subCommand
 
com.github.theword.queqiao.tool.command.subCommand.client - package com.github.theword.queqiao.tool.command.subCommand.client
 
com.github.theword.queqiao.tool.command.subCommand.server - package com.github.theword.queqiao.tool.command.subCommand.server
 
com.github.theword.queqiao.tool.config - package com.github.theword.queqiao.tool.config
 
com.github.theword.queqiao.tool.constant - package com.github.theword.queqiao.tool.constant
 
com.github.theword.queqiao.tool.event.base - package com.github.theword.queqiao.tool.event.base
 
com.github.theword.queqiao.tool.handle - package com.github.theword.queqiao.tool.handle
 
com.github.theword.queqiao.tool.payload - package com.github.theword.queqiao.tool.payload
 
com.github.theword.queqiao.tool.rcon - package com.github.theword.queqiao.tool.rcon
 
com.github.theword.queqiao.tool.response - package com.github.theword.queqiao.tool.response
 
com.github.theword.queqiao.tool.utils - package com.github.theword.queqiao.tool.utils
 
com.github.theword.queqiao.tool.websocket - package com.github.theword.queqiao.tool.websocket
 
COMMAND_HEADER - Static variable in class com.github.theword.queqiao.tool.constant.BaseConstant
 
CommandConstantMessage - Class in com.github.theword.queqiao.tool.constant
命令相关的常量消息
CommandConstantMessage() - Constructor for class com.github.theword.queqiao.tool.constant.CommandConstantMessage
 
CommandPayload - Class in com.github.theword.queqiao.tool.payload
命令负载类
CommandPayload() - Constructor for class com.github.theword.queqiao.tool.payload.CommandPayload
 
CommonConfig - Class in com.github.theword.queqiao.tool.config
 
CommonConfig(Logger) - Constructor for class com.github.theword.queqiao.tool.config.CommonConfig
 
Config - Class in com.github.theword.queqiao.tool.config
配置项 服务器初始化阶段请调用 Config.loadConfig(boolean, Logger) 方法加载配置文件
Config(boolean) - Constructor for class com.github.theword.queqiao.tool.config.Config
Deprecated.
Config(boolean, Logger) - Constructor for class com.github.theword.queqiao.tool.config.Config
Contractor
connect() - Method in class com.github.theword.queqiao.tool.rcon.RconClient
尝试连接 Rcon,返回是否成功
CONNECT_SUCCESSFUL - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Client
 
CONNECTION_ERROR - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Client
 
CONNECTION_ERROR - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Server
 
CONNECTION_NOT_OPEN - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Client
 

D

debugLog(String) - Static method in class com.github.theword.queqiao.tool.utils.Tool
DEBUG模式 用于输出更多内容
debugLog(String, Object...) - Static method in class com.github.theword.queqiao.tool.utils.Tool
DEBUG模式 用于输出更多内容

E

equals(Object) - Method in class com.github.theword.queqiao.tool.event.base.BasePlayer
判断两个玩家是否为同一个玩家
ERROR_ON_STOPPING - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Server
 
execute(Object) - Method in class com.github.theword.queqiao.tool.command.subCommand.client.ListCommandAbstract
获取 WebSocket 客户端状态 整合游戏内命令调用
execute(Object) - Method in class com.github.theword.queqiao.tool.command.subCommand.client.ReconnectCommandAbstract
执行命令
execute(Object) - Method in class com.github.theword.queqiao.tool.command.subCommand.ClientCommandAbstract
执行命令
execute(Object) - Method in interface com.github.theword.queqiao.tool.command.SubCommand
执行命令
execute(Object) - Method in class com.github.theword.queqiao.tool.command.subCommand.HelpCommandAbstract
执行命令 获取所有命令使用方法
execute(Object) - Method in class com.github.theword.queqiao.tool.command.subCommand.ReloadCommandAbstract
 
execute(Object) - Method in class com.github.theword.queqiao.tool.command.subCommand.server.InfoCommandAbstract
获取 WebSocket 服务端状态 整合游戏内命令调用
execute(Object) - Method in class com.github.theword.queqiao.tool.command.subCommand.ServerCommandAbstract
执行命令
execute(Object, boolean) - Method in class com.github.theword.queqiao.tool.command.subCommand.client.ListCommandAbstract
获取 WebSocket 客户端状态
execute(Object, boolean) - Method in class com.github.theword.queqiao.tool.command.subCommand.client.ReconnectCommandAbstract
重连 WebSocket 客户端 reconnect [all] 命令调用
execute(Object, boolean) - Method in class com.github.theword.queqiao.tool.command.subCommand.ClientCommandAbstract
执行命令
execute(Object, boolean) - Method in interface com.github.theword.queqiao.tool.command.SubCommand
执行命令
execute(Object, boolean) - Method in class com.github.theword.queqiao.tool.command.subCommand.HelpCommandAbstract
执行命令
execute(Object, boolean) - Method in class com.github.theword.queqiao.tool.command.subCommand.ReloadCommandAbstract
重载 WebSocket reload 命令调用
execute(Object, boolean) - Method in class com.github.theword.queqiao.tool.command.subCommand.server.InfoCommandAbstract
占位
execute(Object, boolean) - Method in class com.github.theword.queqiao.tool.command.subCommand.ServerCommandAbstract
执行命令
executeReloadCommand(Object, boolean) - Static method in class com.github.theword.queqiao.tool.GlobalContext
执行全局重载命令

F

FABRIC - Static variable in class com.github.theword.queqiao.tool.constant.ServerTypeConstant
 
failed(int, String) - Static method in class com.github.theword.queqiao.tool.response.Response
 
failed(int, String, Object, String) - Static method in class com.github.theword.queqiao.tool.response.Response
 
failed(int, String, String) - Static method in class com.github.theword.queqiao.tool.response.Response
 
failed(String) - Static method in class com.github.theword.queqiao.tool.response.Response
 
FAILED - Enum constant in enum class com.github.theword.queqiao.tool.response.ResponseEnum
 
FORGE - Static variable in class com.github.theword.queqiao.tool.constant.ServerTypeConstant
 
fromString(String) - Static method in enum class com.github.theword.queqiao.tool.response.ResponseEnum
 

G

getAccessToken() - Method in class com.github.theword.queqiao.tool.config.Config
 
getApi() - Method in class com.github.theword.queqiao.tool.payload.BasePayload
 
getCode() - Method in class com.github.theword.queqiao.tool.response.Response
 
getCommand() - Method in class com.github.theword.queqiao.tool.payload.CommandPayload
 
getConfig() - Static method in class com.github.theword.queqiao.tool.GlobalContext
 
getData() - Method in class com.github.theword.queqiao.tool.payload.BasePayload
 
getData() - Method in class com.github.theword.queqiao.tool.response.Response
 
getDescription() - Method in class com.github.theword.queqiao.tool.command.subCommand.client.ListCommandAbstract
获取命令描述
getDescription() - Method in class com.github.theword.queqiao.tool.command.subCommand.client.ReconnectCommandAbstract
获取命令描述
getDescription() - Method in class com.github.theword.queqiao.tool.command.subCommand.ClientCommandAbstract
获取命令描述
getDescription() - Method in interface com.github.theword.queqiao.tool.command.SubCommand
获取命令描述
getDescription() - Method in class com.github.theword.queqiao.tool.command.subCommand.HelpCommandAbstract
获取命令描述
getDescription() - Method in class com.github.theword.queqiao.tool.command.subCommand.ReloadCommandAbstract
获取命令描述
getDescription() - Method in class com.github.theword.queqiao.tool.command.subCommand.server.InfoCommandAbstract
获取命令描述
getDescription() - Method in class com.github.theword.queqiao.tool.command.subCommand.ServerCommandAbstract
获取命令描述
getEcho() - Method in class com.github.theword.queqiao.tool.payload.BasePayload
 
getEcho() - Method in class com.github.theword.queqiao.tool.response.Response
 
getFadeIn() - Method in class com.github.theword.queqiao.tool.payload.TitlePayload
 
getFadeOut() - Method in class com.github.theword.queqiao.tool.payload.TitlePayload
 
getGson() - Static method in class com.github.theword.queqiao.tool.GlobalContext
 
getGson() - Static method in class com.github.theword.queqiao.tool.utils.GsonUtils
获取全局 Gson 实例
getHandleApiService() - Static method in class com.github.theword.queqiao.tool.GlobalContext
 
getHandleCommandReturnMessageService() - Static method in class com.github.theword.queqiao.tool.GlobalContext
 
getHost() - Method in class com.github.theword.queqiao.tool.config.WebSocketServerConfig
 
getLogger() - Static method in class com.github.theword.queqiao.tool.GlobalContext
 
getMessage() - Method in class com.github.theword.queqiao.tool.payload.MessagePayload
 
getMessage() - Method in class com.github.theword.queqiao.tool.response.PrivateMessageResponse
 
getMessage() - Method in class com.github.theword.queqiao.tool.response.Response
 
getMessagePrefix() - Method in class com.github.theword.queqiao.tool.config.Config
 
getName() - Method in class com.github.theword.queqiao.tool.command.subCommand.client.ListCommandAbstract
获取命令名称
getName() - Method in class com.github.theword.queqiao.tool.command.subCommand.client.ReconnectCommandAbstract
获取命令名称
getName() - Method in class com.github.theword.queqiao.tool.command.subCommand.ClientCommandAbstract
获取命令名称
getName() - Method in interface com.github.theword.queqiao.tool.command.SubCommand
获取命令名称
getName() - Method in class com.github.theword.queqiao.tool.command.subCommand.HelpCommandAbstract
获取命令名称
getName() - Method in class com.github.theword.queqiao.tool.command.subCommand.ReloadCommandAbstract
获取命令名称
getName() - Method in class com.github.theword.queqiao.tool.command.subCommand.server.InfoCommandAbstract
获取命令名称
getName() - Method in class com.github.theword.queqiao.tool.command.subCommand.ServerCommandAbstract
获取命令名称
getNickname() - Method in class com.github.theword.queqiao.tool.event.base.BasePlayer
 
getNickname() - Method in class com.github.theword.queqiao.tool.payload.PrivateMessagePayload
 
getPassword() - Method in class com.github.theword.queqiao.tool.config.RconConfig
 
getPermissionNode() - Method in class com.github.theword.queqiao.tool.command.subCommand.client.ListCommandAbstract
获取命令权限节点
getPermissionNode() - Method in class com.github.theword.queqiao.tool.command.subCommand.client.ReconnectCommandAbstract
获取命令权限节点
getPermissionNode() - Method in class com.github.theword.queqiao.tool.command.subCommand.ClientCommandAbstract
获取命令权限节点
getPermissionNode() - Method in interface com.github.theword.queqiao.tool.command.SubCommand
获取命令权限节点
getPermissionNode() - Method in class com.github.theword.queqiao.tool.command.subCommand.HelpCommandAbstract
获取命令权限节点
getPermissionNode() - Method in class com.github.theword.queqiao.tool.command.subCommand.ReloadCommandAbstract
获取命令权限节点
getPermissionNode() - Method in class com.github.theword.queqiao.tool.command.subCommand.server.InfoCommandAbstract
获取命令权限节点
getPermissionNode() - Method in class com.github.theword.queqiao.tool.command.subCommand.ServerCommandAbstract
获取命令权限节点
getPlayer() - Method in class com.github.theword.queqiao.tool.response.PrivateMessageResponse
 
getPort() - Method in class com.github.theword.queqiao.tool.config.RconConfig
 
getPort() - Method in class com.github.theword.queqiao.tool.config.WebSocketServerConfig
 
getPostType() - Method in class com.github.theword.queqiao.tool.response.Response
 
getPrefix() - Method in class com.github.theword.queqiao.tool.command.subCommand.client.ListCommandAbstract
获取命令前缀
getPrefix() - Method in class com.github.theword.queqiao.tool.command.subCommand.ClientCommandAbstract
获取命令前缀
getPrefix() - Method in interface com.github.theword.queqiao.tool.command.SubCommand
获取命令前缀
getPrefix() - Method in class com.github.theword.queqiao.tool.command.subCommand.HelpCommandAbstract
获取命令前缀
getPrefix() - Method in class com.github.theword.queqiao.tool.command.subCommand.ReloadCommandAbstract
获取命令前缀
getPrefix() - Method in class com.github.theword.queqiao.tool.command.subCommand.ServerCommandAbstract
获取命令前缀
getPrefixComponent() - Static method in class com.github.theword.queqiao.tool.utils.Tool
获取发送消息的前缀字符
getRcon() - Method in class com.github.theword.queqiao.tool.config.Config
 
getReconnectInterval() - Method in class com.github.theword.queqiao.tool.config.WebSocketClientConfig
 
getReconnectMaxTimes() - Method in class com.github.theword.queqiao.tool.config.WebSocketClientConfig
 
getServerName() - Method in class com.github.theword.queqiao.tool.config.Config
 
getServerType() - Static method in class com.github.theword.queqiao.tool.GlobalContext
 
getServerVersion() - Static method in class com.github.theword.queqiao.tool.GlobalContext
 
getStatus() - Method in class com.github.theword.queqiao.tool.response.Response
 
getStay() - Method in class com.github.theword.queqiao.tool.payload.TitlePayload
 
getSubscribeEvent() - Method in class com.github.theword.queqiao.tool.config.Config
 
getSubtitle() - Method in class com.github.theword.queqiao.tool.payload.TitlePayload
 
getText() - Method in class com.github.theword.queqiao.tool.event.base.BasePlayerAdvancementEvent.BaseAdvancement
 
getTitle() - Method in class com.github.theword.queqiao.tool.payload.TitlePayload
 
getUrlList() - Method in class com.github.theword.queqiao.tool.config.WebSocketClientConfig
 
getUsage() - Method in class com.github.theword.queqiao.tool.command.subCommand.client.ListCommandAbstract
获取命令用法
getUsage() - Method in class com.github.theword.queqiao.tool.command.subCommand.client.ReconnectCommandAbstract
获取命令用法
getUsage() - Method in class com.github.theword.queqiao.tool.command.subCommand.ClientCommandAbstract
获取命令用法
getUsage() - Method in interface com.github.theword.queqiao.tool.command.SubCommand
获取命令用法
getUsage() - Method in class com.github.theword.queqiao.tool.command.subCommand.HelpCommandAbstract
获取命令用法
getUsage() - Method in class com.github.theword.queqiao.tool.command.subCommand.ReloadCommandAbstract
获取命令用法
getUsage() - Method in class com.github.theword.queqiao.tool.command.subCommand.server.InfoCommandAbstract
获取命令用法
getUsage() - Method in class com.github.theword.queqiao.tool.command.subCommand.ServerCommandAbstract
获取命令用法
getUuid() - Method in class com.github.theword.queqiao.tool.event.base.BasePlayer
 
getUuid() - Method in class com.github.theword.queqiao.tool.payload.PrivateMessagePayload
 
getValue() - Method in enum class com.github.theword.queqiao.tool.response.ResponseEnum
 
getWebsocketClient() - Method in class com.github.theword.queqiao.tool.config.Config
 
getWebsocketManager() - Static method in class com.github.theword.queqiao.tool.GlobalContext
 
getWebsocketServer() - Method in class com.github.theword.queqiao.tool.config.Config
 
getWsClientList() - Method in class com.github.theword.queqiao.tool.utils.WebsocketManager
 
getWsServer() - Method in class com.github.theword.queqiao.tool.utils.WebsocketManager
 
GlobalContext - Class in com.github.theword.queqiao.tool
 
GlobalContext() - Constructor for class com.github.theword.queqiao.tool.GlobalContext
 
GsonUtils - Class in com.github.theword.queqiao.tool.utils
Gson Utils
GsonUtils() - Constructor for class com.github.theword.queqiao.tool.utils.GsonUtils
 

H

HandleApiService - Interface in com.github.theword.queqiao.tool.handle
公共消息处理接口
handleBroadcastMessage(JsonElement) - Method in interface com.github.theword.queqiao.tool.handle.HandleApiService
API: broadcast / send_msg
handleCommandReturnMessage(Object, String) - Method in class com.github.theword.queqiao.tool.handle.HandleCommandReturnMessageService
处理命令返回消息
HandleCommandReturnMessageService - Class in com.github.theword.queqiao.tool.handle
公共命令返回消息处理
HandleCommandReturnMessageService() - Constructor for class com.github.theword.queqiao.tool.handle.HandleCommandReturnMessageService
 
handleHttpJson(String) - Method in class com.github.theword.queqiao.tool.handle.HandleProtocolMessage
Http,处理JSON字符串
HandleProtocolMessage - Class in com.github.theword.queqiao.tool.handle
处理协议消息
HandleProtocolMessage(Logger, Gson) - Constructor for class com.github.theword.queqiao.tool.handle.HandleProtocolMessage
 
handleSendActionBarMessage(JsonElement) - Method in interface com.github.theword.queqiao.tool.handle.HandleApiService
API: send_actionbar
handleSendPrivateMessage(String, UUID, JsonElement) - Method in interface com.github.theword.queqiao.tool.handle.HandleApiService
API: send_private_msg
handleSendTitleMessage(JsonElement, JsonElement, int, int, int) - Method in interface com.github.theword.queqiao.tool.handle.HandleApiService
API: send_title
handleWebsocketJson(WebSocket, String) - Method in class com.github.theword.queqiao.tool.handle.HandleProtocolMessage
WebSocket入口,处理JSON字符串
hashCode() - Method in class com.github.theword.queqiao.tool.event.base.BasePlayer
 
hasPermission(Object, String) - Method in class com.github.theword.queqiao.tool.handle.HandleCommandReturnMessageService
判断是否拥有权限
HelpCommandAbstract - Class in com.github.theword.queqiao.tool.command.subCommand
 
HelpCommandAbstract() - Constructor for class com.github.theword.queqiao.tool.command.subCommand.HelpCommandAbstract
 

I

InfoCommandAbstract - Class in com.github.theword.queqiao.tool.command.subCommand.server
 
InfoCommandAbstract() - Constructor for class com.github.theword.queqiao.tool.command.subCommand.server.InfoCommandAbstract
 
init(boolean, String, String, HandleApiService, HandleCommandReturnMessageService) - Static method in class com.github.theword.queqiao.tool.GlobalContext
 
INITIALIZED - Static variable in class com.github.theword.queqiao.tool.constant.BaseConstant
 
INVALID_ACCESS_TOKEN_HEADER - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Server
 
INVALID_CLIENT_ORIGIN_HEADER - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Server
 
INVALID_SERVER_NAME_HEADER - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Server
 
isConnected() - Method in class com.github.theword.queqiao.tool.rcon.RconClient
 
isDebug() - Method in class com.github.theword.queqiao.tool.config.Config
 
isEnable() - Method in class com.github.theword.queqiao.tool.config.Config
 
isEnable() - Method in class com.github.theword.queqiao.tool.config.RconConfig
 
isEnable() - Method in class com.github.theword.queqiao.tool.config.WebSocketClientConfig
 
isEnable() - Method in class com.github.theword.queqiao.tool.config.WebSocketServerConfig
 
isPlayerAdvancement() - Method in class com.github.theword.queqiao.tool.config.SubscribeEventConfig
 
isPlayerChat() - Method in class com.github.theword.queqiao.tool.config.SubscribeEventConfig
 
isPlayerCommand() - Method in class com.github.theword.queqiao.tool.config.SubscribeEventConfig
 
isPlayerDeath() - Method in class com.github.theword.queqiao.tool.config.SubscribeEventConfig
 
isPlayerJoin() - Method in class com.github.theword.queqiao.tool.config.SubscribeEventConfig
 
isPlayerQuit() - Method in class com.github.theword.queqiao.tool.config.SubscribeEventConfig
 
isRegisterOrLoginCommand(String) - Static method in class com.github.theword.queqiao.tool.utils.Tool
判断是否为注册或登录命令

L

LAUNCHING - Static variable in class com.github.theword.queqiao.tool.constant.BaseConstant
 
LAUNCHING - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Client
 
ListCommandAbstract - Class in com.github.theword.queqiao.tool.command.subCommand.client
 
ListCommandAbstract() - Constructor for class com.github.theword.queqiao.tool.command.subCommand.client.ListCommandAbstract
 
loadConfig(boolean) - Static method in class com.github.theword.queqiao.tool.config.Config
Deprecated.
loadConfig(boolean, Logger) - Static method in class com.github.theword.queqiao.tool.config.Config
加载配置文件
loadConfigValues(Map<String, Object>) - Method in class com.github.theword.queqiao.tool.config.CommonConfig
加载配置文件内容
loadConfigValues(Map<String, Object>) - Method in class com.github.theword.queqiao.tool.config.Config
加载配置文件

M

MAX_RECONNECT_ATTEMPTS_REACHED - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Client
 
MessagePayload - Class in com.github.theword.queqiao.tool.payload
消息负载类
MessagePayload() - Constructor for class com.github.theword.queqiao.tool.payload.MessagePayload
 
MessagePayload(JsonElement) - Constructor for class com.github.theword.queqiao.tool.payload.MessagePayload
 
MISSING_SERVER_NAME_HEADER - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Server
 
MOD_ID - Static variable in class com.github.theword.queqiao.tool.constant.BaseConstant
 
MOD_PERMISSION_LEVEL - Static variable in class com.github.theword.queqiao.tool.constant.BaseConstant
Mod端权限等级
MODULE_NAME - Static variable in class com.github.theword.queqiao.tool.constant.BaseConstant
 

N

NEOFORGE - Static variable in class com.github.theword.queqiao.tool.constant.ServerTypeConstant
 

O

of(BasePlayer, String) - Static method in class com.github.theword.queqiao.tool.response.PrivateMessageResponse
 
onClose(int, String, boolean) - Method in class com.github.theword.queqiao.tool.websocket.WsClient
 
onClose(WebSocket, int, String, boolean) - Method in class com.github.theword.queqiao.tool.websocket.WsServer
当客户端断开连接时执行
onError(Exception) - Method in class com.github.theword.queqiao.tool.websocket.WsClient
 
onError(WebSocket, Exception) - Method in class com.github.theword.queqiao.tool.websocket.WsServer
当连接出现异常时执行
onMessage(String) - Method in class com.github.theword.queqiao.tool.websocket.WsClient
 
onMessage(WebSocket, String) - Method in class com.github.theword.queqiao.tool.websocket.WsServer
当接收到客户端的消息时执行
onOpen(ServerHandshake) - Method in class com.github.theword.queqiao.tool.websocket.WsClient
 
onOpen(WebSocket, ClientHandshake) - Method in class com.github.theword.queqiao.tool.websocket.WsServer
当客户端连接时执行 连接将依次检验 x-self-name;x-client-origin;Authorization字段
onStart() - Method in class com.github.theword.queqiao.tool.websocket.WsServer
当服务器启动时执行
ORIGIN - Static variable in class com.github.theword.queqiao.tool.constant.ServerTypeConstant
 

P

PARSE_MESSAGE_ERROR_ON_MESSAGE - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage
 
parseAndHandle(String) - Method in class com.github.theword.queqiao.tool.handle.HandleProtocolMessage
业务处理核心:接收原始 JSON 字符串并解析与处理
playerIsNull() - Static method in class com.github.theword.queqiao.tool.response.PrivateMessageResponse
 
playerNotFound() - Static method in class com.github.theword.queqiao.tool.response.PrivateMessageResponse
 
playerNotOnline() - Static method in class com.github.theword.queqiao.tool.response.PrivateMessageResponse
 
PrivateMessagePayload - Class in com.github.theword.queqiao.tool.payload
私聊消息负载
PrivateMessagePayload() - Constructor for class com.github.theword.queqiao.tool.payload.PrivateMessagePayload
 
PrivateMessagePayload(JsonElement, UUID, String) - Constructor for class com.github.theword.queqiao.tool.payload.PrivateMessagePayload
 
PrivateMessageResponse - Class in com.github.theword.queqiao.tool.response
 
PrivateMessageResponse() - Constructor for class com.github.theword.queqiao.tool.response.PrivateMessageResponse
 
PrivateMessageResponse(BasePlayer, String) - Constructor for class com.github.theword.queqiao.tool.response.PrivateMessageResponse
 

R

RconClient - Class in com.github.theword.queqiao.tool.rcon
 
RconClient(Logger, int, String) - Constructor for class com.github.theword.queqiao.tool.rcon.RconClient
 
RconConfig - Class in com.github.theword.queqiao.tool.config
Rcon 客户端配置
RconConfig() - Constructor for class com.github.theword.queqiao.tool.config.RconConfig
 
readConfigFile(String, String) - Method in class com.github.theword.queqiao.tool.config.CommonConfig
读取配置文件
readConfigValues(Path, String) - Method in class com.github.theword.queqiao.tool.config.CommonConfig
读取配置文件内容
RECONNECT_ALL_CLIENT - Static variable in class com.github.theword.queqiao.tool.constant.CommandConstantMessage
 
RECONNECT_MESSAGE - Static variable in class com.github.theword.queqiao.tool.constant.CommandConstantMessage
 
RECONNECT_NO_CLIENT_NEED_RECONNECT - Static variable in class com.github.theword.queqiao.tool.constant.CommandConstantMessage
 
RECONNECT_NOT_OPEN_CLIENT - Static variable in class com.github.theword.queqiao.tool.constant.CommandConstantMessage
 
ReconnectCommandAbstract - Class in com.github.theword.queqiao.tool.command.subCommand.client
 
ReconnectCommandAbstract() - Constructor for class com.github.theword.queqiao.tool.command.subCommand.client.ReconnectCommandAbstract
 
RECONNECTED - Static variable in class com.github.theword.queqiao.tool.constant.CommandConstantMessage
 
RECONNECTING - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Client
 
reconnectNow() - Method in class com.github.theword.queqiao.tool.websocket.WsClient
主动立即重连(适用于 reload 等场景)
RELOAD_CONFIG - Static variable in class com.github.theword.queqiao.tool.constant.CommandConstantMessage
 
ReloadCommandAbstract - Class in com.github.theword.queqiao.tool.command.subCommand
 
ReloadCommandAbstract() - Constructor for class com.github.theword.queqiao.tool.command.subCommand.ReloadCommandAbstract
 
RELOADED - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Client
 
RELOADED - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Server
 
RELOADING - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Client
 
RELOADING - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Server
 
Response - Class in com.github.theword.queqiao.tool.response
Response
Response() - Constructor for class com.github.theword.queqiao.tool.response.Response
 
Response(Integer, ResponseEnum, String, Object, String) - Constructor for class com.github.theword.queqiao.tool.response.Response
全参构造器
ResponseEnum - Enum Class in com.github.theword.queqiao.tool.response
 
restartWebsocket(Object) - Method in class com.github.theword.queqiao.tool.utils.WebsocketManager
重载 Websocket reload 命令调用
restartWebsocketClients(Object) - Method in class com.github.theword.queqiao.tool.utils.WebsocketManager
重载 WebSocket 客户端
restartWebsocketServer(Object) - Method in class com.github.theword.queqiao.tool.utils.WebsocketManager
重载 WebSocket 服务器 目前只有通过reload命令调用重载

S

SEND_MESSAGE - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Client
 
SEND_MESSAGE_FAILED - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Client
 
sendCommand(String) - Method in class com.github.theword.queqiao.tool.rcon.RconClient
 
sendEvent(BaseEvent) - Method in class com.github.theword.queqiao.tool.utils.WebsocketManager
发送消息 同时向所有 Websocket 客户端和服务端广播消息
sendRconCommand(String) - Static method in class com.github.theword.queqiao.tool.GlobalContext
发送 Rcon 命令
sendReturnMessage(Object, String) - Method in class com.github.theword.queqiao.tool.handle.HandleCommandReturnMessageService
发送命令返回消息中间层
sendSuccess(BasePlayer) - Static method in class com.github.theword.queqiao.tool.response.PrivateMessageResponse
 
Server() - Constructor for class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Server
 
SERVER_NAME_DECODE_FAILED_HEADER - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Server
 
SERVER_NAME_PARSE_FAILED_HEADER - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Server
 
SERVER_STARTING - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Server
 
ServerCommandAbstract - Class in com.github.theword.queqiao.tool.command.subCommand
 
ServerCommandAbstract() - Constructor for class com.github.theword.queqiao.tool.command.subCommand.ServerCommandAbstract
 
ServerTypeConstant - Class in com.github.theword.queqiao.tool.constant
服务端类型常量
ServerTypeConstant() - Constructor for class com.github.theword.queqiao.tool.constant.ServerTypeConstant
 
setAccessToken(String) - Method in class com.github.theword.queqiao.tool.config.Config
 
setApi(String) - Method in class com.github.theword.queqiao.tool.payload.BasePayload
 
setCode(Integer) - Method in class com.github.theword.queqiao.tool.response.Response
 
setCommand(String) - Method in class com.github.theword.queqiao.tool.payload.CommandPayload
 
setConfig(Config) - Static method in class com.github.theword.queqiao.tool.GlobalContext
 
setData(JsonElement) - Method in class com.github.theword.queqiao.tool.payload.BasePayload
 
setData(Object) - Method in class com.github.theword.queqiao.tool.response.Response
 
setDebug(boolean) - Method in class com.github.theword.queqiao.tool.config.Config
 
setEcho(String) - Method in class com.github.theword.queqiao.tool.payload.BasePayload
 
setEcho(String) - Method in class com.github.theword.queqiao.tool.response.Response
 
setEnable(boolean) - Method in class com.github.theword.queqiao.tool.config.Config
 
setEnable(boolean) - Method in class com.github.theword.queqiao.tool.config.RconConfig
 
setEnable(boolean) - Method in class com.github.theword.queqiao.tool.config.WebSocketClientConfig
 
setEnable(boolean) - Method in class com.github.theword.queqiao.tool.config.WebSocketServerConfig
 
setFadeIn(int) - Method in class com.github.theword.queqiao.tool.payload.TitlePayload
 
setFadeOut(int) - Method in class com.github.theword.queqiao.tool.payload.TitlePayload
 
setHost(String) - Method in class com.github.theword.queqiao.tool.config.WebSocketServerConfig
 
setLogger(Logger) - Static method in class com.github.theword.queqiao.tool.GlobalContext
 
setMessage(JsonElement) - Method in class com.github.theword.queqiao.tool.payload.MessagePayload
 
setMessage(String) - Method in class com.github.theword.queqiao.tool.response.PrivateMessageResponse
 
setMessage(String) - Method in class com.github.theword.queqiao.tool.response.Response
 
setMessagePrefix(String) - Method in class com.github.theword.queqiao.tool.config.Config
 
setNickname(String) - Method in class com.github.theword.queqiao.tool.event.base.BasePlayer
 
setNickname(String) - Method in class com.github.theword.queqiao.tool.payload.PrivateMessagePayload
 
setPassword(String) - Method in class com.github.theword.queqiao.tool.config.RconConfig
 
setPassword(String) - Method in class com.github.theword.queqiao.tool.rcon.RconClient
 
setPlayer(BasePlayer) - Method in class com.github.theword.queqiao.tool.response.PrivateMessageResponse
 
setPlayerAdvancement(boolean) - Method in class com.github.theword.queqiao.tool.config.SubscribeEventConfig
 
setPlayerChat(boolean) - Method in class com.github.theword.queqiao.tool.config.SubscribeEventConfig
 
setPlayerCommand(boolean) - Method in class com.github.theword.queqiao.tool.config.SubscribeEventConfig
 
setPlayerDeath(boolean) - Method in class com.github.theword.queqiao.tool.config.SubscribeEventConfig
 
setPlayerJoin(boolean) - Method in class com.github.theword.queqiao.tool.config.SubscribeEventConfig
 
setPlayerQuit(boolean) - Method in class com.github.theword.queqiao.tool.config.SubscribeEventConfig
 
setPort(int) - Method in class com.github.theword.queqiao.tool.config.RconConfig
 
setPort(int) - Method in class com.github.theword.queqiao.tool.config.WebSocketServerConfig
 
setPort(int) - Method in class com.github.theword.queqiao.tool.rcon.RconClient
 
setPostType(String) - Method in class com.github.theword.queqiao.tool.response.Response
 
setRcon(RconConfig) - Method in class com.github.theword.queqiao.tool.config.Config
 
setReconnectInterval(int) - Method in class com.github.theword.queqiao.tool.config.WebSocketClientConfig
 
setReconnectMaxTimes(int) - Method in class com.github.theword.queqiao.tool.config.WebSocketClientConfig
 
setServerName(String) - Method in class com.github.theword.queqiao.tool.config.Config
 
setStatus(ResponseEnum) - Method in class com.github.theword.queqiao.tool.response.Response
 
setStay(int) - Method in class com.github.theword.queqiao.tool.payload.TitlePayload
 
setSubscribeEvent(SubscribeEventConfig) - Method in class com.github.theword.queqiao.tool.config.Config
 
setSubtitle(JsonElement) - Method in class com.github.theword.queqiao.tool.payload.TitlePayload
 
setText(String) - Method in class com.github.theword.queqiao.tool.event.base.BasePlayerAdvancementEvent.BaseAdvancement
 
setTitle(JsonElement) - Method in class com.github.theword.queqiao.tool.payload.TitlePayload
 
setUrlList(List<String>) - Method in class com.github.theword.queqiao.tool.config.WebSocketClientConfig
 
setUuid(UUID) - Method in class com.github.theword.queqiao.tool.event.base.BasePlayer
 
setUuid(UUID) - Method in class com.github.theword.queqiao.tool.payload.PrivateMessagePayload
 
setWebsocketClient(WebSocketClientConfig) - Method in class com.github.theword.queqiao.tool.config.Config
 
setWebsocketServer(WebSocketServerConfig) - Method in class com.github.theword.queqiao.tool.config.Config
 
shutdown() - Static method in class com.github.theword.queqiao.tool.GlobalContext
 
SPIGOT - Static variable in class com.github.theword.queqiao.tool.constant.ServerTypeConstant
 
startWebsocket(Object) - Method in class com.github.theword.queqiao.tool.utils.WebsocketManager
启动 WebSocket 开服时调用
startWebsocketOnServerStart() - Method in class com.github.theword.queqiao.tool.utils.WebsocketManager
因 Minecraft Server 开启,启动 WebSocket 开服时调用
stop() - Method in class com.github.theword.queqiao.tool.rcon.RconClient
关闭 Rcon 连接
stopWebsocket(int, String, Object) - Method in class com.github.theword.queqiao.tool.utils.WebsocketManager
停止 WebSocket 除传入关闭码、关闭原因外,还需传入命令执行者(可为null)
stopWebsocketByServerClose() - Method in class com.github.theword.queqiao.tool.utils.WebsocketManager
因 Minecraft Server 关闭,关闭 WebSocket 关服时调用
stopWithoutReconnect(int, String) - Method in class com.github.theword.queqiao.tool.websocket.WsClient
停止并不再重连
SubCommand - Interface in com.github.theword.queqiao.tool.command
子命令接口
SubscribeEventConfig - Class in com.github.theword.queqiao.tool.config
订阅事件配置
SubscribeEventConfig() - Constructor for class com.github.theword.queqiao.tool.config.SubscribeEventConfig
 
SubscribeEventConfig(boolean, boolean, boolean, boolean, boolean, boolean) - Constructor for class com.github.theword.queqiao.tool.config.SubscribeEventConfig
 
success() - Static method in class com.github.theword.queqiao.tool.response.Response
 
success(Object) - Static method in class com.github.theword.queqiao.tool.response.Response
 
success(Object, String) - Static method in class com.github.theword.queqiao.tool.response.Response
 
success(String, Object, String) - Static method in class com.github.theword.queqiao.tool.response.Response
 
SUCCESS - Enum constant in enum class com.github.theword.queqiao.tool.response.ResponseEnum
 
successMessage(String) - Static method in class com.github.theword.queqiao.tool.response.Response
 

T

TitlePayload - Class in com.github.theword.queqiao.tool.payload
标题负载
TitlePayload() - Constructor for class com.github.theword.queqiao.tool.payload.TitlePayload
 
TitlePayload(JsonElement, JsonElement, int, int, int) - Constructor for class com.github.theword.queqiao.tool.payload.TitlePayload
 
Tool - Class in com.github.theword.queqiao.tool.utils
工具类
Tool() - Constructor for class com.github.theword.queqiao.tool.utils.Tool
 
toString() - Method in class com.github.theword.queqiao.tool.payload.PrivateMessagePayload
将私聊消息转换为描述字符串,用于日志输出。
toString() - Method in enum class com.github.theword.queqiao.tool.response.ResponseEnum
 

U

UNKNOWN - Static variable in class com.github.theword.queqiao.tool.constant.BaseConstant
 
UNKNOWN_API - Static variable in class com.github.theword.queqiao.tool.constant.BaseConstant
 
URI_SYNTAX_ERROR - Static variable in class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage.Client
 

V

valueOf(String) - Static method in enum class com.github.theword.queqiao.tool.response.ResponseEnum
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.github.theword.queqiao.tool.response.ResponseEnum
Returns an array containing the constants of this enum class, in the order they are declared.
VELOCITY - Static variable in class com.github.theword.queqiao.tool.constant.ServerTypeConstant
 

W

WebSocketClientConfig - Class in com.github.theword.queqiao.tool.config
WebSocket Client 配置
WebSocketClientConfig() - Constructor for class com.github.theword.queqiao.tool.config.WebSocketClientConfig
 
WebSocketClientConfig(boolean, int, int, List<String>) - Constructor for class com.github.theword.queqiao.tool.config.WebSocketClientConfig
 
WebsocketConstantMessage - Class in com.github.theword.queqiao.tool.constant
 
WebsocketConstantMessage() - Constructor for class com.github.theword.queqiao.tool.constant.WebsocketConstantMessage
 
WebsocketConstantMessage.Client - Class in com.github.theword.queqiao.tool.constant
 
WebsocketConstantMessage.Server - Class in com.github.theword.queqiao.tool.constant
 
WebsocketManager - Class in com.github.theword.queqiao.tool.utils
 
WebsocketManager(Logger, Gson) - Constructor for class com.github.theword.queqiao.tool.utils.WebsocketManager
 
WebSocketServerConfig - Class in com.github.theword.queqiao.tool.config
 
WebSocketServerConfig() - Constructor for class com.github.theword.queqiao.tool.config.WebSocketServerConfig
 
WebSocketServerConfig(boolean, String, int) - Constructor for class com.github.theword.queqiao.tool.config.WebSocketServerConfig
 
WsClient - Class in com.github.theword.queqiao.tool.websocket
WebSocket 客户端
WsClient(URI, Logger, Gson, String, String, int, int, boolean) - Constructor for class com.github.theword.queqiao.tool.websocket.WsClient
 
WsServer - Class in com.github.theword.queqiao.tool.websocket
 
WsServer(InetSocketAddress, Logger, Gson, String, String, boolean) - Constructor for class com.github.theword.queqiao.tool.websocket.WsServer
构造函数
B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values