# 🏆 Rewards

Each reward's own settings are on [Edit Reward](edit-reward.md), [Win Items & Win Commands](win-items-and-commands.md) and [Cooldowns](cooldowns.md).

## Reward Modes

The rewards mode decides how players get a reward: [Random](../rewards-mode/README.md#random) draws one by chance, [Selective](../rewards-mode/README.md#selective-non-rng) lets the player pick it.

<figure><img src="../../.gitbook/assets/editor/crates/rewards.png" alt="" width="563"><figcaption><p>Editor > Crates > Crate</p></figcaption></figure>

## Add Rewards

### Add a Reward

Click the stained glass to add a reward to the crate.

<figure><img src="../../.gitbook/assets/Screenshot 2025-05-24 200822.png" alt="" width="563"><figcaption><p>Editor > Crates > Crate > Rewards</p></figcaption></figure>

#### In-Game Example

Example of adding a reward.

<figure><img src="../../.gitbook/assets/number_16-ezgif.com-video-to-gif-converter.gif" alt="" width="563"><figcaption><p>Diamond Set Example as a Reward</p></figcaption></figure>

### Add Multiple Rewards ⭐

If you don’t want the hassle of adding multiple rewards to your crate one by one, you can shift left click on the glass to quickly add multiple rewards with just a few clicks.

Example of adding multiple rewards:

<figure><img src="../../.gitbook/assets/Untitledvideo-MadewithClipchamp80-ezgif.com-video-to-gif-converter (1).gif" alt="" width="563"><figcaption><p>Multiple Rewards Example as Rewards</p></figcaption></figure>

> **Info:**
This feature is only available with the  Premium Plan.

### Reordering

You can use the reordering option to sort the rewards in your desired order for the crate's preview menu.

<figure><img src="../../.gitbook/assets/Untitledvideo-MadewithClipchamp81-ezgif.com-video-to-gif-converter.gif" alt="" width="563"><figcaption><p>Reordering Rewards</p></figcaption></figure>

### Max Win Rewards

> **Warning:**
This features is only available to the Random Rewards Mode.

With Max Win Rewards, you can specify how many rewards a user can win by opening a single crate. The minimum number of rewards a user can receive is 1, and the maximum is 5.

<figure><img src="../../.gitbook/assets/Screenshot 2025-01-10 212238.png" alt="" width="563"><figcaption><p>Max Win Rewards</p></figcaption></figure>

> **Info:**
With the Plan, you are allowed to use up to 30 Max Win Rewards.

## Alternative Reward

> **Info:**
You can't use this feature with the selective reward mode.

If a user has previously won a reward with a limit, you can provide an alternative reward instead. This is a great option to ensure users receive a different item if they have already won the original one.

<figure><img src="../../.gitbook/assets/editor/reward/alternative-reward.png" alt="" width="375"><figcaption><p>Editor > Crates > Crate > Rewards > Reward</p></figcaption></figure>

This option will only work if it is enabled, so make sure to enable it.

### Customize the Reward

An alternative reward works similarly to a normal reward but is only given when the main reward has already been won.

By default, the alternative reward is a diamond pickaxe, which will be displayed as the alternative reward if the main item is won. If you don’t want to award the diamond pickaxe, set "Virtual Item" to true. This will make it function only as a display item in the crate while still running the associated commands.

<figure><img src="../../.gitbook/assets/editor/reward/alternative-item.png" alt="" width="375"><figcaption><p>Editor > Crates > Crate > Rewards > Reward</p></figcaption></figure>

### Customize the Item

In the editor, you can drag and drop the item you want to assign as a reward. Alternatively, you can edit its display name and lore by left-clicking on the item.

<figure><img src="../../.gitbook/assets/Untitledvideo-MadewithClipchamp84-ezgif.com-video-to-gif-converter.gif" alt="" width="563"><figcaption><p>Example of Customizing an Item</p></figcaption></figure>

### Win Commands & Broadcast

Just like a normal reward, an alternative reward has its own Win Commands menu to run commands when it's given, and its own Broadcast toggle to announce it to the server when a player receives it.

## Broken Rewards

Every reward is checked when the server starts, on `/crates reload` and each time a crate is saved in the editor. A reward is broken when it can't be given: no display item, an item from a plugin that is not installed (ItemsAdder, Nexo, MMOItems and the others), an item ID that plugin doesn't know, a material that doesn't exist on the server, a saved item that is missing, or nothing to give at all. Broken rewards are left out of the roll, so players still get one of the working rewards. A crate whose rewards are all broken can't be opened and no key is taken.

Commands that don't exist on the server and empty command lines are listed as warnings; those rewards are still rolled.

The console lists the problems on startup and reload, and admins with `phoenixcrates.admin` are told on join which crates have broken rewards. Click a crate in that message to open its editor. In the editor, a broken reward shows the reason in its tooltip. `/crates brokenRewards` checks everything again and lists each problem.

If a reward still fails while it is being given, the player gets back what that opening cost them, the keys or the money, and the console logs what happened.

## Simulate the Odds ⭐

`/crates simulate <crate> [count]` rolls a crate 10,000 times, or up to 1,000,000, without giving anything, using no keys and changing no stats, limits or cooldowns. It lists every reward with how often it was won, its share of the wins and the chance it has in the editor, and which guaranteed rewards a new player gets and when. It only works for crates in the Random rewards mode. Permissions, cooldowns and add-on rules such as rarities are not part of the test.

> **Info:**
This feature is only available with the Premium Plan.

Source: https://www.phoenixplugins.com/docs/phoenix-crates/main-features/rewards