Class ModuleUtils

java.lang.Object
com.zenith.module.api.ModuleUtils
Direct Known Subclasses:
Bot, Module

public abstract class ModuleUtils extends Object
  • Field Details

    • moduleLogPrefix

      protected final String moduleLogPrefix
    • moduleAlertPrefix

      protected final String moduleAlertPrefix
  • Constructor Details

    • ModuleUtils

      public ModuleUtils()
  • Method Details

    • sendClientPacketAsync

      public void sendClientPacketAsync(Packet packet)
    • sendClientPacket

      public void sendClientPacket(Packet packet)
    • sendClientPacketAwait

      public void sendClientPacketAwait(Packet packet)
    • sendClientPacketsAsync

      public void sendClientPacketsAsync(Packet... packets)
    • debug

      public void debug(String msg)
    • debug

      public void debug(String msg, Object... args)
    • debug

      public void debug(net.kyori.adventure.text.Component msg)
    • info

      public void info(String msg)
    • info

      public void info(String msg, Object... args)
    • info

      public void info(net.kyori.adventure.text.Component msg)
    • warn

      public void warn(String msg)
    • warn

      public void warn(String msg, Object... args)
    • warn

      public void warn(net.kyori.adventure.text.Component msg)
    • error

      public void error(String msg)
    • error

      public void error(String msg, Object... args)
    • error

      public void error(net.kyori.adventure.text.Component msg)
    • inGameAlert

      public void inGameAlert(String minimessage)
    • inGameAlertActivePlayer

      public void inGameAlertActivePlayer(String minimessage)
    • discordNotification

      public void discordNotification(Embed embed)
    • discordAndIngameNotification

      public void discordAndIngameNotification(Embed embed)
    • disconnect

      public void disconnect(ServerSession session, String minimessage)
    • executeCommand

      public void executeCommand(String command, boolean accountOwnerPerms)