- #|-------~~ INFORMATION ~~-------|#
- # Name: Warps-Gui
- # Author: Blixten37
- # Version: v0.1
- # Server: swedd.apexmc.co
- #|-------~~ INFORMATION ~~-------|#
- #|-------~~ COLER CODES ~~-------|#
- # Dark Red = &4
- # Red = &c
- # Gold = &6
- # Yellow = &e
- # Dark Green = &2
- # Green = &a
- # Aqua = &b
- # Dark Aqua = &3
- # Dark Blue = &1
- # Blue = &9
- # Light Purple = &d
- # Dark Purple = &5
- # White = &f
- # Gray = &7
- # Dark Gray = &8
- # Black = &0
- # Credit: https://www.digminecraft.com/lists/color_list_pc.php
- #|-------~~ COLER CODES ~~-------|#
- #|-------~~ CONFIG ~~-------|#
- options:
- #
- # All the prefixses
- #
- prefix: &8[&dWarp&8] #The prefix of spawn command.
- error: &8[&cError&8] #The prfix of error messages.
- #
- # All the warp names
- #
- warp1: Lobby #The name of warp 1
- warp2: shop #The name of warp 2
- warp3: Ctf #The name of warp 3
- warp4: Kitpvp #The name of warp 4
- warp5: Obby #The name of warp 5
- warp6: soon.. #The name of warp 6
- warp7: soon.. #The name of warp 7
- #
- # All the blocks or items of the warps
- #
- block1: lime wool #The block of warp 1
- block2: white wool #The block of warp 2
- block3: red wool #The block of warp 3
- block4: blue wool #The block of warp 4
- block5: purple wool #The block of warp 5
- block6: light blue wool #The block of warp 6
- block7: yellow wool #The block of warp 7
- #
- # All the permissions and the permission messages
- #
- permission: gui.warp #the permission for the command /warps
- permission message: &8[&cError&8] &cYou dont have permission for this command! #the permission message for /warps
- #
- # The info text about your warps
- #
- infosign: Warp gui menu
- #
- #-------------------------------------------
- #
- # The config is done now :D
- #
- # I would only recomend you continue if you know what your doing!
- #
- # Hope you enjoy
- #
- #-------------------------------------------
- #|-------~~ CONFIG ~~-------|#
- #|-------~~ WARP GUI ~~-------|#
- on right click on chest:
- description: warp gui
- permission message: {@permission message}
- usage: {@error} &c/warps
- trigger:
- wait 2 tick
- open chest with 5 rows named " &7&m ~~&7 {@prefix} &7- &8[&dGui&8] &7&m~~ &7" to player
- wait 1 tick
- # This is the black glass in the menu!
- format slot 9 of player with black stained glass pane named "&7" to be unstealable
- format slot 10 of player with black stained glass pane named "&7" to be unstealable
- format slot 11 of player with black stained glass pane named "&7" to be unstealable
- format slot 12 of player with black stained glass pane named "&7" to be unstealable
- format slot 13 of player with black stained glass pane named "&7" to be unstealable
- format slot 14 of player with black stained glass pane named "&7" to be unstealable
- format slot 15 of player with black stained glass pane named "&7" to be unstealable
- format slot 16 of player with black stained glass pane named "&7" to be unstealable
- format slot 17 of player with black stained glass pane named "&7" to be unstealable
- format slot 18 of player with black stained glass pane named "&7" to be unstealable
- format slot 26 of player with black stained glass pane named "&7" to be unstealable
- format slot 27 of player with black stained glass pane named "&7" to be unstealable
- format slot 28 of player with black stained glass pane named "&7" to be unstealable
- format slot 29 of player with black stained glass pane named "&7" to be unstealable
- format slot 30 of player with black stained glass pane named "&7" to be unstealable
- format slot 31 of player with black stained glass pane named "&7" to be unstealable
- format slot 32 of player with black stained glass pane named "&7" to be unstealable
- format slot 33 of player with black stained glass pane named "&7" to be unstealable
- format slot 34 of player with black stained glass pane named "&7" to be unstealable
- format slot 35 of player with black stained glass pane named "&7" to be unstealable
- # This is the gray glass in the menu!
- format slot 0 of player with gray stained glass pane named "&7" to be unstealable
- format slot 1 of player with gray stained glass pane named "&7" to be unstealable
- format slot 2 of player with gray stained glass pane named "&7" to be unstealable
- format slot 3 of player with gray stained glass pane named "&7" to be unstealable
- format slot 5 of player with gray stained glass pane named "&7" to be unstealable
- format slot 6 of player with gray stained glass pane named "&7" to be unstealable
- format slot 7 of player with gray stained glass pane named "&7" to be unstealable
- format slot 8 of player with gray stained glass pane named "&7" to be unstealable
- format slot 36 of player with gray stained glass pane named "&7" to be unstealable
- format slot 37 of player with gray stained glass pane named "&7" to be unstealable
- format slot 38 of player with gray stained glass pane named "&7" to be unstealable
- format slot 39 of player with gray stained glass pane named "&7" to be unstealable
- format slot 41 of player with gray stained glass pane named "&7" to be unstealable
- format slot 42 of player with gray stained glass pane named "&7" to be unstealable
- format slot 43 of player with gray stained glass pane named "&7" to be unstealable
- format slot 44 of player with gray stained glass pane named "&7" to be unstealable
- # This is all the warps and what they do!
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- # This is the close and info things
- format slot 4 of player with oak sign named "&7{@infosign}" to be unstealable
- 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]