Packages com.phoenixplugins.phoenixcrates.api crate

Package com.phoenixplugins.phoenixcrates.api.crate.events

Classs

ClassDescription
CrateOpenEventRepresents an event that occurs when a crate is opened by a player. This event contains information about the crate and the player interacting with it.
CratePlaceEventCalled when a player places a crate block in the world. Can be cancelled to prevent the placement.
CratePreOpenEventRepresents an event that occurs before a crate is opened by a player. This event allows for cancellation, preventing the crate from being opened.
CratePreRerollEvent
CratePreviewOpenEventRepresents an event that occurs when a player opens a crate preview. This event can be cancelled, preventing the preview from being opened.
CrateRerollEventEvent triggered when a crate is rerolled for a player. Contains information about the crate being rerolled, the reward selected, and the player who triggered the reroll.
CrateRewardPlayerEventRepresents an event triggered when a player receives a reward from opening a crate. This event contains information about the crate, the reward, and the player receiving the reward.
CrateRewardSelectionEvent
CrateRewardWinItemsEventRepresents an event triggered right before reward items are given to a player. This allows listeners to mutate or replace the final item list per player.
CrateSelectiveConfirmEventFired immediately before a selective-mode reward opening is confirmed by the player. This event is called after the player clicks a reward in the CrateSelectRewardMenu and confirms their choice, but before Crate#openCrate(OpeningContext) is actually invoked. Listeners may cancel this event to abort the opening entirely. Primary use-cases include: Verifying that the player still physically holds the required item (e.g. a lootbox) before the reward is granted. Consuming or transferring an item as part of the opening cost. Any addon-level gate that should block reward delivery. If the event is cancelled, the confirming listener is responsible for sending any relevant feedback message to the player. The reward menu is not automatically re-opened after cancellation.
Last updated 2 months ago
My Cart

Your cart is empty

Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping