MysteryBoxes
Napsal: 29 kvě 2016, 14:26
82.208.17.36:27475
Dobrý den mam otázku. Na serveru mam Plugin MysteryBoxes. Jak mam nastavit aby mi v truhle s 1hvězdičkou dávalo víc věcí ale náhodné třeba tam budu mít iron-ingot diamond bed wood .... jednou mi to dá třeba iron
podruhé zase diamond ta jak je tady v pluginu customcrates CS:GO .
Děkuji. Karma +
MysteryBoxes Config
CustomCrates Config
Dobrý den mam otázku. Na serveru mam Plugin MysteryBoxes. Jak mam nastavit aby mi v truhle s 1hvězdičkou dávalo víc věcí ale náhodné třeba tam budu mít iron-ingot diamond bed wood .... jednou mi to dá třeba iron
podruhé zase diamond ta jak je tady v pluginu customcrates CS:GO .
Děkuji. Karma +
MysteryBoxes Config
Kód: Vybrat vše
global:
unlimited-mystery-boxes: false
open-confirmation: true
inventory:
mystery-vault-rows: 4
confirmation-rows: 3
confirmation-yes-item-slot: 11
confirmation-no-item-slot: 15
mysql:
enabled: false
host: host
datebase: datebase
username: username
password: password
mystery-boxes:
one_star:
item-name: '&aCommon Mystery Box'
item-lore:
- '&7Open the &bMystery Box &7to'
- '&7get various items!'
- ''
- '&7The rarity of this Mystery Box'
- '&7is clasified as &aCommon&7.'
- ''
- '&7Quality: &e✬&7✬✬✬'
- '&eClick to open!'
item-type: ENDER_CHEST
item-amount: 1
item-data: 0
falling-mystery-box-name: '{PLAYER}''s &aMystery Box'
falling-mystery-box-name2: '{PLAYER}''s loot: {LOOT_NAME}'
falling-mystery-box-type: ENDER_CHEST
loots:
'50':
'1':
loot-name: '&3Iron Ingots'
broadcast-to-player: false
broadcasts:
- '&bMystery Box: &e{PLAYER} &rhas found {LOOT_NAME}&r!'
messages:
- '&bMystery Box: &rYou have found {LOOT_NAME}&r!'
commands:
- give {PLAYER} minecraft:iron_ingot 5
sounds:
CHICKEN_EGG_POP:
volume: 0.1
pitch: 1.0
Chance: 100%
ORB_PICKUP:
volume: 1.0
pitch: 1.0
fireworks:
'1':
type: BALL
flicker: false
trail: false
colors:
- TEAL
fade-colors:
- WHITE
two_star:
item-name: '&9Rare Mystery Box'
item-lore:
- '&7Open the &bMystery Box &7to'
- '&7get various items!'
- ''
- '&7The rarity of this Mystery Box'
- '&7is clasified as &9Rare&7.'
- ''
- '&7Quality: &e✬✬&7✬✬'
- '&eClick to open!'
item-type: ENDER_CHEST
item-amount: 1
item-data: 0
falling-mystery-box-name: '{PLAYER}''s &9Mystery Box'
falling-mystery-box-name2: '{PLAYER}''s loot: {LOOT_NAME}'
falling-mystery-box-type: ENDER_CHEST
loots:
'50':
'1':
loot-name: '&eGold Ingots'
broadcast-to-player: false
broadcasts:
- '&bMystery Box: &e{PLAYER} &rhas found {LOOT_NAME}&r!'
messages:
- '&bMystery Box: &rYou have found {LOOT_NAME}&r!'
commands:
- give {PLAYER} minecraft:gold_ingot 5
sounds:
CHICKEN_EGG_POP:
volume: 1.0
pitch: 1.0
LEVEL_UP:
volume: 1.0
pitch: 1.0
fireworks:
'1':
type: STAR
flicker: false
trail: false
colors:
- YELLOW
fade-colors:
- WHITE
three_star:
item-name: '&5Epic Mystery Box'
item-lore:
- '&7Open the &bMystery Box &7to'
- '&7get various items!'
- ''
- '&7The rarity of this Mystery Box'
- '&7is clasified as &5Epic&7.'
- ''
- '&7Quality: &e✬✬✬&7✬'
- '&eClick to open!'
item-type: ENDER_CHEST
item-amount: 1
item-data: 0
falling-mystery-box-name: '{PLAYER}''s &5Mystery Box'
falling-mystery-box-name2: '{PLAYER}''s loot: {LOOT_NAME}'
falling-mystery-box-type: ENDER_CHEST
loots:
'50':
'1':
loot-name: '&aEmeralds'
broadcast-to-player: false
broadcasts:
- '&bMystery Box: &e{PLAYER} &rhas found {LOOT_NAME}&r!'
messages:
- '&bMystery Box: &rYou have found {LOOT_NAME}&r!'
commands:
- give {PLAYER} minecraft:emerald 5
sounds:
CHICKEN_EGG_POP:
volume: 1.0
pitch: 1.0
VILLAGER_YES:
volume: 1.0
pitch: 1.0
fireworks:
'1':
type: BURST
flicker: false
trail: false
colors:
- LIME
fade-colors:
- WHITE
four_star:
item-name: '&6Legendary Mystery Box'
item-lore:
- '&7Open the &bMystery Box &7to'
- '&7get various items!'
- ''
- '&7The rarity of this Mystery Box'
- '&7is clasified as &6Legendary&7.'
- ''
- '&7Quality: &e✬✬✬✬'
- '&eClick to open!'
item-type: ENDER_CHEST
item-amount: 1
item-data: 0
falling-mystery-box-name: '{PLAYER}''s &6Mystery Box'
falling-mystery-box-name2: '{PLAYER}''s loot: {LOOT_NAME}'
falling-mystery-box-type: ENDER_CHEST
loots:
'50':
'1':
loot-name: '&bDiamonds'
broadcast-to-player: false
broadcasts:
- '&bMystery Box: &e{PLAYER} &rhas found {LOOT_NAME}&r!'
messages:
- '&bMystery Box: &rYou have found {LOOT_NAME}&r!'
commands:
- give {PLAYER} minecraft:diamond 5
sounds:
CHICKEN_EGG_POP:
volume: 1.0
pitch: 1.0
ENDERDRAGON_GROWL:
volume: 1.0
pitch: 1.0
fireworks:
'1':
type: BALL_LARGE
flicker: false
trail: false
colors:
- AQUA
fade-colors:
- WHITECustomCrates Config
Kód: Vybrat vše
#Chances are 1 out of 100 and the lower the chance is the rarer the item is.
Crates:
Legendary:
ParticleEffect:
enabled: true
particle: CRIT
Key:
material: tripwirehook
name: '&5&lKlíč od Legendární bedny'
enchanted: true
lore:
- '&7&oKlíč od Legendární bedny'
Sound:
movingSound: NOTE_BASS
prizeSound: SUCCESSFUL_HIT
closeInventorySound: LEVEL_UP
LeftClickInv:
chancelore: true
PrizeItem:
material: redstonetorch
name: '&aCena'
enchanted: false
PreCommands:
- msg:%prefix%Otevírám bednu %crate%.
BlockType: ENDER_CHEST
Items:
1:
enchanted: false
material: 278
name: '&b&lDiamantový Krumpáč'
chance: 75
commands:
- 'give %player% 278 1'
- 'tellraw @a {text:"Hrač %player% vyhrál Diamantový krump. v Legendární chestce!",color:gold}'
2:
enchanted: true
material: golden_apple
name: '&b&l5 Enchantovaných jablek'
chance: 50
commands:
- 'give %player% golden_apple 5'
- 'tellraw @a {text:"Hrač %player% vyhrál 15Ench.Jablek v Legendární chestce!",color:gold}'
3:
enchanted: false
material: diamond
name: '&b&l10 Diamantů'
chance: 30
commands:
- 'give %player% diamond 10'
- 'tellraw @a {text:"Hrač %player% vyhrál 10diamantů v Legendární chestce!",color:gold}'
4:
enchanted: false
material: diamond
name: '&b&l25 Diamantů'
chance: 25
commands:
- 'give %player% diamond 25'
- 'tellraw @a {text:"Hrač %player% vyhrál 25diamantů v Legendární chestce!",color:gold}'
5:
enchanted: false
material: mob_spawner
name: '&b&l1 Spawner'
chance: 15
commands:
- 'give %player% spawner 1'
- 'tellraw @a {text:"Hrač %player% vyhrál spawner v Legendární chestce!",color:gold}'
6:
enchanted: true
material: diamond
name: '&6&lVIP účet'
chance: 5
commands:
- 'pex user %player% group set VIP'
- 'tellraw @a {text:"Hrač %player% vyhrál VIP v Legendární chestce!",color:gold}'
Hlasovani:
ParticleEffect:
enabled: true
particle: ENCHANTMENT_TABLE
Key:
material: tripwirehook
name: '&aKlíč od hlasovací bedny'
enchanted: true
lore:
- '&7&oKlíč od bedny %Crate%'
Sound:
movingSound: NOTE_BASS
prizeSound: SUCCESSFUL_HIT
closeInventorySound: LEVEL_UP
LeftClickInv:
chancelore: true
PrizeItem:
material: redstonetorch
name: '&aCena'
enchanted: false
PreCommands:
- msg:%prefix%Otevírám bednu %crate%.
BlockType: ENDER_CHEST
Items:
a:
enchanted: false
material: paper
name: '&a&l500,- Money'
chance: 50
commands:
- 'eco give %player% 500'
b:
enchanted: false
material: 267
name: '&e&lIron Mec'
chance: 25
commands:
- 'give %player% 267 1'
c:
enchanted: false
material: 384
name: '&e&l32 XP lahviček'
chance: 20
commands:
- 'give %player% 384 32'
d:
enchanted: false
material: 265
name: '&b&l25 Ironů'
chance: 15
commands:
- 'give %player% 265 25'
e:
enchanted: false
material: 395
name: '&a&l8.000,- Money'
chance: 10
commands:
- 'eco give %player% 8000'
f:
enchanted: true
material: 131
name: '&5&lLegendární klíč!'
chance: 1
commands:
- 'crate gk %player% Legendary 1'
- 'tellraw @a {text:"%player% vyhrál Klíč k Legendární truhle!",color:gold}'