Class BukkitSessionManager
java.lang.Object
com.sk89q.worldguard.session.AbstractSessionManager
com.sk89q.worldguard.bukkit.session.BukkitSessionManager
- All Implemented Interfaces:
com.sk89q.worldguard.session.SessionManager
,Runnable
,org.bukkit.event.Listener
public class BukkitSessionManager
extends com.sk89q.worldguard.session.AbstractSessionManager
implements Runnable, org.bukkit.event.Listener
Keeps tracks of sessions and also does session-related handling
(flags, etc.).
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sk89q.worldguard.session.AbstractSessionManager
com.sk89q.worldguard.session.AbstractSessionManager.CacheKey
-
Field Summary
Fields inherited from class com.sk89q.worldguard.session.AbstractSessionManager
RUN_DELAY, SESSION_LIFETIME
-
Constructor Summary
-
Method Summary
Methods inherited from class com.sk89q.worldguard.session.AbstractSessionManager
createSession, customHandlersRegistered, get, getIfPresent, registerHandler, resetState, unregisterHandler
-
Constructor Details
-
BukkitSessionManager
public BukkitSessionManager()
-
-
Method Details
-
resetAllStates
public void resetAllStates()Re-initialize handlers and clear "last position," "last state," etc. information for all players.- Specified by:
resetAllStates
in interfacecom.sk89q.worldguard.session.SessionManager
-
onPlayerProcess
-
run
public void run() -
hasBypass
public boolean hasBypass(com.sk89q.worldguard.LocalPlayer player, com.sk89q.worldedit.world.World world) - Specified by:
hasBypass
in interfacecom.sk89q.worldguard.session.SessionManager
- Overrides:
hasBypass
in classcom.sk89q.worldguard.session.AbstractSessionManager
-
shutdown
public void shutdown()
-