Class CommandConstant

java.lang.Object
io.github.theword.queqiao.core.constant.CommandConstant

public class CommandConstant extends Object
命令相关的常量消息

包含命令执行过程中用于提示或日志输出的静态字符串。

  • Field Details

    • RELOAD_CONFIG

      public static final String RELOAD_CONFIG
      See Also:
    • RECONNECT_MESSAGE

      public static final String RECONNECT_MESSAGE
      See Also:
    • RECONNECT_NOT_OPEN_CLIENT

      public static final String RECONNECT_NOT_OPEN_CLIENT
      See Also:
    • RECONNECT_ALL_CLIENT

      public static final String RECONNECT_ALL_CLIENT
      See Also:
    • RECONNECT_NO_CLIENT_NEED_RECONNECT

      public static final String RECONNECT_NO_CLIENT_NEED_RECONNECT
      See Also:
    • RECONNECTED

      public static final String RECONNECTED
      重连命令的结束提示

      措辞为"已安排"而非"已重新连接":重连命令只是把任务投递到调度器, 并不保证连接成功,真正的结果由 WsClient 记录到日志。

      See Also:
    • MOD_PERMISSION_LEVEL

      public static final int MOD_PERMISSION_LEVEL
      Mod端权限等级

      2: OP

      See Also:
    • SUCCESS_SIGNAL

      public static final int SUCCESS_SIGNAL
      命令执行成功信号
      See Also:
    • FAIL_SIGNAL

      public static final int FAIL_SIGNAL
      命令执行失败信号
      See Also:
  • Constructor Details

    • CommandConstant

      public CommandConstant()