Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. command /warp [<text>] [<text>]:
  2. trigger:
  3. open chest with 2 rows named "&b&lWARPS" to player
  4. wait 1 tick
  5. set slot 1 of player's current inventory to chest named "&bCrates" with lore "&7Use your keys to||&7win amazing prizes!||&7||&bClick to warp"
  6. set slot 3 of player's current inventory to diamond sword named "&bPVP Arena" with lore "&7Fight other players||&7and gain their gear!||&7||&bClick to warp"
  7. set slot 5 of player's current inventory to white wool_block named "&bAnimal Farm" with lore "&7Kill animals||&7and gain their loot!||&7||&bClick to warp"
  8. set slot 7 of player's current inventory to diamond block named "&bHall of Fame" with lore "&7Current Staff||&7Top Voters & Top Island Levels!||&7||&bClick to warp"
  9. set slot 11 of player's current inventory to netherrack named "&bNether" with lore "&7Nether World!||&7||&bClick to warp"
  10. set slot 15 of player's current inventory to end stone named "&bEnd" with lore "&7End World!||&7||&bClick to warp"
  11. command /warps [<text>] [<text>]:
  12. trigger:
  13. open chest with 2 rows named "&b&lWARPS" to player
  14. wait 1 tick
  15. set slot 1 of player's current inventory to chest named "&bCrates" with lore "&7Use your keys to||&7win amazing prizes!||&7||&bClick to warp"
  16. set slot 3 of player's current inventory to diamond sword named "&bPVP Arena" with lore "&7Fight other players||&7and gain their gear!||&7||&bClick to warp"
  17. set slot 5 of player's current inventory to white wool_block named "&bAnimal Farm" with lore "&7Kill animals||&7and gain their loot!||&7||&bClick to warp"
  18. set slot 7 of player's current inventory to diamond block named "&bHall of Fame" with lore "&7Current Staff||&7Top Voters & Top Island Levels!||&7||&bClick to warp"
  19. set slot 11 of player's current inventory to netherrack named "&bNether" with lore "&7Nether World!||&7||&bClick to warp"
  20. set slot 15 of player's current inventory to end stone named "&bEnd" with lore "&7End World!||&7||&bClick to warp"
  21.  
  22.  
  23.  
  24.  
  25.  
  26. on inventory click:
  27. if inventory name of player's current inventory is "&b&lWARPS":
  28. if clicked slot is 1:
  29. cancel event
  30. execute console command "essentials:warp crates %player%"
  31. if clicked slot is 3:
  32. cancel event
  33. execute console command "essentials:warp pvp %player%"
  34. if clicked slot is 5:
  35. cancel event
  36. execute console command "essentials:warp animals %player%"
  37. if clicked slot is 7:
  38. cancel event
  39. execute console command "essentials:warp halloffame %player%"
  40. if clicked slot is 11:
  41. cancel event
  42. execute console command "essentials:warp nether %player%"
  43. if clicked slot is 15:
  44. cancel event
  45. execute console command "essentials:warp end %player%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement