Difference between revisions of "SuperCredits:mysterybox.yml"

From PedroJM96 Wiki EN
Jump to: navigation, search
(Created page with "<syntaxhighlight lang="YAML"> #################################################################################################### # +-----------------------------------------...")
 
 
Line 16: Line 16:
 
# |  BUG REPORTS: https://www.spigotmc.org/threads/supercredits.190963/                          | #
 
# |  BUG REPORTS: https://www.spigotmc.org/threads/supercredits.190963/                          | #
 
# |  AUTHOR: PedroJM96 (pedrojm96.com)                                                          | #
 
# |  AUTHOR: PedroJM96 (pedrojm96.com)                                                          | #
# |  OFFICIAL SERVER: mc.minepal.net                                                            | #
+
# |  OFFICIAL SERVER: mc.pedrojm96.com                                                          | #
 
# |                                                                                              | #
 
# |                                                                                              | #
 
# +----------------------------------------------------------------------------------------------+ #
 
# +----------------------------------------------------------------------------------------------+ #
Line 31: Line 31:
  
 
#The price of in credits of the box.
 
#The price of in credits of the box.
Mysterybox-Price: 1
+
mysterybox-price: 1
  
 
#If holograms are shown in the box.
 
#If holograms are shown in the box.
Mysterybox-Hologram-Enable: true
+
mysterybox-hologram-enable: true
  
 
#The hologram to show in the box.
 
#The hologram to show in the box.
Mysterybox-Hologram: '&bClick to open MysteryBox'
+
mysterybox-hologram: '&bClick to open MysteryBox'
  
 
#The hologram to show in the box when it opens.
 
#The hologram to show in the box when it opens.
Mysterybox-Hologram-Open: '&6&l<player> &bMysteryBox'
+
mysterybox-hologram-open: '&6&l<player> &bMysteryBox'
  
 
#The title message when opening a box.
 
#The title message when opening a box.
Mysterybox-Title: '&6Your reward <reward>'
+
mysterybox-title: '&6Your reward <reward>'
  
 
#The subtitle message when opening a box.
 
#The subtitle message when opening a box.
Mysterybox-SubTitle: '&6Congratulations'
+
mysterybox-subtitle: '&6Congratulations'
  
 
#The animation when opening the box(Default,Lava)For the moment only those 2.
 
#The animation when opening the box(Default,Lava)For the moment only those 2.
Mysterybox-Animacion: Default
+
mysterybox-animacion: Default
  
 
# +----------------------------------------------------------------------------------------------+ #
 
# +----------------------------------------------------------------------------------------------+ #
Line 57: Line 57:
 
#To place skin on the box.
 
#To place skin on the box.
 
#skin: To use heads with skin. (url:address.png | <player>)  
 
#skin: To use heads with skin. (url:address.png | <player>)  
Mysterybox-Skin:
+
mysterybox-skin:
 
   enable: false
 
   enable: false
 
   skin: PedroJM96
 
   skin: PedroJM96
Line 69: Line 69:
 
#chance: The chance you have to win. The higher you have, the more chance you have.
 
#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).       
 
#commands: The command that is executed when winning.(SERVER, PLAYER, CONSOLE, OP, BROADCAST, GIVE, MONEY, POINTS, TELL,OPEN).       
Reward:
+
reward:
   Sword:
+
   sword:
 
     name: '&6Mystery Sword.'
 
     name: '&6Mystery Sword.'
 
     chance: 10
 
     chance: 10
Line 78: Line 78:
 
     - 'broadcast: &9[&7&l&oCredits&9] &7The player &b<player> &7Opened the mystery
 
     - 'broadcast: &9[&7&l&oCredits&9] &7The player &b<player> &7Opened the mystery
 
       box and claimed &6Mystery Sword.'
 
       box and claimed &6Mystery Sword.'
   Diamond:
+
   diamond:
 
     name: Diamantes!!
 
     name: Diamantes!!
 
     chance: 30
 
     chance: 30
Line 85: Line 85:
 
     - 'broadcast: &9[&7&l&oCredits&9] &7The player &b<player> &7Opened the mystery
 
     - 'broadcast: &9[&7&l&oCredits&9] &7The player &b<player> &7Opened the mystery
 
       box and claimed &620 &bdiamonds.'
 
       box and claimed &620 &bdiamonds.'
   Money:
+
   money:
 
     name: Money
 
     name: Money
 
     chance: 50
 
     chance: 50
Line 92: Line 92:
 
     - 'broadcast: &9[&7&l&oCredits&9] &7The player &b<player> &7Opened the mystery
 
     - 'broadcast: &9[&7&l&oCredits&9] &7The player &b<player> &7Opened the mystery
 
       box and claimed &6100$.'
 
       box and claimed &6100$.'
Locations: []
+
locations: []
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 08:56, 26 January 2019

####################################################################################################
# +----------------------------------------------------------------------------------------------+ #
# |                                                                                              | #
# |               _____                        _____              _ _ _                          | #
# |              / ____|                      / ____|            | (_) |                         | #
# |             | (___  _   _ _ __   ___ _ __| |     _ __ ___  __| |_| |_ ___                    | #
# |              \___ \| | | | '_ \ / _ \ '__| |    | '__/ _ \/ _` | | __/ __|                   | #
# |              __ _) | |_| | |_) |  __/ |  | |____| | |  __/ (_| | | |_\__ \                   | #
# |             |_____/ \__,_| .__/ \___|_|   \_____|_|  \___|\__,_|_|\__|___/                   | #
# |                          | |                                                                 | #
# |                          |_|                                                                 | #
# |                                                                                              | #
# |                                                                                              | #
# |  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: []