Čau nevíte jak nastavit tento config tak, aby to tak normálně ale občas padalo?
Díky moc.
Kód: Vybrat vše
config:
allow_mob_drop_gifts: true
allow_msg_to_player_on_give_command: true
mobdropchance: 1
maxdropchance: 1000
mobdropchance_for_donor: 1
only_drops_killed_by_player: true
mobs_only_drops_gifts: true
gifts_has_permissions_to_be_opened: false
msg:
msg_to_player_on_give: '&6Congratulations %player% the server has been given you
a gift!!!'
msg_to_player_on_give_inv_full: '&4%player% The inventory is full so the gift went
to the ground!!!'
no_perm_to_open_gift: '&4Sorry %player% but you dont have permission to open that
gift!!'
gifts:
testgift:
name: '&aChristmast gift #1'
id: 54
chance: 1
lores:
- '&2&lChristmast lowest gift'
- '&2&lChance to win:'
- '&2&lDiamonds,Money,etc'
- '&o&9Press Right Buttom to open the gift!'
drops:
- test
testgift2:
name: '&1Christmast gift #2'
id: 54
chance: 5
lores:
- '&2&lChristmast normal gift'
- '&2&lChance to win:'
- '&2&lDiamonds,Money,etc'
- '&o&9Press Right Buttom to open the gift!'
drops:
- test
- trolltest
- testbetter
commands:
test:
chance: 10
commands:
- eco give %player% 1
- give %player% 264 1
- bc Happy christmas %player%, enjoy 1$ and 1 diamond!
trolltest:
chance: 15
commands:
- bc Happy christmas %player%!! Oooh NOO! Your gift was empty :( ...
testbetter:
chance: 1
commands:
- eco give %player% 10
- give %player% 264 100
- bc Happy christmas %player%, enjoy 100$ and 10 diamond!