Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lottery_example:
- command: /lottery_example
- type: RUN_COMMAND
- runcmd:
- - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
- - '$text$&7Willkommen zu &e&lLottery'
- - '$delay$'
- - '$text$&8&l╳───────╳───────╳───────╳───────╳'
- - '$text$ &c&lPreise&8&l »'
- - '$text$ &aCOBBLESTONE, BREAD, APPLE, GOLD_INGOT or DIAMOND! '
- - '$text$&8&l╳───────╳───────╳───────╳───────╳'
- - '$text$&7Warte auf das &c&lErgebniss'
- - '$delay$$delay$$delay$'
- - '$delay$$text$&8&l«&e&lLottery&8&l» &65...'
- - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
- - '$delay$$text$&8&l«&e&lLottery&8&l» &64...'
- - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
- - '$delay$$text$&8&l«&e&lLottery&8&l» &63...'
- - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
- - '$delay$$text$&8&l«&e&lLottery&8&l» &62...'
- - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
- - '$delay$$text$&8&l«&e&lLottery&8&l» &61...'
- - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
- - '$delay$'
- - '%PlayerOptions%playSound: ENTITY_EXPERIENCE_ORB_PICKUP:1.0F:1'
- - '$Script$%PlayerData%lotteryprize=$GetRandomStringFromList%COBBLESTONE;DIAMOND;LEGACY_GOLD_INGOT;BREAD;APPLE%'
- - '$Script$%PlayerData%amount_lotteryprize=$randomnumber%3%'
- - '$delay$'
- - '$text$&8&l╳───────╳───────╳───────╳───────╳'
- - '$text$ &7Du hast &aGewonnen &8&l» &e $PlayerData%amount_lotteryprize% $PlayerData%lotteryprize%! '
- - '$text$&8&l╳───────╳───────╳───────╳───────╳'
- - '%PlayerOptions%addItem: $PlayerData%lotteryprize%:$PlayerData%amount_lotteryprize%'
- delaytimer: 1
- dailybonus:
- command: /dailybonus
- type: RUN_COMMAND
- runcmd:
- - "$Script$%if%$todaydate!=$PlayerData%DailyBonus%"
- - "$text$&8&l«&e&lDailyBonus&8&l» &7Du hast deine &eBelohnung &abekommen"
- - "$text$&8&l«&e&lDailyBonus&8&l» &7Du hast &71&b Diamant&a bekommen"
- - "%PlayerOptions%addItem: DIAMOND:1"
- - "$Script$%PlayerData%DailyBonus=$todaydate"
- - "$text$&8&l«&e&lDailyBonus&8&l»&7 Komme &aMorgen &7wieder"
- - "$Script$%else%"
- - "$text$&8&l«&e&lDailyBonus&8&l» &7Komme Morgen &cwieder&7!"
- permission-required: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement