Class SessionTimeLimit
java.lang.Object
com.zenith.module.api.ModuleUtils
com.zenith.module.api.Module
com.zenith.module.impl.SessionTimeLimit
Displays an in-game warning when the 2b2t non-prio session time limit is about to be reached
-
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 valuevoidList<com.github.rfresh2.EventConsumer<?>> Override this to register module eventsMethods inherited from class Module
disable, enable, getClientPacketHandlerCodec, getServerPacketHandlerCodec, isEnabled, onDisable, onEnable, registerClientPacketHandlerCodec, registerServerPacketHandlerCodec, 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
-
SessionTimeLimit
public SessionTimeLimit()
-
-
Method Details
-
registerEvents
Description copied from class:ModuleOverride this to register module events- Overrides:
registerEventsin classModule
-
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
-
refreshNow
public void refreshNow() -
getSessionTimeLimit
-