Class ModuleUtils
java.lang.Object
com.zenith.module.api.ModuleUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoiddebug(net.kyori.adventure.text.Component msg) voiddisconnect(ServerSession session, String reason) voidvoiddiscordNotification(Embed embed) voidvoidvoiderror(net.kyori.adventure.text.Component msg) voidvoidvoidinfo(net.kyori.adventure.text.Component msg) voidinGameAlert(String minedown) voidinGameAlertActivePlayer(String minedown) voidsendClientPacket(Packet packet) voidsendClientPacketAsync(Packet packet) voidsendClientPacketAwait(Packet packet) voidsendClientPacketsAsync(Packet... packets) voidvoidvoidwarn(net.kyori.adventure.text.Component msg)
-
Field Details
-
moduleLogPrefix
-
moduleAlertPrefix
-
-
Constructor Details
-
ModuleUtils
public ModuleUtils()
-
-
Method Details
-
sendClientPacketAsync
-
sendClientPacket
-
sendClientPacketAwait
-
sendClientPacketsAsync
-
debug
-
debug
-
debug
public void debug(net.kyori.adventure.text.Component msg) -
info
-
info
-
info
public void info(net.kyori.adventure.text.Component msg) -
warn
-
warn
-
warn
public void warn(net.kyori.adventure.text.Component msg) -
error
-
error
-
error
public void error(net.kyori.adventure.text.Component msg) -
inGameAlert
-
inGameAlertActivePlayer
-
discordNotification
-
discordAndIngameNotification
-
disconnect
-