DUXPLIMA Documentation

boxes.conf

Every key of a mystery box and its table.

boxes = [
  {
    id    = "common"
    tier  = "common"
    icon  = "CHEST"
    price = 1000.0
    rewards = [
      { cosmetic = "flame_trail", weight = 30 }
      { cosmetic = "cloud_trail", weight = 5, duplicate-coins = 300.0 }
    ]
  }
]
KeyMeaning
idThe box's name, in its node and in a station
tiercommon, uncommon, rare, epic or legendary: its colour
iconThe menu item
priceOne opening's cost
permissionThe node; default uxmcosmetics.box.<id>
rewardsThe table
rewards[].cosmeticA piece id from any family
rewards[].weightIts share of the draw; 0 is never drawn
rewards[].duplicate-coinsWhat a duplicate pays; 0 or absent pays economy.duplicate-refund-fraction of the piece's price

A box with no entry, or every weight 0, is refused when read and named in the console. The shipped boxes are listed on Mystery boxes.

Related: Mystery boxes