Facebook
From Red Treeshrew, 3 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 168
  1. #|-------~~ INFORMATION ~~-------|#
  2.  
  3. # Name: Warps-Gui
  4. # Author: Blixten37
  5. # Version: v0.1
  6. # Server: swedd.apexmc.co
  7.  
  8. #|-------~~ INFORMATION ~~-------|#
  9.  
  10.  
  11. #|-------~~ COLER CODES ~~-------|#
  12.  
  13. # Dark Red = &4
  14. # Red = &c
  15. # Gold = &6
  16. # Yellow = &e
  17. # Dark Green = &2
  18. # Green = &a
  19. # Aqua = &b
  20. # Dark Aqua = &3
  21. # Dark Blue = &1
  22. # Blue = &9
  23. # Light Purple = &d
  24. # Dark Purple = &5
  25. # White = &f
  26. # Gray = &7
  27. # Dark Gray = &8
  28. # Black = &0
  29.  
  30. # Credit: https://www.digminecraft.com/lists/color_list_pc.php
  31.  
  32. #|-------~~ COLER CODES ~~-------|#
  33.  
  34.  
  35. #|-------~~ CONFIG ~~-------|#
  36.  
  37. options:
  38. #
  39. # All the prefixses
  40. #
  41.   prefix: &8[&dWarp&8] #The prefix of spawn command.
  42.   error: &8[&cError&8] #The prfix of error messages.
  43. #
  44. # All the warp names
  45. #
  46.   warp1: Lobby #The name of warp 1
  47.   warp2: shop #The name of warp 2
  48.   warp3: Ctf #The name of warp 3
  49.   warp4: Kitpvp #The name of warp 4
  50.   warp5: Obby #The name of warp 5
  51.   warp6: soon.. #The name of warp 6
  52.   warp7: soon.. #The name of warp 7
  53. #
  54. # All the blocks or items of the warps
  55. #
  56.   block1: lime wool #The block of warp 1
  57.   block2: white wool #The block of warp 2
  58.   block3: red wool #The block of warp 3
  59.   block4: blue wool #The block of warp 4
  60.   block5: purple wool #The block of warp 5
  61.   block6: light blue wool #The block of warp 6
  62.   block7: yellow wool #The block of warp 7
  63. #
  64. # All the permissions and the permission messages
  65. #
  66.   permission: gui.warp #the permission for the command /warps
  67.   permission message: &8[&cError&8] &cYou dont have permission for this command! #the permission message for /warps
  68. #
  69. # The info text about your warps
  70. #
  71.   infosign: Warp gui menu
  72. #
  73. #-------------------------------------------
  74. #
  75. # The config is done now :D
  76. #
  77. # I would only recomend you continue if you know what your doing!
  78. #
  79. # Hope you enjoy
  80. #
  81. #-------------------------------------------
  82.  
  83.  
  84.  
  85. #|-------~~ CONFIG ~~-------|#
  86.  
  87.  
  88.  
  89. #|-------~~ WARP GUI ~~-------|#
  90.  
  91. on right click on chest:
  92.     description: warp gui
  93.     permission message: {@permission message}
  94.     usage: {@error} &c/warps
  95.     trigger:
  96.         wait 2 tick
  97.         open chest with 5 rows named "    &7&m  ~~&7 {@prefix} &7- &8[&dGui&8] &7&m~~  &7" to player
  98.         wait 1 tick
  99.  
  100. #       This is the black glass in the menu!
  101.  
  102.         format slot 9 of player with black stained glass pane named "&7" to be unstealable
  103.         format slot 10 of player with black stained glass pane named "&7" to be unstealable
  104.         format slot 11 of player with black stained glass pane named "&7" to be unstealable
  105.         format slot 12 of player with black stained glass pane named "&7" to be unstealable
  106.         format slot 13 of player with black stained glass pane named "&7" to be unstealable
  107.         format slot 14 of player with black stained glass pane named "&7" to be unstealable
  108.         format slot 15 of player with black stained glass pane named "&7" to be unstealable
  109.         format slot 16 of player with black stained glass pane named "&7" to be unstealable
  110.         format slot 17 of player with black stained glass pane named "&7" to be unstealable
  111.         format slot 18 of player with black stained glass pane named "&7" to be unstealable
  112.         format slot 26 of player with black stained glass pane named "&7" to be unstealable
  113.         format slot 27 of player with black stained glass pane named "&7" to be unstealable
  114.         format slot 28 of player with black stained glass pane named "&7" to be unstealable
  115.         format slot 29 of player with black stained glass pane named "&7" to be unstealable
  116.         format slot 30 of player with black stained glass pane named "&7" to be unstealable
  117.         format slot 31 of player with black stained glass pane named "&7" to be unstealable
  118.         format slot 32 of player with black stained glass pane named "&7" to be unstealable
  119.         format slot 33 of player with black stained glass pane named "&7" to be unstealable
  120.         format slot 34 of player with black stained glass pane named "&7" to be unstealable
  121.         format slot 35 of player with black stained glass pane named "&7" to be unstealable
  122.  
  123. #       This is the gray glass in the menu!
  124.  
  125.         format slot 0 of player with gray stained glass pane named "&7" to be unstealable
  126.         format slot 1 of player with gray stained glass pane named "&7" to be unstealable
  127.         format slot 2 of player with gray stained glass pane named "&7" to be unstealable
  128.         format slot 3 of player with gray stained glass pane named "&7" to be unstealable
  129.         format slot 5 of player with gray stained glass pane named "&7" to be unstealable
  130.         format slot 6 of player with gray stained glass pane named "&7" to be unstealable
  131.         format slot 7 of player with gray stained glass pane named "&7" to be unstealable
  132.         format slot 8 of player with gray stained glass pane named "&7" to be unstealable
  133.  
  134.         format slot 36 of player with gray stained glass pane named "&7" to be unstealable
  135.         format slot 37 of player with gray stained glass pane named "&7" to be unstealable
  136.         format slot 38 of player with gray stained glass pane named "&7" to be unstealable
  137.         format slot 39 of player with gray stained glass pane named "&7" to be unstealable
  138.         format slot 41 of player with gray stained glass pane named "&7" to be unstealable
  139.         format slot 42 of player with gray stained glass pane named "&7" to be unstealable
  140.         format slot 43 of player with gray stained glass pane named "&7" to be unstealable
  141.         format slot 44 of player with gray stained glass pane named "&7" to be unstealable
  142.  
  143. #       This is all the warps and what they do!
  144.  
  145.         format slot 19 of player with shiny {@block1} named "&8[ &a{Lobby} &8]" to close then run [execute console command "/warp Lobby %player%"] -> [play sound "entity.enderman.teleport" with volume 0.7 to the player] -> [send player title "{@prefix}" with subtitle "&7you warped to {Lobby}" for 3 seconds] -> [send action bar "{@prefix} &7You warped to {Lobby}" to player]
  146.         format slot 20 of player with shiny {@block2} named "&8[ &f{Shop} &8]" to close then run [execute console command "/warp Shop %player%"] -> [play sound "entity.enderman.teleport" with volume 0.7 to the player] -> [send player title "{@prefix}" with subtitle "&7you warped to {Shop}" for 3 seconds] -> [send action bar "{@prefix} &7You warped to {Shop}" to player]
  147.         format slot 21 of player with shiny {@block3} named "&8[ &cCTF &8]" to close then run [execute console command "/warp CTF %player%"] -> [play sound "entity.enderman.teleport" with volume 0.7 to the player] -> [send player title "{@prefix}" with subtitle "&7you warped to {CTF}" for 3 seconds] -> [send action bar "{@prefix} &7You warped to {CTF}" to player]
  148.         format slot 22 of player with shiny {@block4} named "&8[ &9{Kitpvp} &8]" to close then run [execute console command "/warp spawn %player%"] -> [play sound "entity.enderman.teleport" with volume 0.7 to the player] -> [send player title "{@prefix}" with subtitle "&7you warped to {Kitpvp}" for 3 seconds] -> [send action bar "{@prefix} &7You warped to {Kitpvp}" to player]
  149.         format slot 23 of player with shiny {@block5} named "&8[ &5{Obby} &8]" to close then run [execute console command "/warp Obby %player%"] -> [play sound "entity.enderman.teleport" with volume 0.7 to the player] -> [send player title "{@prefix}" with subtitle "&7you warped to {@warp5}" for 3 seconds] -> [send action bar "{@prefix} &7You warped to {Obby}" to player]
  150.         format slot 24 of player with shiny {@block6} named "&8[ &b{@warp6} &8]" to close then run [execute console command "/warp {@warp6} %player%"] -> [play sound "entity.enderman.teleport" with volume 0.7 to the player] -> [send player title "{@prefix}" with subtitle "&7you warped to {@warp6}" for 3 seconds] -> [send action bar "{@prefix} &7You warped to {@warp6}" to player]
  151.         format slot 25 of player with shiny {@block7} named "&8[ &e{@warp7} &8]" to close then run [execute console command "/warp {@warp7} %player%"] -> [play sound "entity.enderman.teleport" with volume 0.7 to the player] -> [send player title "{@prefix}" with subtitle "&7you warped to {@warp7}" for 3 seconds] -> [send action bar "{@prefix} &7You warped to {@warp7}" to player]
  152.  
  153. #       This is the close and info things
  154.  
  155.         format slot 4 of player with oak sign named "&7{@infosign}" to be unstealable
  156.         format slot 40 of player with barrier named "&cClose the menu" to close then run [play sound "block.barrel.close" with volume 0.7 to the player]