xXLuk3HDXx

Untitled

Aug 8th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 KB | None | 0 0
  1. clear_chat:
  2. command: /clearchat
  3. type: BROADCAST_TEXT
  4. text:
  5. - '%Repeat%100% '
  6. - '&9&lMini&5&lGames &8┃ &7der Spieler &c$player &7hat den Chat &cGeleert&7!'
  7. lottery_example:
  8. command: /lottery
  9. type: RUN_COMMAND
  10. runcmd:
  11. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  12. - '$text$&6Welcome to &eMyCommand &6Lottery!'
  13. - '$delay$'
  14. - '$text$&b+------------------------------------'
  15. - '$text$&b| &2Prize of today :'
  16. - '$text$&b| &aCOBBLESTONE, BREAD, APPLE, GOLD_INGOT or DIAMOND! '
  17. - '$text$&b+------------------------------------'
  18. - '$text$&ePlease wait for the results!'
  19. - '$delay$$delay$$delay$'
  20. - '$delay$$text$&0[$random_colorLottery&0] &65...'
  21. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  22. - '$delay$$text$&0[$random_colorLottery&0] &64...'
  23. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  24. - '$delay$$text$&0[$random_colorLottery&0] &63...'
  25. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  26. - '$delay$$text$&0[$random_colorLottery&0] &62...'
  27. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  28. - '$delay$$text$&0[$random_colorLottery&0] &61...'
  29. - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
  30. - '$delay$'
  31. - '%PlayerOptions%playSound: ENTITY_EXPERIENCE_ORB_PICKUP:1.0F:1'
  32. - '$Script$%PlayerData%lotteryprize=$GetRandomStringFromList%COBBLESTONE;DIAMOND;LEGACY_GOLD_INGOT;BREAD;APPLE%'
  33. - '$Script$%PlayerData%amount_lotteryprize=$randomnumber%3%'
  34. - '$delay$'
  35. - '$text$&b+------------------------------------'
  36. - '$text$&b| &6Congratulation! You won : &e $PlayerData%amount_lotteryprize% $PlayerData%lotteryprize%! '
  37. - '$text$&b+------------------------------------'
  38. - '%PlayerOptions%addItem: $PlayerData%lotteryprize%:$PlayerData%amount_lotteryprize%'
  39. delaytimer: 1
  40. dailybonus:
  41. command: /dailybonus
  42. type: RUN_COMMAND
  43. runcmd:
  44. - "$Script$%if%$todaydate!=$PlayerData%DailyBonus%"
  45. - "$text$&0[&6Daily&eBonus&0]&b Hello $player! Here, your daily reward!"
  46. - "$text$&0[&6Daily&eBonus&0]&b Received &a1 DIAMOND!"
  47. - "%PlayerOptions%addItem: DIAMOND:1"
  48. - "$Script$%PlayerData%DailyBonus=$todaydate"
  49. - "$text$&0[&6Daily&eBonus&0]&b Come back tomorrow!"
  50. - "$Script$%else%"
  51. - "$text$&0[&6Daily&eBonus&0]&b That's enough for today! Come back tomorrow!"
  52. permission-required: false
Advertisement
Add Comment
Please, Sign In to add comment