Contents
Class PluginListPageManager
java.lang.Object
com.hypixel.hytale.server.core.plugin.PluginListPageManager
A manager for active plugin list pages, for updating and notifying changes
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA component that stores the session settings for a player -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic PluginListPageManagerThe static plugin list manager for faster access -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeregisters the given page as an active pagestatic PluginListPageManagerget()voidnotifyPluginChange(Map<PluginIdentifier, PluginBase> plugins, PluginIdentifier pluginIdentifier) Called when a specific plugin has been changed, updating all active pagesvoidRegisters the given page as an active page
-
Field Details
-
instance
The static plugin list manager for faster access
-
-
Constructor Details
-
PluginListPageManager
public PluginListPageManager()Default Constructor for aPluginListPageManagerinstance
-
-
Method Details
-
get
- Returns:
- the static
PluginListPageManagerinstance
-
registerPluginListPage
Registers the given page as an active page- Parameters:
page- The page to be registered
-
deregisterPluginListPage
Deregisters the given page as an active page- Parameters:
page- The page to be deregistered
-
notifyPluginChange
public void notifyPluginChange(@Nonnull Map<PluginIdentifier, PluginBase> plugins, @Nonnull PluginIdentifier pluginIdentifier) Called when a specific plugin has been changed, updating all active pages- Parameters:
plugins- The map of all plugins availablepluginIdentifier- The identifier of the plugin that has changed
-