Class SpongeListenerSystem
java.lang.Object
com.djrapitops.plan.gathering.listeners.ListenerSystem
com.djrapitops.plan.gathering.listeners.SpongeListenerSystem
- All Implemented Interfaces:
SubSystem
-
Constructor Summary
ConstructorDescriptionSpongeListenerSystem
(net.playeranalytics.plugin.server.Listeners listeners, SpongeAFKListener afkListener, SpongeChatListener chatListener, SpongeDeathListener deathListener, SpongeGMChangeListener gmChangeListener, PlayerOnlineListener playerListener, SpongeWorldChangeListener worldChangeListener, SpongeServerShutdownSave spongeServerShutdownSave) -
Method Summary
Modifier and TypeMethodDescriptionvoid
callEnableEvent
(PlanPlugin plugin) protected void
protected void
Methods inherited from class com.djrapitops.plan.gathering.listeners.ListenerSystem
disable, enable
-
Constructor Details
-
SpongeListenerSystem
@Inject public SpongeListenerSystem(net.playeranalytics.plugin.server.Listeners listeners, SpongeAFKListener afkListener, SpongeChatListener chatListener, SpongeDeathListener deathListener, SpongeGMChangeListener gmChangeListener, PlayerOnlineListener playerListener, SpongeWorldChangeListener worldChangeListener, SpongeServerShutdownSave spongeServerShutdownSave)
-
-
Method Details
-
registerListeners
protected void registerListeners()- Specified by:
registerListeners
in classListenerSystem
-
unregisterListeners
protected void unregisterListeners()- Specified by:
unregisterListeners
in classListenerSystem
-
callEnableEvent
- Specified by:
callEnableEvent
in classListenerSystem
-