Class WorldChangeShareHandler
java.lang.Object
org.mvplugins.multiverse.inventories.handleshare.WorldChangeShareHandler
WorldChange implementation of ShareHandler.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AffectedProfiles
protected final MultiverseInventories
protected final InventoriesConfig
protected final org.bukkit.entity.Player
protected final ProfileDataSource
protected final WorldGroupManager
protected final ProfileContainerStore
-
Constructor Summary
ConstructorsConstructorDescriptionWorldChangeShareHandler
(MultiverseInventories inventories, org.bukkit.entity.Player player, String fromWorld, String toWorld) -
Method Summary
Modifier and TypeMethodDescriptionprotected ShareHandlingEvent
Finalizes the transfer from one world to another.protected void
protected void
-
Field Details
-
player
protected final org.bukkit.entity.Player player -
affectedProfiles
-
inventories
-
profileDataStore
-
inventoriesConfig
-
worldGroupManager
-
worldProfileContainerStore
-
-
Constructor Details
-
WorldChangeShareHandler
public WorldChangeShareHandler(MultiverseInventories inventories, org.bukkit.entity.Player player, String fromWorld, String toWorld)
-
-
Method Details
-
createEvent
-
prepareProfiles
protected void prepareProfiles() -
handleSharing
Finalizes the transfer from one world to another. This handles the switching inventories/stats for a player and persisting the changes. -
logBypass
protected void logBypass()
-