Class ExtraChat
java.lang.Object
com.zenith.module.api.ModuleUtils
com.zenith.module.api.Module
com.zenith.module.impl.ExtraChat
-
Field Summary
Fields inherited from class ModuleUtils
moduleAlertPrefix, moduleLogPrefix -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether this module should be enabled automatically on startup Typically, this should be read from a config boolean valuenet.kyori.adventure.text.ComponentinsertClickableLinks(net.kyori.adventure.text.Component component) Override this to register client packet handlers Meaning packets between zenith and the destination serverList<com.github.rfresh2.EventConsumer<?>> Override this to register module eventsOverride this to register server packet handlers Meaning packets between zenith and players - both spectators and controlling playerMethods inherited from class Module
disable, enable, getClientPacketHandlerCodec, getServerPacketHandlerCodec, isEnabled, onDisable, onEnable, setEnabled, subscribeEvents, syncEnabledFromConfig, unsubscribeEventsMethods inherited from class ModuleUtils
debug, debug, debug, disconnect, discordAndIngameNotification, discordNotification, error, error, error, executeCommand, info, info, info, inGameAlert, inGameAlertActivePlayer, sendClientPacket, sendClientPacketAsync, sendClientPacketAwait, sendClientPacketsAsync, warn, warn, warn
-
Constructor Details
-
ExtraChat
public ExtraChat()
-
-
Method Details
-
enabledSetting
public boolean enabledSetting()Description copied from class:ModuleWhether this module should be enabled automatically on startup Typically, this should be read from a config boolean value- Specified by:
enabledSettingin classModule
-
registerEvents
Description copied from class:ModuleOverride this to register module events- Overrides:
registerEventsin classModule
-
registerServerPacketHandlerCodec
Description copied from class:ModuleOverride this to register server packet handlers Meaning packets between zenith and players - both spectators and controlling player- Overrides:
registerServerPacketHandlerCodecin classModule
-
registerClientPacketHandlerCodec
Description copied from class:ModuleOverride this to register client packet handlers Meaning packets between zenith and the destination server- Overrides:
registerClientPacketHandlerCodecin classModule
-
insertClickableLinks
public net.kyori.adventure.text.Component insertClickableLinks(net.kyori.adventure.text.Component component)
-