Advertisement
kunihiko_sato

Untitled

Oct 13th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.61 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"
  55.  
  56. command /menu:
  57. trigger:
  58. wait 3 ticks
  59. open chest with 6 row named "&3&lClock&6&lAthletic &4- &2Server Menu" to player
  60. format slot 20 of player with emerald item named "&aショップ" with lore "&7ショップに行きます。" to close then run [execute player command "shop"]
  61. format slot 22 of player with red bed named "&aロビーに戻る" with lore "&7このサーバーのロビーに戻ります。" to close then run [execute console command "tp %player% 52 5 -6 0 0"]
  62. format slot 24 of player with paper named "&aルール" with lore "&7このサーバーのルールです。||&7ちゃんと守りましょう。" to close then run [execute console command "tellraw %player% {""text"":""\n\u00a7cルールその1 \u00a7a/realmや/shop、チャットなどのSPAMはやめてください。\n\u00a7cルールその2 \u00a7a暴言や喧嘩はやめてください。\n\u00a7cルールその3 \u00a7a他の人を押して突き落としたりしないてください。\n\u00a7cルールその4 \u00a7aハックの導入はやめてください。\n\u00a7cルールその5 \u00a7a荒らしは絶対にしないでください。\u00a76[運営ルール]\n\u00a7cルールその6 \u00a7aバグを利用してアスレをしないでください。\n\u00a7cルールその7 \u00a7a壊れているところやバグがあったら\n \u00a7a運営に報告してください。\n\u00a7cルールその8 \u00a7aOPkrkrはやめてください。\n\u00a7cルールを守らない場合は、処罰を受けてもらうことになります。\n""}"]
  63. format slot 45 of player with compass named "&cページを選ぶ" with lore "&7メニューのページを選びます。|| ||&cページは1つしかありません。" to run [execute console command ""]
  64. format slot 48 of player with arrow item named "&c前のページに行く" with lore "&7前のページに行きます。|| ||&cここは最初のページなので||&c戻ることができません。" to run [execute console command ""]
  65. format slot 49 of player with nether star item named "&cメニューを閉じる" with lore "&7メニューを閉じます。" to close
  66. format slot 50 of player with arrow item named "&c次のページに行く" with lore "&7次のページに行きます。|| ||&cここは最後のページなので||&c次のページに行けません。" to run [execute console command ""]
  67. format slot 53 of player with ghast tear named "&b&l説明" with lore "&7アイテムをクリックして、||&7アイテムの下に書いてある動作をします。" to run [execute console command ""]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement