Server cases

Own server

Case with key and chances - CrazyCratesLearn more

The case with the key to the donate, vote or ivent. Write out the prizes and their weight -- see the award window as in the game, the fair chance of each prize, and get a finished case file for the CrazyCrates plagin.

My game select version

We'll remember in this browser and set up where your version is available. Open link settings are more important than this choice; the Vicki versions do not change.

Case

Opening animation

Key

The key glows as if enchanted: it can be seen in the inventory among ordinary things.

Prizes

Award 1
Prize 2
Award 3
Prize 4
Prize 5
Another prize

Weight - the more, the more often it falls out. With a command, the item will only become an icon in the rewards window, and the player will receive what the command gives; %player% is his nickname.

Result

Example : 5
Minecraft Case Award Window

Odds - from the scales

PrizeChance
Iron duct x 1640 %
Diamond × 315 %
Gold Apple × 210 %
1,000 coins30 %
Enchanted Golden Apple5 %

plugins/CrazyCrates/crates/Starter.yml

Crate:
  CrateType: 'CSGO'
  Name: '<green><bold>Стартовый кейс'
  Prize-Message:
    - '<gray>Вам выпало: <reset>%reward%'
  Preview:
    Name: '<green><bold>Стартовый кейс'
    Toggle: true
    Rows: 2
    Glass:
      Toggle: false
  PhysicalKey:
    Name: '<yellow>Ключ от стартового кейса'
    Item: 'tripwire_hook'
    Glowing: 'add_glow'
  Hologram:
    Toggle: true
    Height: 1.5
    Range: 8
    Message:
      - '<green><bold>Стартовый кейс'
  Prizes:
    1:
      DisplayName: '<white>Железный слиток × 16'
      DisplayItem: 'iron_ingot'
      DisplayAmount: 16
      DisplayLore:
        - '<gray>Шанс: <yellow>40 %'
      Weight: 40
      Items:
        1:
          material: 'iron_ingot'
          amount: 16
    2:
      DisplayName: '<white>Алмаз × 3'
      DisplayItem: 'diamond'
      DisplayAmount: 3
      DisplayLore:
        - '<gray>Шанс: <yellow>15 %'
      Weight: 15
      Items:
        1:
          material: 'diamond'
          amount: 3
    3:
      DisplayName: '<white>Золотое яблоко × 2'
      DisplayItem: 'golden_apple'
      DisplayAmount: 2
      DisplayLore:
        - '<gray>Шанс: <yellow>10 %'
      Weight: 10
      Items:
        1:
          material: 'golden_apple'
          amount: 2
    4:
      DisplayName: '<yellow>1000 монет'
      DisplayItem: 'sunflower'
      DisplayAmount: 1
      DisplayLore:
        - '<gray>Шанс: <yellow>30 %'
      Weight: 30
      Commands:
        - 'eco give %player% 1000'
    5:
      DisplayName: '<white>Зачарованное золотое яблоко'
      DisplayItem: 'enchanted_golden_apple'
      DisplayAmount: 1
      DisplayLore:
        - '<gray>Шанс: <yellow>5 %'
      Weight: 5
      Items:
        1:
          material: 'enchanted_golden_apple'
          amount: 1
download Starter.yml

Place the case, give out the key, re-read

/crazycrates set Starter
/crazycrates give physical Starter 1 Steve
/crazycrates reload

How to use

  1. Put CrazyCrates

    File - to folder plugins, then restart. Core - Paper, Purple or Folia. For holograms - another hologram plugin.

  2. Place the case file

    B plugins/CrazyCrates/crates/ and execute /crazycrates reload. File name - the name of the case in the commands.

  3. Place a block

    Chest or any other block: look at it and complete /crazycrates set with the case name. The key will be given out give physical - manually, for a vote or for a donation.

What you need to know

  • Chance is a fraction of weight. A weight of 15 with a sum of 100 is 15%. We added a prize - the chances of the others decreased: the page recalculates everything.
  • The chance is visible to the player. It is written into the description of each prize in the rewards window. If you changed the weight with your hands in the file, correct this line too.
  • Text - MiniMessage. CrazyCrates understands tags <red>, not codes &c: the codes in the file have already been rewritten.

The key for the voice on monitoring will give vote reward, a window with buttons - DeluxeMenus menu.

Frequently asked questions

How to make cases on a Minecraft server?

CrazyCrates plagin: The prize case file is attached to the plugins/CrazyCrates/crates, the block is assigned by command /crazycratates set, the key is issued by /crazylcrates give phisical.

How to calculate the chance of a prize in CrazyCrates?

Chance is the weight of the prize divided by the sum of the weights of all prizes in the case. A weight of 15 with a total of 100 is 15%. The page calculates the odds itself.

How to give out the key to a case for a donation or a vote?

With the command /crazycrates give physical case_name 1 nickname from the console - it is included in the reward for a vote or in issuing a donation.