kunihiko_sato

Untitled

Oct 14th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.98 KB | None | 0 0
  1. command /shop:
  2. aliases: /clockathletic:shop
  3. trigger:
  4. wait 3 ticks
  5. open chest with 6 row named "&3&lClock&6&lAthletic &4- &2Shop" to player
  6. format slot 0 of player with nether star named "&b&l説明" with lore "&7それぞれのアイテムをクリックして、||&7アイテムを購入します。||&7コストは下に書いてあります。" to run [execute console command ""]
  7. format slot 10 of player with gold ingot named "&a&lVIP&3ランク" with lore "&cCost: &e5000Coins" to close then run [execute console command "shop-buy-command %player% viprank"]
  8. format slot 11 of player with diamond item named "&e&lMVP&3ランク" with lore "&cCost: &e10000Coins" to close then run [execute console command "shop-buy-command %player% mvprank"]
  9. format slot 12 of player with emerald item named "&d&lレジェンド&3ランク" with lore "&cCost: &e50000Coins" to close then run [execute console command "shop-buy-command %player% legendrank"]
  10. format slot 13 of player with blaze rod named "&4&l神&3ランク" with lore "&cCost: &e100000Coins" to close then run [execute console command "shop-buy-command %player% godrank"]
  11. format slot 14 of player with blaze powder named "&5&l王&3ランク" with lore "&cCost: &e500000Coins" to close then run [execute console command "shop-buy-command %player% kingrank"]
  12. format slot 15 of player with ender pearl named "&5エンダーパールx8" with lore "&cCost: &e1000Coins" to close then run [execute console command "shop-buy-command %player% ep-8"]
  13.  
  14. command /shop-buy-command <player> <text>:
  15. permission: console
  16. permission message: Unknown command. Type "/help" for help.
  17. trigger:
  18. if arg-1 is set:
  19. if arg-2 is "viprank":
  20. execute console command "execute @a[name=%arg 1%,score_coins=4999] ~ ~ ~ /tellraw %arg 1% {""text"":""\u00a72[Shop] \u00a7cコインが足りません。""}"
  21. execute console command "execute @a[name=%arg 1%,score_coins_min=5000] ~ ~ ~ /tellraw @a {""text"":""\u00a72[Shop] \u00a75%arg 1%\u00a7dさんが\u00a7a\u00a7lVIP\u00a73ランク&bを購入しました。""}"
  22. execute console command "execute @a[name=%arg 1%,score_coins_min=5000] ~ ~ ~ /playsound minecraft:entity.player.levelup master %arg 1% ~ ~ ~ 5.0 1.0"
  23. execute console command "execute @a[name=%arg 1%,score_coins_min=5000] ~ ~ ~ /nte player %arg 1% prefix &b[&aVIP&b] &9"
  24. execute console command "execute @a[name=%arg 1%,score_coins_min=5000] ~ ~ ~ /scoreboard players remove %arg 1% coins 5000"
  25. if arg-2 is "mvprank":
  26. execute console command "execute @a[name=%arg 1%,score_coins=9999] ~ ~ ~ /tellraw %arg 1% {""text"":""\u00a72[Shop] \u00a7cコインが足りません。""}"
  27. execute console command "execute @a[name=%arg 1%,score_coins_min=10000] ~ ~ ~ /tellraw @a {""text"":""\u00a72[Shop] \u00a75%arg 1%\u00a7dさんが\u00a7e\u00a7lMVP\u00a73ランク&bを購入しました。""}"
  28. execute console command "execute @a[name=%arg 1%,score_coins_min=10000] ~ ~ ~ /playsound minecraft:entity.player.levelup master %arg 1% ~ ~ ~ 5.0 1.0"
  29. execute console command "execute @a[name=%arg 1%,score_coins_min=10000] ~ ~ ~ /nte player %arg 1% prefix &b[&eMVP&b] &9"
  30. execute console command "execute @a[name=%arg 1%,score_coins_min=10000] ~ ~ ~ /scoreboard players remove %arg 1% coins 10000"
  31. if arg-2 is "legendrank":
  32. execute console command "execute @a[name=%arg 1%,score_coins=49999] ~ ~ ~ /tellraw %arg 1% {""text"":""\u00a72[Shop] \u00a7cコインが足りません。""}"
  33. execute console command "execute @a[name=%arg 1%,score_coins_min=50000] ~ ~ ~ /tellraw @a {""text"":""\u00a72[Shop] \u00a75%arg 1%\u00a7dさんが\u00a7d\u00a7lレジェンド\u00a73ランク&bを購入しました。""}"
  34. execute console command "execute @a[name=%arg 1%,score_coins_min=50000] ~ ~ ~ /playsound minecraft:entity.player.levelup master %arg 1% ~ ~ ~ 5.0 1.0"
  35. execute console command "execute @a[name=%arg 1%,score_coins_min=50000] ~ ~ ~ /nte player %arg 1% prefix &b[&dレジェンド&b] &9"
  36. execute console command "execute @a[name=%arg 1%,score_coins_min=50000] ~ ~ ~ /scoreboard players remove %arg 1% coins 50000"
  37. if arg-2 is "godrank":
  38. execute console command "execute @a[name=%arg 1%,score_coins=99999] ~ ~ ~ /tellraw %arg 1% {""text"":""\u00a72[Shop] \u00a7cコインが足りません。""}"
  39. execute console command "execute @a[name=%arg 1%,score_coins_min=100000] ~ ~ ~ /tellraw @a {""text"":""\u00a72[Shop] \u00a75%arg 1%\u00a7dさんが\u00a74\u00a7l神\u00a73ランク&bを購入しました。""}"
  40. execute console command "execute @a[name=%arg 1%,score_coins_min=100000] ~ ~ ~ /playsound minecraft:entity.player.levelup master %arg 1% ~ ~ ~ 5.0 1.0"
  41. execute console command "execute @a[name=%arg 1%,score_coins_min=100000] ~ ~ ~ /nte player %arg 1% prefix &b[&4神&b] &9"
  42. execute console command "execute @a[name=%arg 1%,score_coins_min=100000] ~ ~ ~ /scoreboard players remove %arg 1% coins 100000"
  43. if arg-2 is "kingrank":
  44. execute console command "execute @a[name=%arg 1%,score_coins=499999] ~ ~ ~ /tellraw %arg 1% {""text"":""\u00a72[Shop] \u00a7cコインが足りません。""}"
  45. execute console command "execute @a[name=%arg 1%,score_coins_min=500000] ~ ~ ~ /tellraw @a {""text"":""\u00a72[Shop] \u00a75%arg 1%\u00a7dさんが\u00a75\u00a7l王\u00a73ランク&bを購入しました。""}"
  46. execute console command "execute @a[name=%arg 1%,score_coins_min=500000] ~ ~ ~ /playsound minecraft:entity.player.levelup master %arg 1% ~ ~ ~ 5.0 1.0"
  47. execute console command "execute @a[name=%arg 1%,score_coins_min=500000] ~ ~ ~ /nte player %arg 1% prefix &b[&5王&b] &9"
  48. execute console command "execute @a[name=%arg 1%,score_coins_min=500000] ~ ~ ~ /scoreboard players remove %arg 1% coins 500000"
  49. if arg-2 is "ep-8":
  50. execute console command "execute @a[name=%arg 1%,score_coins=999] ~ ~ ~ /tellraw %arg 1% {""text"":""\u00a72[Shop] \u00a7cコインが足りません。""}"
  51. execute console command "execute @a[name=%arg 1%,score_coins_min=1000] ~ ~ ~ /tellraw @a {""text"":""\u00a72[Shop] \u00a75%arg 1%\u00a7dさんが\u00a75エンダーパールx8&bを購入しました。""}"
  52. execute console command "execute @a[name=%arg 1%,score_coins_min=1000] ~ ~ ~ /playsound minecraft:entity.player.levelup master %arg 1% ~ ~ ~ 5.0 1.0"
  53. execute console command "execute @a[name=%arg 1%,score_coins_min=1000] ~ ~ ~ /give %arg 1% ender_pearl 8 0 {display:{Name:""§5エンダーパール""}}"
  54. execute console command "execute @a[name=%arg 1%,score_coins_min=1000] ~ ~ ~ /scoreboard players remove %arg 1% coins 1000"
Advertisement
Add Comment
Please, Sign In to add comment