This file contains the settings for Mysterybox.


mysterybox-price

  • Any integer value.
  • Default: 1
  • The price of in credits of the box.

mysterybox-hologram-enable

  • Boolean value true or false.
  • Default: true
  • If holograms are shown in the box.

mysterybox-hologram

  • Any string value.
  • Default: «&bClick to open MysteryBox»
  • The hologram to show in the box.

mysterybox-hologram-open

  • Any string value.
  • Default: «&6&l<player> &bMysteryBox»
  • The hologram to show in the box when it opens.

mysterybox-title

  • Any string value.
  • Default: «&6Your reward <reward>»
  • The title message when opening a box.

mysterybox-subtitle

  • Any string value.
  • Default: «&6Congratulations»
  • The subtitle message when opening a box.

mysterybox-animacion

  • String value.(Default, Lava). For the moment only those 2
  • Default: «&6Congratulations»
  • The animation when opening the box.

mysterybox-skin

  • This section is to place skin on the box.
  • enable: 
    • Boolean value true or false.
    • Example: true
    • To place skin on the box.
  • skin
    • Any string value.
    • Example: PedroJM96
    • To use heads with skin. Skulls format.

reward

  • List of Reward nodes configuration.
  • Example:
    • sword:
      name: '&6Mystery Sword.'
      server: 'survival'
      chance: 10
      commands:
      - 'console: give <player> diamond_sword 1 name:Mystery_Sword 16:5 17:5 18:5 19:2
      20:2 21:3'
      - 'broadcast: &9[&7&l&oCredits&9] &7The player &b<player> &7Opened the mystery
      box and claimed &6Mystery Sword.'
      diamond:
      name: Diamantes!!
      chance: 30
      commands:
      - 'give: DIAMOND 20'
      - 'broadcast: &9[&7&l&oCredits&9] &7The player &b<player> &7Opened the mystery
      box and claimed &620 &bdiamonds.'
      money:
      name: Money
      chance: 50
      commands:
      - 'money: 100'
      - 'broadcast: &9[&7&l&oCredits&9] &7The player &b<player> &7Opened the mystery
      box and claimed &6100$.'
    • g
  • The reward for opening the box.

 

Reward nodes configuration.


name:

  • Any string value.
  • Example: &6Mystery Sword.
  • The name of the reward.

chance

  • Any integer value.
  • Default: 10
  • The chance you have to win. The higher you have, the more chance you have.

commands:

  • List of string values.
  • Example:
    • - 'console: give <player> diamond_sword 1 name:Mystery_Sword 16:5 17:5 18:5 19:2
      20:2 21:3'
    • - 'broadcast: &9[&7&l&oCredits&9] &7The player &b<player> &7Opened the mystery
      box and claimed &6Mystery Sword.
  • (List) The command that is executed when winning. (Command format).