Facebook
From bdsd, 7 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 276
  1. command /daj [<player>]:
  2.         permission: ee.sk
  3.         trigger:
  4.                 send "&7Dostałes &a1 skrzynke PREMIUM CASE" to the argument 1
  5.                 give 1 chest named "&5Premium Case" to the argument 1
  6.  
  7. command /dostan:
  8.         permission: ee.sk
  9.         trigger:
  10.                 send "&2Dosta�e� &664 skrzynki &5&lPREMIUM CASE"
  11.                 give 64 chest named "&5Premium Case" to the player
  12. command /giveall:
  13.         permission: ee.sk
  14.         trigger:
  15.                 broadcast ""
  16.                 broadcast "&7        &7Cały server otrzymal &c1x &5Premium Case!"
  17.                 give 1 chest named "&5Premium Case" to all players
  18.                
  19. on place chest:
  20.         if player's tool is chest named "&5Premium Case":
  21.                 set block to air
  22.                 wait 0.1 second
  23.                 set block to stone
  24.                 wait 0.1 second
  25.                 set block to gravel
  26.                 wait 0.1 second
  27.                 set block to iron block
  28.                 wait 0.1 second
  29.                 set block to bedrock
  30.                 wait 0.1 second
  31.                 set block to diamond block
  32.                 wait 0.1 second
  33.                 set block to 35:15
  34.                 wait 0.1 second
  35.                 set block to 35:13
  36.                 wait 0.1 second
  37.                 set block to 35:14
  38.                 wait 0.1 second
  39.                 set block to 95:14
  40.                 wait 0.1 second
  41.                 set block to 95:13
  42.                 wait 0.1 second
  43.                 set block to 95:10
  44.                 wait 0.1 second
  45.                 set block to 95:5
  46.                 wait 0.1 second
  47.                 set block to 17:0
  48.                 wait 0.1 second
  49.                 set block to 17:1
  50.                 wait 0.1 second
  51.                 set block to 17:2
  52.                 wait 0.1 second
  53.                 set block to 17:3
  54.                 wait 0.1 second
  55.                 set block to air
  56.                 broadcast "&7Gracz &c&l%player% &7otworzyl skrzynie &5Premium Case&7 i wydropil:"
  57.                 chance of 70%:
  58.                         drop 64 diamond
  59.                         broadcast "&864x &2diaxy"
  60.                 chance of 30%:
  61.                         drop 1 311 of protection 4 and unbreaking 3 named "&5&lSet 4/3"
  62.                         broadcast "&b1x &2Klata &e&l4/3"
  63.                 chance of 10%:
  64.                         drop 64 emerald block
  65.                         broadcast "&a64x &2 bloki emeraldy"
  66.                 chance of 30%:
  67.                         drop 1 310 of protection 4 and unbreaking 3 named "&5Set 4/3"
  68.                         broadcast "&31x &2Helm &e4/3"
  69.                 chance of 50%:
  70.                         drop 64 gold ingot
  71.                         broadcast "&f64x &2zelazo"
  72.                 chance of 30%:
  73.                         drop 1 312 of protection 4 and unbreaking 3 named "&5Set 4/3"
  74.                         broadcast "&71x &2Spodnie &e4/3"
  75.                 chance of 5%:
  76.                         drop 1 278 of efficiency 6 and unbreaking 3 and fortune 3
  77.                         broadcast "&c1x &2Kilof &e6/3/3"
  78.                 chance of 30%:
  79.                         drop 1 313 of protection 4 and unbreaking 3 named "&5Set 4/3"
  80.                         broadcast "&71x &2butki &e4/3"
  81.                 chance of 40%:
  82.                         drop 1 276 of sharpness 5 and fire aspect 3 named "&5Miecz 5/3"
  83.                         broadcast "&51x &2Miecz &e5/3"
  84.                 chance of 30%:
  85.                         drop 64 TNT
  86.                         broadcast "&464x &1TNT"
  87.                 chance of 2.5%:
  88.                         drop 1 138
  89.                         broadcast "&c1x &5&lB&4&lE&3&lA&c&C&6&lO&7&lN&a&lA!"
  90.                    broadcast "&8| &7PremiumCase zakupisz na: &3&lSTRONA"
  91.                    broadcast "&8| &7Za &cPSC &7& &cPRZELEW &7kupisz na: &3&lSTRONA"
  92.                    broadcast "&8######################################"
  93.                    remove 1 chest named "&5Premium Case" from player's inventory
  94.                    
  95. command /premiumcase [<player>] [<text>]:
  96.  permission: rex.premiumcase
  97.  trigger:
  98.   if arg 1 is not set:
  99.    if arg 2 is not set:
  100.     send "&3&lBEDIHARD &8/&cpremiumcase &c[&eNick&8] [&eIlosc&8]"
  101.   if arg 1 is set:
  102.    if arg 2 is set:
  103.     execute console command "daj %arg 1% chest %arg 2%"
  104.     send "&3&lBEDIHARD &a&lOtrzymales &4&lPremium &4&lCase &7&lx&c&l%arg 2% &a&l!" to player-arg