Advertisement
Eins_Bonbon

Untitled

Aug 26th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. lottery_example:
  2. command: /lottery_example
  3. type: RUN_COMMAND
  4. runcmd:
  5. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  6. - '$text$&7Willkommen zu &e&lLottery'
  7. - '$delay$'
  8. - '$text$&8&l╳────────╳────────╳────────╳────────╳'
  9. - '$text$ &c&lPreise&8&l »'
  10. - '$text$ &aCOBBLESTONE, BREAD, APPLE, GOLD_INGOT or DIAMOND! '
  11. - '$text$&8&l╳────────╳────────╳────────╳────────╳'
  12. - '$text$&7Warte auf das &c&lErgebniss'
  13. - '$delay$$delay$$delay$'
  14. - '$delay$$text$&8&l«&e&lLottery&8&l» &65...'
  15. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  16. - '$delay$$text$&8&l«&e&lLottery&8&l» &64...'
  17. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  18. - '$delay$$text$&8&l«&e&lLottery&8&l» &63...'
  19. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  20. - '$delay$$text$&8&l«&e&lLottery&8&l» &62...'
  21. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  22. - '$delay$$text$&8&l«&e&lLottery&8&l» &61...'
  23. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  24. - '$delay$'
  25. - '%PlayerOptions%playSound: ENTITY_EXPERIENCE_ORB_PICKUP:1.0F:1'
  26. - '$Script$%PlayerData%lotteryprize=$GetRandomStringFromList%COBBLESTONE;DIAMOND;LEGACY_GOLD_INGOT;BREAD;APPLE%'
  27. - '$Script$%PlayerData%amount_lotteryprize=$randomnumber%3%'
  28. - '$delay$'
  29. - '$text$&8&l╳────────╳────────╳────────╳────────╳'
  30. - '$text$ &7Du hast &aGewonnen &8&l» &e $PlayerData%amount_lotteryprize% $PlayerData%lotteryprize%! '
  31. - '$text$&8&l╳────────╳────────╳────────╳────────╳'
  32. - '%PlayerOptions%addItem: $PlayerData%lotteryprize%:$PlayerData%amount_lotteryprize%'
  33. delaytimer: 1
  34. dailybonus:
  35. command: /dailybonus
  36. type: RUN_COMMAND
  37. runcmd:
  38. - "$Script$%if%$todaydate!=$PlayerData%DailyBonus%"
  39. - "$text$&0[&6Daily&eBonus&0]&b Hello $player! Here, your daily reward!"
  40. - "$text$&0[&6Daily&eBonus&0]&b Received &a1 DIAMOND!"
  41. - "%PlayerOptions%addItem: DIAMOND:1"
  42. - "$Script$%PlayerData%DailyBonus=$todaydate"
  43. - "$text$&0[&6Daily&eBonus&0]&b Come back tomorrow!"
  44. - "$Script$%else%"
  45. - "$text$&0[&6Daily&eBonus&0]&b That's enough for today! Come back tomorrow!"
  46. permission-required: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement