VoxelTropia

Wiki / Crates and keys

Mechanics | specification

Crates and keys

In the Farpoint lobby there are crates that you open with keys. A key gives one weighted roll: an item, VED, experience or a pet. Keys are bought from the Merchant, dropped by mobs, rewarded by the Old Mage's quest and found in other crates.

Rules at a glance

  • Crates stand in the lobby, in Farpoint. Each crate has its own key. One key is one roll.
  • A key is an ordinary item. You can buy it, loot it, get it from another player or roll it in another crate.
  • The reward is rolled by weight the moment the key is used. The animation only reveals it.
  • The reward can be an item, VED, experience or a pet.
  • The reward is never lost: not when you close the window, not when you leave the game, not when the server shuts down.

Crates in the lobby

The crates stand in two rows of three, at height 44. Each one is a real chest block with particles in its color circling around it. They are on every lobby server and work the same way.

CrateKeyLocation (x y z)AppearanceRewardsTotal weight
Copper CrateCopper Key-51 44 -9copper chest, dust #D07A455100
Iron CrateIron Key-55 44 -9copper chest, dust #E8E8E87104
Gold CrateGold Key-59 44 -9copper chest, dust #FFD23F10111
Diamond CrateDiamond Key-51 44 17oxidized copper chest, dust #4FE3E0798
Obsidian CrateObsidian Key-55 44 17oxidized copper chest, purple portal particles692
VIP CrateVIP Key-59 44 17oxidized copper chest, dust #3CE86B5100

Keys

A key is a tripwire hook with an enchantment glint. Its description says which crate it opens. Keys stack up to 64. Using one takes a single key from your hand.

KeyRarityOpensShop priceAll sources
Copper KeyCommonCopper Crate250 VEDshop: 250 VED
Old Mage's quest (once)
Deep Zombie: 2.0%
Iron KeyUncommonIron Crate750 VEDshop: 750 VED
Strong Zombie: 5.0%
Fire Slime: 4.0%
Forest Guardian: 5.0%
Copper Crate: 5.0%
Gold KeyRareGold Crate2,000 VEDshop: 2,000 VED
Elite Skeleton: 5.0%
Specter: 20.0%
Iron Crate: 4.8%
Diamond KeyEpicDiamond Crate6,000 VEDshop: 6,000 VED
Mini Boss: 25.0%
Specter: 5.0%
Gold Crate: 3.6%
VIP Crate: 13.0%
Obsidian KeyLegendaryObsidian Crate15,000 VEDshop: 15,000 VED
Mini Boss: 5.0%
Diamond Crate: 3.1%
VIP KeyMythicVIP Cratenoneno source

Merchant's Shop

Five keys are in the Merchant's Shop window (the Merchant NPC or the command /sklep, also /shop and /handlarz). They are the only items in that shop paid for in VED. A key's description in the shop shows the price and "Click to buy".

  1. Clicking a key takes the price from your VED account. A second click during the purchase is ignored.
  2. Not enough VED: "Not enough VED - this key costs X VED." and a refusal sound. Nothing is taken.
  3. After payment the key goes to your inventory, or drops at your feet if the inventory is full. Message: "Bought key for X VED."
  4. If the key cannot be issued, the VED goes back to your account: "Could not issue the key - VED refunded."

The VIP Key is not for sale.

The Old Mage's quest

A new player's first task. The Old Mage asks for 10 Zombie Hearts from the zombie zone near Farpoint. After you hand in the hearts, you get once:

  • 500 VED,
  • 100 experience points,
  • 1 x Copper Key, so you can open your first crate right away.

Mob drops

Keys drop from wild mobs. A farm mob never drops a key. Looting changes neither the chance nor the number of keys. The key goes to the inventory of the killer or of a party member, according to the loot sharing rules (Society and party).

chance = base chance x (1 + Magic Find / 100) only when base chance <= 5%, at most 100% chance = base chance when base chance > 5%
MobLevelKeyChanceMagic Find 50Avg. kills
Deep Zombie1Copper Key2.0%3.0%50
Strong Zombie5Iron Key5.0%7.5%20
Fire Slime8Iron Key4.0%6.0%25
Forest Guardian8Iron Key5.0%7.5%20
Elite Skeleton10Gold Key5.0%7.5%20
Mini Boss (boss)20Diamond Key25.0%25.0%4
Mini Boss (boss)20Obsidian Key5.0%7.5%20
Specter25Diamond Key5.0%7.5%20
Specter25Gold Key20.0%20.0%5

The "Magic Find 50" column is an example: a player with Magic Find 50 has a chance higher by half, but only for drops up to 5%. "Avg. kills" is 1 / base chance.

Key from a crate

Almost every crate can give a key to a higher crate. This makes a ladder: copper -> iron -> golden -> diamond -> obsidian.

CrateCan giveChanceAvg. keys per 1 higher key
Copper CrateIron Key5.0%20.0
Iron CrateGold Key4.8%20.8
Gold CrateDiamond Key3.6%27.8
Diamond CrateObsidian Key3.1%32.7
VIP CrateDiamond Key13.0%7.7
Example

100 Copper Keys give on average 5.0 Iron Keys (5.0% from each). Those keys give on average 0.24 Gold Keys. So the ladder works as a rare bonus, not as a source of higher keys.

Opening

Clicks

What the player doesResult
Right click with the correct key in the main handUses up 1 key and starts the roll.
Right click with a key to a different crateMessage "This key opens: ... Crate" and the reward preview window. The key stays.
Right click without a keyThe reward preview window.
Left click (also with a key)The reward preview window. You cannot use up a key by accident this way.
Key in the off handDoes not count. The key must be in the main hand.
Click during your own rollNothing happens. A player rolls at most one crate at a time.

A crate never opens an ordinary storage inventory.

Preview window

  • Title: "Rewards: ... Crate". Gray glass pane background.
  • Rewards lie in rows of 7, in the order of the tables below. Each has "Chance: X%" in its description.
  • A reward with an amount range has "Amount: min–max" in its description. VED and experience have the range in the name.
  • At the bottom center lies a key icon with the hint "Hold this key in your hand and right-click the crate."
  • The window has 2 border rows plus as many rows as the rewards need, at most 6 rows. So it fits up to 28 rewards.
  • Nothing can be taken out of or put into the window.
chance in window = weight / total weight x 100% rounded to whole percent; below 1% with one decimal place

Roll and animation

  1. The key disappears from your hand. The reward and its amount are rolled immediately.
  2. The chest lid rises. After 0.6 s the window "Rolling: ... Crate" opens (3 rows, black glass panes, green arrows v and ^ above and below the center).
  3. The middle row scrolls left by one icon per step. Each step is a click of an ever higher pitch. The icons next to the reward are rolled with the same weights, so common items often show up.
  4. The steps slow down: 27 shifts, 5.05 s in total. On the last step the rolled reward stops in the center, between the arrows.
  5. The reward is given immediately after the stop. A level-up sound plays. The window stays open until you close it.
ParameterValue
From click to window opening12 ticks = 0.6 s
Intervals between steps (ticks)2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 5, 5, 6, 7, 8, 10, 12
Scrolling time101 ticks = 5.05 s
From click to reward113 ticks ~ 5.7 s

Interruption

  • Closing the window during the animation ends it immediately and gives the reward.
  • Leaving the game during the roll (also before the window opens) gives the reward before the inventory is saved. So the item is in your inventory the next time you join.
  • Shutting down the server gives rewards to everyone who is rolling at that moment.
  • The reward is always given exactly once.

Lid

The lid stays open as long as anyone has a window of that crate open: preview or roll. Several players can watch or roll at the same crate at once. The lid closes when the last of them closes the window or leaves the game.

Rolling the reward

Every reward in a crate has a weight. The chance is the share of the weight in the total weight of that crate. A reward with weight 0 is disabled and does not appear in the window.

reward chance = weight / crate total weight amount = random from min to max inclusive, every value equally likely
  1. We roll an integer r from 0 to (total weight - 1).
  2. We go through the rewards in the order of the table and subtract weights. The winning reward is the one at which r falls below zero.
  3. We roll the amount from that reward's range.
Example

The Gold Crate has a total weight of 111. The VED reward has weight 25, so chance = 25 / 111 = 22.52%. The preview window shows "23%". If it comes up, the player gets from 500 to 1,500 VED, 1,000 on average.

The chance does not depend on the player: Magic Find, level, skills and the number of crates opened change nothing. Consecutive rolls are independent. There is no guarantee after a streak of bad luck.

Reward types

TypeWhat the player getsMessage
ItemAn item in the inventory. Minecraft items have no quality."You won: 3x iron ingot", for game items their name
VEDAn amount added to the VED account, no inventory space needed."You received X VED for: ... Crate" (from 1000 abbreviated, e.g. 1.5K)
ExperienceMinecraft experience points (not levels)."You won: X experience"
PetA pet of the given rarity goes straight to the collection, always 1 piece. A duplicate is also a new pet."New pet in your collection: Rare Bee. Open /pets."

Full inventory

An item goes to the inventory first, filling stacks and free slots. The part that does not fit drops at the player's feet. The win message appears the same way. VED, experience and pets do not need space. A key bought in the shop works the same way.

Reward tables

The full contents of each crate in the order of the preview window. "Chance" is the exact value, "in window" is the rounding the player sees. The average amount is (min + max) / 2.

Copper Crate

key: Copper Key | 5 rewards | total weight 100
RewardTypeAmountWeightChance In windowAvg. keys
Breaditem8–163030.00%
30%3.3
Iron Ingotitem2–52525.00%
25%4.0
VEDVED50–1502525.00%
25%4.0
Experienceexperience20–501515.00%
15%6.7
Iron Key specialitem155.00%
5%20.0
Total100100.00%100%

Expected value: 25 VED per opening from VED rewards, on average; 5.2 experience points on average.

Iron Crate

key: Iron Key | 7 rewards | total weight 104
RewardTypeAmountWeightChance In windowAvg. keys
Pet Uncommon Silverfish specialpet143.85%
4%26.0
Iron Ingotitem8–162524.04%
24%4.2
Gold Ingotitem3–82019.23%
19%5.2
Iron Sworditem11211.54%
12%8.7
VEDVED200–5002524.04%
24%4.2
Experienceexperience50–1201312.50%
13%8.0
Gold Key specialitem154.81%
5%20.8
Total104100.00%101%

Expected value: 84 VED per opening from VED rewards, on average; 10.6 experience points on average.

Gold Crate

key: Gold Key | 10 rewards | total weight 111
RewardTypeAmountWeightChance In windowAvg. keys
Pet Rare Bee specialpet143.60%
4%27.8
Bee Minion Skin specialitem132.70%
3%37.0
Snow Golem Minion Skin specialitem132.70%
3%37.0
Dragon Minion Skin specialitem121.80%
2%55.5
Vault Seal specialitem154.50%
5%22.2
Golden Appleitem1–32522.52%
23%4.4
Gold Blockitem1–32018.02%
18%5.5
Diamonditem1–22018.02%
18%5.5
VEDVED500–1,5002522.52%
23%4.4
Diamond Key specialitem143.60%
4%27.8
Total111100.00%103%

Expected value: 225 VED per opening from VED rewards, on average.

Diamond Crate

key: Diamond Key | 7 rewards | total weight 98
RewardTypeAmountWeightChance In windowAvg. keys
Vault Seal specialitem155.10%
5%19.6
Diamonditem3–62525.51%
26%3.9
Diamond Sworditem11515.31%
15%6.5
Emeralditem5–102020.41%
20%4.9
Enchanted Golden Appleitem155.10%
5%19.6
VEDVED1,500–4,0002525.51%
26%3.9
Obsidian Key specialitem133.06%
3%32.7
Total98100.00%100%

Expected value: 702 VED per opening from VED rewards, on average.

Obsidian Crate

key: Obsidian Key | 6 rewards | total weight 92
RewardTypeAmountWeightChance In windowAvg. keys
Ancient Vault Key specialitem122.17%
2%46.0
Netherite Scrapitem1–22527.17%
27%3.7
Diamond Blockitem12021.74%
22%4.6
Totem of Undyingitem11213.04%
13%7.7
Elytraitem133.26%
3%30.7
VEDVED4,000–10,0003032.61%
33%3.1
Total92100.00%100%

Expected value: 2,283 VED per opening from VED rewards, on average.

VIP Crate

key: VIP Key | 5 rewards | total weight 100
RewardTypeAmountWeightChance In windowAvg. keys
Diamonditem5–102525.00%
25%4.0
Enchanted Golden Appleitem1–21212.00%
12%8.3
Totem of Undyingitem11010.00%
10%10.0
VEDVED2,000–5,0004040.00%
40%2.5
Diamond Key specialitem11313.00%
13%7.7
Total100100.00%100%

Expected value: 1,400 VED per opening from VED rewards, on average.

Special rewards

Things you cannot buy from the Merchant and that crates give rarely.

RewardCrateChanceAvg. keysKey cost in shopUsed for
Ancient Vault KeyObsidian Crate2.17%46.0690,000 VEDbank upgrade (Bank): level 10: 1 pc.
Pet Rare BeeGold Crate3.60%27.855,500 VEDpet for the collection (Pets)
Bee Minion SkinGold Crate2.70%37.074,000 VEDminion skin (Minions)
Dragon Minion SkinGold Crate1.80%55.5111,000 VEDminion skin (Minions)
Snow Golem Minion SkinGold Crate2.70%37.074,000 VEDminion skin (Minions)
Pet Uncommon SilverfishIron Crate3.85%26.019,500 VEDpet for the collection (Pets)
Vault SealGold Crate4.50%22.244,400 VEDbank upgrade (Bank): level 8: 2 pcs., level 9: 4 pcs.
Vault SealDiamond Crate5.10%19.6117,600 VEDbank upgrade (Bank): level 8: 2 pcs., level 9: 4 pcs.

"Avg. keys" = 1 / chance. "Key cost in shop" = avg. keys x the key price at the Merchant, not counting the value of the other rewards.

Example

The chance of a Vault Seal in the "Gold Crate" is 5 / 111 = 4.50%. The chance that 20 keys give at least one Vault Seal = 1 - (1 - 0.0450)20 = 60.2%. For 2 pieces for the level 8 bank upgrade you need on average 44.4 keys.

Key value

A summary for the designer: how much VED and experience one opening gives on average. Items have no price here, so this is a lower bound of the value.

CrateKey priceAvg. VEDVED / priceAvg. experienceChance of a higher key
Copper Crate250 VED2510.0%5.25.0%
Iron Crate750 VED8411.2%10.64.8%
Gold Crate2,000 VED22511.3%–3.6%
Diamond Crate6,000 VED70211.7%–3.1%
Obsidian Crate15,000 VED2,28315.2%––
VIP Crate–1,400––13.0%

Avg. VED = sum over VED rewards: chance x (min + max) / 2.

Crate configuration

  • Crates, keys and rewards are in the game database. The list refreshes every minute, without a server restart.
  • A crate without any reward with a weight above 0 does not work.
  • A minimum amount below 1 counts as 1. A maximum below the minimum counts as the minimum.
  • An item reward is a Minecraft item or a game item (e.g. a key). A pet reward is a species and a rarity (Common ... Legendary).
  • The order of rewards in the window is set by the designer. It does not affect the chances.
  • The preview window holds up to 28 rewards. Further ones would be rolled but invisible.

To be decided

  • The VIP Key has no source. It is not in the shop, in drops or in any crate. The VIP ranks in the shop menu are "Coming soon". The VIP Crate stands in the lobby, but the player cannot open it.
  • A reward can be lost. When an item cannot be created, a pet cannot be saved or VED cannot be paid in, the player gets nothing and the key is not returned. There is no key refund and no message.
  • Overflow at the feet can be picked up by anyone. With a full inventory, the item from the crate lies on the ground with no owner. Mob loot in this situation can be picked up only by the recipient.
  • Rounding in the preview window. Chances from 1% are shown in whole percent, so the sum in the window does not always give 100%, and e.g. 4.50% shows as 5%.
  • Minecraft item names in the message are in English lowercase ("3x iron ingot"), regardless of the player's language.
  • Crate names come from the database in Polish, while the other game content is in English (Vault Seal, Bee Minion Skin). This page uses the English names of the crates and keys. To be decided whether to rename.
  • Different win messages. Item and experience have "You won: ...", VED has a deposit message, a pet has a collection message.
  • Pets in crates have a fixed rarity and can repeat. There are no rules for duplicates.
  • Profitability. The average VED return is much lower than the key price (table "Key value"). The rest of the value is supposed to come from items, but they have no set price.
  • Ancient Vault Key needs on average several dozen Obsidian Keys. To be checked when balancing the level 10 bank.
  • Minion skin weights. The minion plan assumed a weight of 3 for each of the three skins in the Gold Crate. In the game Bee Minion Skin has weight 3, Snow Golem Minion Skin has weight 3, Dragon Minion Skin has weight 2.