Advertisement
MilkTeaPopcorn

Untitled

Nov 5th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. #EVENT
  2.  
  3. on join:
  4. set gamemode of player to adventure
  5. teleport player to world's spawn point
  6. stop
  7.  
  8. on join:
  9. set the join message to "&f[&a&lログイン&f] %player%"
  10.  
  11. on quit:
  12. set the quit message to "&f[&c&lログアウト&f] %player%"
  13.  
  14. on death:
  15. victim is a player
  16. attacker is a player
  17. broadcast "&7%victim%&eさんが&7%attacker%&eさんに倒されました"
  18. stop
  19.  
  20. #KITS
  21.  
  22. command /kit [<text>]:
  23. trigger:
  24. if arg-1 is not set:
  25. open chest with 3 row named "&7[&6キット&7]" to player
  26. format slot 3 of player with diamond sword named "&7[&f&lKnight&7]" to close then run [execute player command "/kitselect knight"]
  27. format slot 4 of player with diamond chestplate named "&7[&b&lタンク&7]" to close then run [execute player command "/kitselect tank"]
  28. format slot 5 of player with bow named "&7[&6&lアーチャー&7]" to close then run [execute player command "/kitselect archer"]
  29.  
  30. if arg-1 is "knight":
  31. loop all players:
  32. clear player's inventory
  33. set slot 0 of player to diamond sword of unbreaking 3
  34. set slot 1 of player to 2 golden apple
  35. set slot 2 of player to 64 steak
  36. equip player with iron helmet of unbreaking 3
  37. equip player with iron chestplate of unbreaking 3
  38. equip player with iron leggings of unbreaking 3
  39. equip player with diamond boots of unbreaking 3
  40. stop
  41.  
  42. if arg-1 is "tank":
  43. loop all players:
  44. clear player's inventory
  45. set slot 0 of player to iron sword of unbreaking 3
  46. set slot 1 of player to 2 golden apple
  47. set slot 2 of player to 64 steak
  48. equip player with diamond helmet of unbreaking 3
  49. equip player with iron chestplate of unbreaking 3
  50. equip player with iron leggings of unbreaking 3
  51. equip player with diamond boots of unbreaking 3
  52. stop
  53.  
  54. if arg-1 is "archer":
  55. loop all players:
  56. clear player's inventory
  57. set slot 0 of player to stone sword of unbreaking 3
  58. set slot 1 of player to bow of power 1 and unbreaking 3
  59. set slot 2 of player to 64 arrows
  60. set slot 3 of player to 2 golden apple
  61. set slot 4 of player to 64 steak
  62. equip player with leather helmet of unbreaking 3
  63. equip player with chainmail chestplate of unbreaking 3
  64. equip player with chainmail leggings of unbreaking 3
  65. equip player with leather boots of unbreaking 3
  66. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement