Advertisement
maozou

Untitled

Feb 10th, 2019
1,360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.13 KB | None | 0 0
  1. command /pvp [<text>] [<text>]:
  2. permission: skript.admin
  3. permission message: &cYou don't have permission!
  4. trigger:
  5. if arg-1 is "start":
  6. execute console command "/fill -15 3 301 -15 3 305 redstone_block"
  7. execute console command "/setblock -15 4 315 redstone_block"
  8. execute console command "/clear @a"
  9. broadcast "&6試合&eを開始します。"
  10. broadcast "&e人間同士は離れてください"
  11. broadcast "&e武器はしばらくしたら配られます"
  12. wait 10 seconds
  13. broadcast "&eスタートします…"
  14. wait 2 seconds
  15. broadcast "&a3 seconds…"
  16. execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master @a"
  17. wait 1 seconds
  18. broadcast "&e2 seconds…"
  19. execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master @a"
  20. wait 1 seconds
  21. broadcast "&c1 seconds…"
  22. execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master @a"
  23. wait 1 seconds
  24. broadcast "&6&lStart!!"
  25. execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.player.hurt master @a"
  26. execute console command "/give @a[team=!afk] minecraft:bow 1 0 {""display"":{""Name"":""&6&l弓""},""Unbreakable"":1b,""ench"":[{""id"":48s,""lvl"":32767s},{""id"":51s,""lvl"":32767s}],""HideFlags"":63}"
  27. execute console command "/give @a[team=!afk] minecraft:arrow 1 0 {""display"":{""Name"":""&9&lArrow""},""Unbreakable"":1b,""HideFlags"":63}"
  28. execute console command "/scoreboard teams join game @a[team=!afk]"
  29. if arg-1 is "team":
  30. if arg-2 is "start" or "s":
  31. execute console command "/setblock -19 3 312 redstone_block"
  32. execute console command "/setblock -15 3 311 redstone_block"
  33. wait 1 seconds
  34. execute console command "/setblock -15 3 311 air"
  35. execute console command "/tp @a[team=!afk] -58 5 371"
  36. execute console command "/tp @a[team=!afk] -58 5 371"
  37. execute console command "/gamemode 2 @a"
  38. execute console command "/clear @a"
  39. broadcast "&6試合&eを開始します。"
  40. broadcast "&e人間同士は離れてください"
  41. broadcast "&e武器はしばらくしたら配られます"
  42. wait 10 seconds
  43. broadcast "&eスタートします…"
  44. wait 2 seconds
  45. broadcast "&a3 seconds…"
  46. execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master @a"
  47. wait 1 seconds
  48. broadcast "&e2 seconds…"
  49. execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master @a"
  50. wait 1 seconds
  51. broadcast "&c1 seconds…"
  52. execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master @a"
  53. wait 1 seconds
  54. broadcast "&6&lStart!!"
  55. execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.player.hurt master @a"
  56. execute console command "/give @a[team=!afk] minecraft:bow 1 0 {""display"":{""Name"":""&6&l弓""},""Unbreakable"":1b,""ench"":[{""id"":48s,""lvl"":32767s},{""id"":51s,""lvl"":32767s}],""HideFlags"":63}"
  57. execute console command "/give @a[team=!afk] minecraft:arrow 1 0 {""display"":{""Name"":""&9&lArrow""},""Unbreakable"":1b,""HideFlags"":63}"
  58. if arg-1 is not set:
  59. send "&e-----==Helps==----"
  60. send "&astart.... ゲームスタート"
  61. send "&bteam s... チーム戦"
  62. send "&e何も書かない...この画面表示"
  63. on join:
  64. broadcast "&bK/D %{kills.%player%}/{deaths.%player%}% &a%player% &7[join]"
  65. execute console command "/scoreboard teams join lobby %player%"
  66. execute console command "/spawnpoint %player% -82 5 256"
  67. on first join:
  68. broadcast "&a%player% &d[First join]"
  69. execute console command "/scoreboard teams join lobby %player%"
  70. execute console command "/tp %player% -82 5 256"
  71. on quit:
  72. broadcast "&a%player% &7[Quit]"
  73. on death:
  74. if attacker is a player:
  75. broadcast "&c%victim% &ekilled by &b%attacker%!"
  76. execute console command "/scoreboard teams join lobby %player%"
  77. execute console command "/clear %player%"
  78. command /afk [<text>]:
  79. trigger:
  80. arg-1 is "on":
  81. broadcast "&a%player%&eさんが放置になりました"
  82. execute console command "/scoreboard teams join afk %player%"
  83. arg-1 is "off":
  84. broadcast "&a%player%&eさんの放置が終わりました"
  85. execute console command "/scoreboard teams join lobby %player%"
  86. command /map [<text>]:
  87. permission: skript.admin
  88. trigger:
  89. if arg-1 is "nether":
  90. execute console command "/fill -17 3 305 -17 3 301 air"
  91. execute console command "/setblock -17 3 305 gold_block"
  92. send "&aマップを&cネザー&aに変更しました。"
  93. if arg-1 is "normal":
  94. execute console command "/fill -17 3 305 -17 3 301 air"
  95. execute console command "/setblock -17 3 303 gold_block"
  96. send "&aマップを&cノーマル&aに変更しました。"
  97. command /stats [<player>]:
  98. trigger:
  99. if arg-1 is not set:
  100. send "my status"
  101. send "&bKills: %{kills.%player%}%"
  102. send "&cDeaths: %{deaths.%player%}%"
  103. send "&aK/D: %{kills.%player%}/{deaths.%player%}% "
  104. else:
  105. send "%arg-1%'s status"
  106. send "&bKills: %{kills.%arg-1%}%"
  107. send "&cDeaths: %{deaths.%arg-1%}%"
  108. send "&aK/D: %{kills.%arg-1%}/{deaths.%arg-1%}% "
  109. on death:
  110. attacker is player
  111. victim is player
  112. add 1 to {kiils.%attacker%}
  113. add 1 to {deaths.%victim%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement