SuperCredits:mysterybox.yml

From PedroJM96 Wiki EN
Revision as of 22:51, 3 June 2018 by PedroJM96 (talk | contribs) (Created page with "<syntaxhighlight lang="YAML"> #################################################################################################### # +-----------------------------------------...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.minepal.net                                                             | #
# |                                                                                              | #
# +----------------------------------------------------------------------------------------------+ #
####################################################################################################
 
# +----------------------------------------------------------------------------------------------+ #
# | 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: []