Class SessionTimeLimit


public class SessionTimeLimit extends Module
Displays an in-game warning when the 2b2t non-prio session time limit is about to be reached
  • Constructor Details

    • SessionTimeLimit

      public SessionTimeLimit()
  • Method Details

    • registerEvents

      public List<com.github.rfresh2.EventConsumer<?>> registerEvents()
      Description copied from class: Module
      Override this to register module events
      Overrides:
      registerEvents in class Module
    • enabledSetting

      public boolean enabledSetting()
      Description copied from class: Module
      Whether this module should be enabled automatically on startup Typically, this should be read from a config boolean value
      Specified by:
      enabledSetting in class Module
    • refreshNow

      public void refreshNow()
    • getSessionTimeLimit

      public Duration getSessionTimeLimit()