Class ActiveHours
java.lang.Object
com.zenith.module.api.ModuleUtils
com.zenith.module.api.Module
com.zenith.module.impl.ActiveHours
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class com.zenith.module.api.ModuleUtils
moduleAlertPrefix, moduleLogPrefix -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic booleanisActiveHoursDisconnect(String message) voidvoidonEnable()List<com.github.rfresh2.EventConsumer<?>> Methods inherited from class com.zenith.module.api.Module
disable, enable, getClientPacketHandlerCodec, getServerPacketHandlerCodec, isEnabled, 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
-
ACTIVE_HOURS_DISCONNECT_PREFIX
- See Also:
-
-
Constructor Details
-
ActiveHours
public ActiveHours()
-
-
Method Details
-
enabledSetting
public boolean enabledSetting()- Specified by:
enabledSettingin classModule
-
registerEvents
- Overrides:
registerEventsin classModule
-
onEnable
-
onDisable
-
isActiveHoursDisconnect
-