Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clear_chat:
- command: /clearchat
- type: BROADCAST_TEXT
- text:
- - '%Repeat%100% '
- - '&9&lMini&5&lGames &8┃ &7der Spieler &c$player &7hat den Chat &cGeleert&7!'
- lottery_example:
- command: /lottery
- type: RUN_COMMAND
- runcmd:
- - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
- - '$text$&6Welcome to &eMyCommand &6Lottery!'
- - '$delay$'
- - '$text$&b+------------------------------------'
- - '$text$&b| &2Prize of today :'
- - '$text$&b| &aCOBBLESTONE, BREAD, APPLE, GOLD_INGOT or DIAMOND! '
- - '$text$&b+------------------------------------'
- - '$text$&ePlease wait for the results!'
- - '$delay$$delay$$delay$'
- - '$delay$$text$&0[$random_colorLottery&0] &65...'
- - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
- - '$delay$$text$&0[$random_colorLottery&0] &64...'
- - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
- - '$delay$$text$&0[$random_colorLottery&0] &63...'
- - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
- - '$delay$$text$&0[$random_colorLottery&0] &62...'
- - '%PlayerOptions%playSound: BLOCK_LEVER_CLICK:1.0F:1'
- - '$delay$$text$&0[$random_colorLottery&0] &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$&b+------------------------------------'
- - '$text$&b| &6Congratulation! You won : &e $PlayerData%amount_lotteryprize% $PlayerData%lotteryprize%! '
- - '$text$&b+------------------------------------'
- - '%PlayerOptions%addItem: $PlayerData%lotteryprize%:$PlayerData%amount_lotteryprize%'
- delaytimer: 1
- dailybonus:
- command: /dailybonus
- type: RUN_COMMAND
- runcmd:
- - "$Script$%if%$todaydate!=$PlayerData%DailyBonus%"
- - "$text$&0[&6Daily&eBonus&0]&b Hello $player! Here, your daily reward!"
- - "$text$&0[&6Daily&eBonus&0]&b Received &a1 DIAMOND!"
- - "%PlayerOptions%addItem: DIAMOND:1"
- - "$Script$%PlayerData%DailyBonus=$todaydate"
- - "$text$&0[&6Daily&eBonus&0]&b Come back tomorrow!"
- - "$Script$%else%"
- - "$text$&0[&6Daily&eBonus&0]&b That's enough for today! Come back tomorrow!"
- permission-required: false
Advertisement
Add Comment
Please, Sign In to add comment