SuperCredits:mysterybox.yml

From PedroJM96 Wiki EN
Jump to: navigation, search
####################################################################################################
# +----------------------------------------------------------------------------------------------+ #
# |                                                                                              | #
# |               _____                        _____              _ _ _                          | #
# |              / ____|                      / ____|            | (_) |                         | #
# |             | (___  _   _ _ __   ___ _ __| |     _ __ ___  __| |_| |_ ___                    | #
# |              \___ \| | | | '_ \ / _ \ '__| |    | '__/ _ \/ _` | | __/ __|                   | #
# |              __ _) | |_| | |_) |  __/ |  | |____| | |  __/ (_| | | |_\__ \                   | #
# |             |_____/ \__,_| .__/ \___|_|   \_____|_|  \___|\__,_|_|\__|___/                   | #
# |                          | |                                                                 | #
# |                          |_|                                                                 | #
# |                                                                                              | #
# |                                                                                              | #
# |  WIKI:        http://en.wiki.pedrojm96.com/wiki/SuperCredits                                 | #
# |  BUG REPORTS: https://www.spigotmc.org/threads/supercredits.190963/                          | #
# |  AUTHOR: PedroJM96 (pedrojm96.com)                                                           | #
# |  OFFICIAL SERVER: mc.pedrojm96.com                                                           | #
# |                                                                                              | #
# +----------------------------------------------------------------------------------------------+ #
####################################################################################################
 
# +----------------------------------------------------------------------------------------------+ #
# | For a detailed explanation of the configuration see this page.                               | #
# | http://en.wiki.pedrojm96.com/wiki/SuperCredits:mysterybox.yml                                | #
# +----------------------------------------------------------------------------------------------+ #

# +----------------------------------------------------------------------------------------------+ #
# |                                            General                                           | #
# +----------------------------------------------------------------------------------------------+ #

#The price of in credits of the box.
mysterybox-price: 1

#If holograms are shown in the box.
mysterybox-hologram-enable: true

#The hologram to show in the box.
mysterybox-hologram: '&bClick to open MysteryBox'

#The hologram to show in the box when it opens.
mysterybox-hologram-open: '&6&l<player> &bMysteryBox'

#The title message when opening a box.
mysterybox-title: '&6Your reward <reward>'

#The subtitle message when opening a box.
mysterybox-subtitle: '&6Congratulations'

#The animation when opening the box(Default,Lava)For the moment only those 2.
mysterybox-animacion: Default

# +----------------------------------------------------------------------------------------------+ #
# |                                              Skin                                            | #
# +----------------------------------------------------------------------------------------------+ #

#To place skin on the box.
#skin: To use heads with skin. (url:address.png | <player>) 
mysterybox-skin:
  enable: false
  skin: PedroJM96

# +----------------------------------------------------------------------------------------------+ #
# |                                             Reward                                           | #
# +----------------------------------------------------------------------------------------------+ #

#The reward for opening the box.
#name: The name of the reward.
#chance: The chance you have to win. The higher you have, the more chance you have.
#commands: The command that is executed when winning.(SERVER, PLAYER, CONSOLE, OP, BROADCAST, GIVE, MONEY, POINTS, TELL,OPEN).      
reward:
  sword:
    name: '&6Mystery Sword.'
    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$.'
locations: []