Lethium

Crate Calculator

Crate Chance Calculator

Enter the rewards of a crate and see the real chance of each one, what a key pays out on average, and how many keys a player needs. Then copy the crate file for CrazyCrates or ExcellentCrates.

Tools / Crate Calculator

Your crate

How the plugin picks a reward

Enter rewards as

Rarities

Rewards

Value is what the reward is worth in your money, for example its sell price. It is only used for the value per key.

Real chances

Chance per rarity

RewardChance1 inAdds per key

Odds over many keys

RewardIn 10 keysAvg keysFor 90%Avg cost

"In N keys" is the chance to get the reward at least once. "Avg keys" is how many keys it takes on average. "For 90%" is how many keys make the chance 90%. "Avg cost" is the average keys times the key price.

Test it: simulate openings

Openings

Crate files and odds table

What are my real chances? Import a crate

Paste a CrazyCrates crate file, an ExcellentCrates crate file, or the Rewards.Rarities part of the ExcellentCrates config.yml. It replaces the crate above.

How to use the crate chance calculator

  1. Pick how your plugin picks a reward. One pool is CrazyCrates, Rarity first is ExcellentCrates, Tier first is a CrazyCrates Cosmic or Casino crate. The same weights give different chances in each.
  2. Add the rewards: a name with colour codes, the item that shows in the menu, a weight, a rarity and what the reward is worth in your money. Open Commands, lore and tooltip to add the commands and to see the item tooltip.
  3. Read Real chances. Set the key price to see whether keys take money out of your economy or add to it.
  4. Press Simulate 1,000 openings to test the crate. The same seed always gives the same result.
  5. Copy or download the crate file, or the odds table for your store page or Discord.

Already have a crate? Paste its file into Import a crate and the calculator shows its real chances.

How CrazyCrates and ExcellentCrates pick a reward

We read this from the plugins' source code, not from guesses.

CrazyCrates 5.2

Every prize has a Weight. The chance is the weight divided by the sum of all weights. A prize without a weight is left out. Cosmic and Casino crates first pick a tier by the tier Weight, then a prize of that tier.

Prizes:
  "diamonds":
    DisplayName: "<aqua>4 Diamonds"
    DisplayItem: "diamond"
    Weight: 12.0
    Commands:
      - "eco give %player% 1000"

ExcellentCrates 6.6

Rarities are set once in config.yml under Rewards.Rarities and every crate shares them. When a crate opens, the plugin picks one of the rarities that the crate's rewards use, by rarity weight. Then it picks a reward of that rarity by reward weight. A rare reward alone in its rarity can therefore be more likely than a common reward that shares its rarity with ten others.

Rewards:
  List:
    "diamonds":
      Type: COMMAND
      Weight: 12.0
      Rarity: "rare"
      Name: "<aqua>4 Diamonds"
      Commands:
        - "eco give %player_name% 1000"

The calculator writes commands with {player} and turns it into %player% for CrazyCrates and %player_name% for ExcellentCrates. Colour codes such as &6&l are turned into MiniMessage tags, which both plugins read.

Minecraft crate rewards: publishing the odds

If players pay real money for keys, show them the chance of each reward so they know what they buy, and check the rules of your store provider and the Minecraft Usage Guidelines for paid items. The Odds table output gives a Markdown table for Discord and forum posts, and a CSV file for a spreadsheet. Publish the real chances, not the weights: the weights only mean something next to the total.

Balancing a crate

  • Value per key is the average payout of one opening. A key that costs more than that takes money out of the economy. A key from voting costs the player nothing, so all of its value is new money.
  • A reward at 1% is not won once per 100 keys. Look at Keys for 90% to see how long an unlucky player waits.
  • Rewards that are keys for another crate add that crate's value per key to this one. Put that number in the Value field.

Questions

How do I work out the chance of a crate reward?

In CrazyCrates, divide the reward's Weight by the sum of all Weights in the crate. A reward with weight 5 in a crate whose weights add up to 200 has a 2.5% chance. In ExcellentCrates, multiply the chance of its rarity by its weight divided by the weights of all rewards of that rarity.

Do the weights have to add up to 100?

No. Both plugins divide by the total, so 1, 2 and 7 give the same odds as 10, 20 and 70. A total of 100 only makes the weights easier to read as percentages.

Why does my player not get the rare reward after 100 keys at 1%?

Every opening is a new roll. At 1%, the chance to get the reward at least once in 100 keys is about 63%, not 100%. To be 90% sure, a player needs 230 keys. The table Odds over many keys shows these numbers for every reward.

What is the value per key?

It is the average payout of one opening: each reward's value times its chance, added up. If a key costs more than that, keys take money out of your economy. If it costs less, every opening adds money.

Is my crate sent anywhere?

No. The calculator runs in your browser. Your crate is saved in this browser and in the page address, so the Share link button can pass it on.

What the calculator leaves out

It does not know about per-player limits: CrazyCrates Max-Pulls and BlackListed-Permissions, and ExcellentCrates win limits and permission rules. A reward a player cannot win drops out, and the chances of the others go up for that player. The files are built from the plugins' source code and default files; test a new crate on a test server before you open it to players.

Item names: PrismarineJS minecraft-data (MIT), Minecraft Java 26.1. The item icons are our own drawings.