Package org.kingdoms.managers
Class GUIProtectionInterrupter
java.lang.Object
org.kingdoms.managers.GUIProtectionInterrupter
- All Implemented Interfaces:
org.bukkit.event.Listener
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<SimpleLocation, CopyOnWriteArrayList<org.bukkit.entity.Player>> static final Map<SimpleLocation, CopyOnWriteArrayList<org.bukkit.entity.Player>> static final Map<org.bukkit.entity.Player, SimpleLocation> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcancelAllConversations(KingdomBuilding<?> building, UUID ignoring) static voidhandleConversation(KingdomBuilding<?> building, org.bukkit.entity.Player player) voidvoidonLeave(KingdomLeaveEvent event) voidonMemberLeave(KingdomLeaveEvent event) protected static booleanremoveLandManager(org.bukkit.entity.Player player) static voidwatchKingdomMember(UUID player, org.kingdoms.gui.InteractiveGUI gui, Runnable action)
-
Field Details
-
ONGOING_CONVERSATIONS
public static final Map<SimpleLocation,CopyOnWriteArrayList<org.bukkit.entity.Player>> ONGOING_CONVERSATIONS -
OPENED_GUI
-
OPENED_GUI_PLAYER
-
-
Constructor Details
-
GUIProtectionInterrupter
public GUIProtectionInterrupter()
-
-
Method Details
-
watchKingdomMember
-
onMemberLeave
-
removeLandManager
protected static boolean removeLandManager(org.bukkit.entity.Player player) -
cancelAllConversations
-
handleConversation
-
onKingdomDisband
-
onLeave
-