Advertisement
70sOn7

warps

Oct 22nd, 2017
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.09 KB | None | 0 0
  1. command /warp [<text>]:
  2. aliases: /warps
  3. trigger:
  4. if arg-1 is not set:
  5. open chest with 3 rows named "&6&lWARPS" to player
  6. wait 1 tick
  7. format slot 9 of player with glowing black glass pane named "&r" to be unstealable
  8. format slot 10 of player with glowing black glass pane named "&r" to be unstealable
  9. format slot 11 of player with iron door named "&a&lTRADE" with lore "&eTrade your items with other players here!" to run [make player execute "warp trade"]
  10. format slot 12 of player with diamond sword named "&c&lPVP ARENA" with lore "&eTeleport to the PvP Arena!" to run [make player execute "warp pvp"]
  11. format slot 13 of player with sign named "&6&lMARKET" with lore "&eTeleport to the Market!" to run [make player execute "warp market"]
  12. format slot 14 of player with enchantment table named "&d&lENCHANTS" with lore "&eEnchant your items here!" to run [make player execute "warp enchant"]
  13. format slot 15 of player with ender chest named "&6&lCRATES" with lore "&eTeleport to the Crates!" to run [make player execute "warp crates"]
  14. format slot 16 of player with glowing black glass pane named "&r" to be unstealable
  15. format slot 17 of player with glowing nether star named "&7Credit To:" with lore " &770sOn7" to be unstealable
  16. if arg-1 is set:
  17. if arg-1 is not "trade" or "pvp" or "market" or "enchant" or "crates":
  18. send "&6&lWARPS &7This is not a warp!"
  19. stop
  20. if arg-1 is "trade":
  21. teleport player at {warp.trade}
  22. send "&6&lWARPS &7Teleported to warp &6TRADE&7!"
  23. stop
  24. if arg-1 is "pvp":
  25. teleport player at {warp.pvp}
  26. send "&6&lWARPS &7Teleported to warp &6PVP&7!"
  27. stop
  28. if arg-1 is "market":
  29. teleport player at {warp.market}
  30. send "&6&lWARPS &7Teleported to warp &6MARKET&7!"
  31. stop
  32. if arg-1 is "enchant":
  33. teleport player at {warp.enchant}
  34. send "&6&lWARPS &7Teleported to warp &6ENCHANT&7!"
  35. stop
  36. if arg-1 is "crates":
  37. teleport player at {warp.crates}
  38. send "&6&lWARPS &7Teleported to warp &6crates&7!"
  39. stop
  40.  
  41. command /warps [<text>]:
  42. aliases: /warps
  43. trigger:
  44. if arg-1 is not set:
  45. open chest with 3 rows named "&6&lWARPS" to player
  46. wait 1 tick
  47. format slot 9 of player with glowing black glass pane named "&r" to be unstealable
  48. format slot 10 of player with glowing black glass pane named "&r" to be unstealable
  49. format slot 11 of player with iron door named "&a&lTRADE" with lore "&eTrade your items with other players here!" to run [make player execute "warp trade"]
  50. format slot 12 of player with diamond sword named "&c&lPVP ARENA" with lore "&eTeleport to the PvP Arena!" to run [make player execute "warp pvp"]
  51. format slot 13 of player with sign named "&6&lMARKET" with lore "&eTeleport to the Market!" to run [make player execute "warp market"]
  52. format slot 14 of player with enchantment table named "&d&lENCHANTS" with lore "&eEnchant your items here!" to run [make player execute "warp enchant"]
  53. format slot 15 of player with ender chest named "&6&lCRATES" with lore "&eTeleport to the Crates!" to run [make player execute "warp crates"]
  54. format slot 16 of player with glowing black glass pane named "&r" to be unstealable
  55. format slot 17 of player with glowing nether star named "&7Credit To:" with lore " &770sOn7" to be unstealable
  56. if arg-1 is set:
  57. if arg-1 is not "trade" or "pvp" or "market" or "enchant" or "crates":
  58. send "&6&lWARPS &7This is not a warp!"
  59. stop
  60. if arg-1 is "trade":
  61. teleport player at {warp.trade}
  62. send "&6&lWARPS &7Teleported to warp &6TRADE&7!"
  63. stop
  64. if arg-1 is "pvp":
  65. teleport player at {warp.pvp}
  66. send "&6&lWARPS &7Teleported to warp &6PVP&7!"
  67. stop
  68. if arg-1 is "market":
  69. teleport player at {warp.market}
  70. send "&6&lWARPS &7Teleported to warp &6MARKET&7!"
  71. stop
  72. if arg-1 is "enchant":
  73. teleport player at {warp.enchant}
  74. send "&6&lWARPS &7Teleported to warp &6ENCHANT&7!"
  75. stop
  76. if arg-1 is "crates":
  77. teleport player at {warp.crates}
  78. send "&6&lWARPS &7Teleported to warp &6crates&7!"
  79. stop
  80.  
  81.  
  82. command /setwarp [<text>]:
  83. permission: server.setwarp
  84. permission message: &8(&c!&8) &7You can not do this command!
  85. trigger:
  86. if arg-1 is not set:
  87. send "&6&lWARPS &7/setwarp (Warp)"
  88. if arg-1 is not "trade" or "pvp" or "market" or "enchant" or "crates":
  89. send "&6&lWARPS &7This is not a warp!"
  90. stop
  91. if arg-1 is "trade":
  92. set {warp.trade} to the player's location
  93. send "&6&lWARPS &7You have set the location for warp &6&lTRADE&7!"
  94. stop
  95. if arg-1 is "pvp":
  96. set {warp.pvp} to the player's location
  97. send "&6&lWARPS &7You have set the location for warp &6&lPVP&7!"
  98. stop
  99. if arg-1 is "market":
  100. set {warp.market} to the player's location
  101. send "&6&lWARPS &7You have set the location for warp &6&lMARKET&7!"
  102. stop
  103. if arg-1 is "enchant":
  104. set {warp.enchant} to the player's location
  105. send "&6&lWARPS &7You have set the location for warp &6&lENCHANT&7!"
  106. stop
  107. if arg-1 is "CRATES":
  108. set {warp.crates} to the player's location
  109. send "&6&lWARPS &7You have set the location for warp &6&lCRATES&7!"
  110. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement