Deliour
Участник
- Баллы
- 31
- Имя в Minecraft
- Deliour
Столкнулся с такой проблемой, что не видит кейс 9902 в RandomBox. Выдает ошибку: Items amount is less than drop amount. Вот его конфиг -
# Full plugin documentation:
# dev.bukkit.org/bukkit-plugins/random_box/pages/main/documentation/
boxName: '&d&lКейс с привилегиями'
boxItem: CHEST
lore:
- '&eОткрой кейс'
- '&eПолучи один из префиксов'
- '&7--------------'
- 'items 0 &7%ordinal%. &ex%amount% %name%'
- '&7--------------'
- '&eУдачи'
checkPermission: false
openWhenClicked: true
addGlow: true
unstackable: true
gui:
enabled: true
rolling:
- {delay: 1, iterations: 50}
- {delay: 2, iterations: 20}
- {delay: 3, iterations: 10}
- {delay: 4, iterations: 5}
window:
type: CHEST
format:
- '@@@@#@@@@'
- 'abcdEfghi'
- '@@@@#@@@@'
fillers:
'@':
item: {id: 160, data: 15, delay: 20}
onStop:
item: {id: 0}
'#':
animated:
- {id: 160, data: 4, delay: 10}
- {id: 160, data: 5, delay: 10}
effects:
open:
firework:
type: BALL_LARGE
colors: ['#FF0000', '#00FF00', 'BLUE']
fadeColors: ['GRAY', 'BLACK']
flicker: true
trail: false
power: 1
sound:
sound: CHEST_OPEN
volume: 1.0
pitch: 1.0
broadcast: '&e&l[&4&l ! &e&l] %player% &eоткрыл &c&lКейс с префиксами &eудачи ему!'
move:
sound: {sound: CLICK}
drop:
sound: {sound: ANVIL_LAND}
firework:
type: STAR
colors: ['RED']
close:
sound: {sound: CHEST_CLOSE}
itemsToSelectCount: 1
items:
1:
commands:
command1:
line: 'pex user %player% prefix &8☾&4&lЧСВ&8☽&f'
fromConsole: true
command2:
line: 'nte player %player% prefix &8❭ &cЧСВ &f&l'
fromConsole: true
dontGiveItem: true
item: 351:1
name: '&8☾&4&lЧСВ&8☽&f'
amount: 1
chance: 50
2:
commands:
command3:
line: 'pex user %player% prefix &8☾&a&lОдмен&8☽&f'
fromConsole: true
command4:
line: 'nte player %player% prefix &8❭ &aОдмен &f&l'
fromConsole: true
dontGiveItem: true
item: 351:10
name: '&8☾&a&lОдмен&8☽&f'
amount: 1
chance: 50
3:
commands:
command5:
line: 'pex user %player% prefix &8☾&e&lТащер&8☽&f'
fromConsole: true
command6:
line: 'nte player %player% prefix &8❭ &eТащер &f&l'
fromConsole: true
dontGiveItem: true
item: 351:10
name: '&8☾&e&lТащер&8☽&f'
amount: 1
chance: 50
4:
commands:
command7:
line: 'pex user %player% prefix &8☾&d&lPUSSY&8☽&f'
fromConsole: true
command8:
line: 'nte player %player% prefix &8❭ &dPUSSY &f&l'
fromConsole: true
dontGiveItem: true
item: 351:13
name: '&8☾&d&lPUSSY&8☽&f'
amount: 1
chance: 50
5:
commands:
command9:
line: 'pex user %player% prefix &8☾&2&lХакер&8☽&f'
fromConsole: true
dontGiveItem: true
item: 351:2
name: '&8☾&2&lХакер&8☽&f'
amount: 1
chance: 50
Кто разбирается в этом, прошу помощи.
# Full plugin documentation:
# dev.bukkit.org/bukkit-plugins/random_box/pages/main/documentation/
boxName: '&d&lКейс с привилегиями'
boxItem: CHEST
lore:
- '&eОткрой кейс'
- '&eПолучи один из префиксов'
- '&7--------------'
- 'items 0 &7%ordinal%. &ex%amount% %name%'
- '&7--------------'
- '&eУдачи'
checkPermission: false
openWhenClicked: true
addGlow: true
unstackable: true
gui:
enabled: true
rolling:
- {delay: 1, iterations: 50}
- {delay: 2, iterations: 20}
- {delay: 3, iterations: 10}
- {delay: 4, iterations: 5}
window:
type: CHEST
format:
- '@@@@#@@@@'
- 'abcdEfghi'
- '@@@@#@@@@'
fillers:
'@':
item: {id: 160, data: 15, delay: 20}
onStop:
item: {id: 0}
'#':
animated:
- {id: 160, data: 4, delay: 10}
- {id: 160, data: 5, delay: 10}
effects:
open:
firework:
type: BALL_LARGE
colors: ['#FF0000', '#00FF00', 'BLUE']
fadeColors: ['GRAY', 'BLACK']
flicker: true
trail: false
power: 1
sound:
sound: CHEST_OPEN
volume: 1.0
pitch: 1.0
broadcast: '&e&l[&4&l ! &e&l] %player% &eоткрыл &c&lКейс с префиксами &eудачи ему!'
move:
sound: {sound: CLICK}
drop:
sound: {sound: ANVIL_LAND}
firework:
type: STAR
colors: ['RED']
close:
sound: {sound: CHEST_CLOSE}
itemsToSelectCount: 1
items:
1:
commands:
command1:
line: 'pex user %player% prefix &8☾&4&lЧСВ&8☽&f'
fromConsole: true
command2:
line: 'nte player %player% prefix &8❭ &cЧСВ &f&l'
fromConsole: true
dontGiveItem: true
item: 351:1
name: '&8☾&4&lЧСВ&8☽&f'
amount: 1
chance: 50
2:
commands:
command3:
line: 'pex user %player% prefix &8☾&a&lОдмен&8☽&f'
fromConsole: true
command4:
line: 'nte player %player% prefix &8❭ &aОдмен &f&l'
fromConsole: true
dontGiveItem: true
item: 351:10
name: '&8☾&a&lОдмен&8☽&f'
amount: 1
chance: 50
3:
commands:
command5:
line: 'pex user %player% prefix &8☾&e&lТащер&8☽&f'
fromConsole: true
command6:
line: 'nte player %player% prefix &8❭ &eТащер &f&l'
fromConsole: true
dontGiveItem: true
item: 351:10
name: '&8☾&e&lТащер&8☽&f'
amount: 1
chance: 50
4:
commands:
command7:
line: 'pex user %player% prefix &8☾&d&lPUSSY&8☽&f'
fromConsole: true
command8:
line: 'nte player %player% prefix &8❭ &dPUSSY &f&l'
fromConsole: true
dontGiveItem: true
item: 351:13
name: '&8☾&d&lPUSSY&8☽&f'
amount: 1
chance: 50
5:
commands:
command9:
line: 'pex user %player% prefix &8☾&2&lХакер&8☽&f'
fromConsole: true
dontGiveItem: true
item: 351:2
name: '&8☾&2&lХакер&8☽&f'
amount: 1
chance: 50
Кто разбирается в этом, прошу помощи.