Class AutoDisconnect
java.lang.Object
com.zenith.module.api.ModuleUtils
com.zenith.module.api.Module
com.zenith.module.impl.AutoDisconnect
-
Field Summary
FieldsFields inherited from class com.zenith.module.api.ModuleUtils
moduleAlertPrefix, moduleLogPrefix -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidvoidvoidvoidstatic booleanisAutoDisconnectReason(String reason) List<com.github.rfresh2.EventConsumer<?>> Methods inherited from class com.zenith.module.api.Module
disable, enable, getClientPacketHandlerCodec, getServerPacketHandlerCodec, isEnabled, onDisable, onEnable, registerClientPacketHandlerCodec, registerServerPacketHandlerCodec, setEnabled, subscribeEvents, syncEnabledFromConfig, unsubscribeEventsMethods inherited from class com.zenith.module.api.ModuleUtils
debug, debug, debug, disconnect, discordAndIngameNotification, discordNotification, error, error, error, info, info, info, inGameAlert, inGameAlertActivePlayer, sendClientPacket, sendClientPacketAsync, sendClientPacketAwait, sendClientPacketsAsync, warn, warn, warn
-
Field Details
-
AUTODISCONNECT_REASON_PREFIX
- See Also:
-
-
Constructor Details
-
AutoDisconnect
public AutoDisconnect()
-
-
Method Details
-
registerEvents
- Overrides:
registerEventsin classModule
-
enabledSetting
public boolean enabledSetting()- Specified by:
enabledSettingin classModule
-
handleLowPlayerHealthEvent
-
handleWeatherChangeEvent
-
handleProxyClientDisconnectedEvent
-
handleNewPlayerInVisualRangeEvent
-
isAutoDisconnectReason
-