Advertisement
samdude444

Untitled

Mar 28th, 2016
1,695
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.86 KB | None | 0 0
  1. Kit PvP Signs in Vanilla Minecraft Commands for Minecraft 1.9 (v3):
  2. https://www.youtube.com/watch?v=Nngs_4Sk8Iw
  3. https://www.youtube.com/c/SamTheSheep
  4. _____________________________________________________
  5.  
  6. ►Player Tag Sign:
  7. This command tags a player who clicks the sign.
  8. (Ex. After giving player the 'archer' tag, run all commands using the selector @a[tag=archer])
  9.  
  10. /blockdata ~ ~1 ~ {Text1:"[{\"text\":\"[Kit PvP]\",\"color\":\"dark_red\",\"bold\":true,\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/scoreboard players tag @p add archer\"}}]",Text2:"[{\"text\":\"Click to get\",\"color\":\"yellow\",\"bold\":true}]",Text3:"[{\"text\":\"Archer Kit\",\"color\":\"yellow\",\"bold\":true}]",Text4:"[{\"text\":\"---------------\",\"color\":\"dark_red\",\"bold\":true}]"}
  11.  
  12. Example Command:
  13. /replaceitem entity @a[tag=archer] slot.hotbar.0 bow 1 0 {ench:[{id:48,lvl:1}]}
  14. Gives player who clicks the sign a bow in their first inventory slot.
  15.  
  16. ►Archer Kit Sign Compact Commands (No Command Blocks)
  17. These are the four commands that are used as clickEvents inside the sign. Signs can only run up to 4 commands.
  18.  
  19. /clear @p
  20. Clears the player's inventory to get a new kit each time
  21.  
  22. execute @p ~ ~ ~ /summon Item ~ ~ ~ {Item:{id:bow,Count:1,tag:{ench:[{id:48,lvl:1}]}},Passengers:[{id:Item,Item:{id:golden_sword,Count:1},Passengers:[{id:Item,Item:{id:cooked_beef,Count:16},Passengers:[{id:Item,Item:{id:arrow,Count:64},Passengers:[{id:Item,Item:{id:arrow,Count:64},Passengers:[{id:Item,Item:{id:golden_helmet,Count:1},Passengers:[{id:Item,Item:{id:golden_chestplate,Count:1},Passengers:[{id:Item,Item:{id:golden_leggings,Count:1},Passengers:[{id:Item,Item:{id:golden_boots,Count:1}}]}]}]}]}]}]}]}]}
  23. Gives kit items directly to the player. By summoning items riding other items, you can give yourself multiple items through one command block! Created using: http://mcstacker.bimbimma.com/
  24.  
  25. /playsound entity.experience_orb.pickup master @p ~ ~ ~ 1 1
  26. Plays ding sound when sign is clicked.
  27.  
  28. /tellraw @p [\\\"\\\",{\\\"text\\\":\\\"[Kit PvP] \\\",\\\"bold\\\":true,\\\"color\\\":\\\"dark_red\\\"},{\\\"text\\\":\\\"You have selected the \\\",\\\"color\\\":\\\"yellow\\\"},{\\\"text\\\":\\\"Archer \\\",\\\"bold\\\":true,\\\"color\\\":\\\"red\\\"},{\\\"text\\\":\\\"kit!\\\",\\\"color\\\":\\\"yellow\\\"}]
  29. Says a message in chat telling you which kit you have selected.
  30.  
  31. Together, these commands create this sign (blockdata):
  32. /blockdata ~ ~1 ~ {Text1:"[{\"text\":\"[Kit PvP]\",\"color\":\"dark_red\",\"bold\":true,\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/clear @p\"}}]",Text2:"[{\"text\":\"Click to get\",\"color\":\"yellow\",\"bold\":true,\"clickEvent\":{\"action\":\"run_command\",\"value\":\"execute @p ~ ~ ~ /summon Item ~ ~ ~ {Item:{id:bow,Count:1,tag:{ench:[{id:48,lvl:1}]}},Passengers:[{id:Item,Item:{id:golden_sword,Count:1},Passengers:[{id:Item,Item:{id:cooked_beef,Count:16},Passengers:[{id:Item,Item:{id:arrow,Count:64},Passengers:[{id:Item,Item:{id:arrow,Count:64},Passengers:[{id:Item,Item:{id:golden_helmet,Count:1},Passengers:[{id:Item,Item:{id:golden_chestplate,Count:1},Passengers:[{id:Item,Item:{id:golden_leggings,Count:1},Passengers:[{id:Item,Item:{id:golden_boots,Count:1}}]}]}]}]}]}]}]}]}\"}}]",Text3:"[{\"text\":\"Archer Kit\",\"color\":\"yellow\",\"bold\":true,\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/playsound entity.experience_orb.pickup master @p ~ ~ ~ 1 1\"}}]",Text4:"[{\"text\":\"------------\",\"color\":\"dark_red\",\"bold\":true,\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tellraw @p [\\\"\\\",{\\\"text\\\":\\\"[Kit PvP] \\\",\\\"bold\\\":true,\\\"color\\\":\\\"dark_red\\\"},{\\\"text\\\":\\\"You have selected the \\\",\\\"color\\\":\\\"yellow\\\"},{\\\"text\\\":\\\"Archer \\\",\\\"bold\\\":true,\\\"color\\\":\\\"red\\\"},{\\\"text\\\":\\\"kit!\\\",\\\"color\\\":\\\"yellow\\\"}]\"}}]"}
  33.  
  34. Download world from video description for other kits.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement