Class WriteOnlyShareHandler
java.lang.Object
org.mvplugins.multiverse.inventories.handleshare.WriteOnlyShareHandler
-
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
ConstructorsConstructorDescriptionWriteOnlyShareHandler
(MultiverseInventories inventories, org.bukkit.entity.Player player) WriteOnlyShareHandler
(MultiverseInventories inventories, org.bukkit.entity.Player player, String worldName, ProfileType profileType) -
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
-
WriteOnlyShareHandler
-
WriteOnlyShareHandler
public WriteOnlyShareHandler(MultiverseInventories inventories, org.bukkit.entity.Player player, String worldName, ProfileType profileType)
-
-
Method Details
-
prepareProfiles
protected void prepareProfiles() -
createEvent
-
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()
-