Class WriteOnlyShareHandler
java.lang.Object
org.mvplugins.multiverse.inventories.handleshare.WriteOnlyShareHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AffectedProfilesprotected final MultiverseInventoriesprotected final InventoriesConfigprotected final org.bukkit.entity.Playerprotected final ProfileDataSourceprotected final WorldGroupManagerprotected 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 ShareHandlingEventFinalizes the transfer from one world to another.protected voidprotected 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()
-