Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /warp [<text>] [<text>]:
- aliases: /warps
- trigger:
- if arg-1 is set:
- if arg-2 is not set:
- execute player command "essentials:ewarps %arg-1%"
- else:
- execute player command "essentials:ewarps %arg-1% %arg-2%"
- else:
- open virtual chest inventory with size 3 named "&8» &3Menu&8 - &7Warps" to player
- wait 1 tick
- set {_num} to 0
- loop 9 times:
- format gui slot {_num} of player with black glass pane named "&0"
- add 1 to {_num}
- set {_num} to 9
- loop 9 times:
- format gui slot {_num} of player with white glass pane named "&0"
- add 1 to {_num}
- set {_num} to 18
- loop 9 times:
- format gui slot {_num} of player with black glass pane named "&0"
- add 1 to {_num}
- format gui slot 22 of player with nether star named "&3Tilbage" with lore "&8» &7Klik for at gå tilbage til &bmenuen&7." to close then run player command "menu"
- format gui slot 11 of player with iron pickaxe with no nbt named "&3Normale miner" with lore "&8» &7Klik for at se alle||&8» &bnormale miner &7warps." to close then run function nWarp(player)
- format gui slot 13 of player with compass named "&3Warps" with lore "&8» &bCrates, Plots, Mineparty.||&8» &7Klik for at åbne &bwarps&7." to close then run function warps(player)
- format gui slot 15 of player with emerald named "&3Donator miner" with lore "&8» &7Klik for at se alle||&8» &bdonator miner &7warps." to close then run function dWarp(player)
- function nWarp(p: player):
- open virtual chest inventory with size 5 named "&8» &3Warps&8 - &7Normale miner" to {_p}
- wait 1 tick
- set {_num} to 0
- loop 9 times:
- format gui slot {_num} of {_p} with black glass pane named "&0"
- add 1 to {_num}
- set {_num} to 9
- loop 27 times:
- format gui slot {_num} of {_p} with white glass pane named "&0"
- add 1 to {_num}
- set {_num} to 36
- loop 9 times:
- format gui slot {_num} of {_p} with black glass pane named "&0"
- add 1 to {_num}
- format gui slot 40 of {_p} with nether star named "&3Tilbage" with lore "&8» &7Klik for at gå tilbage til &bwarp menuen&7." to close then run {_p} command "warp"
- if {mine.%{uuid.%{_p}%}%} is not "A":
- format gui slot 9 of {_p} with light blue glass pane named "&3A" with lore "&8[&7Stone&8: &b80%%&8]||&8[&7Coal ore&8: &b20%%&8]" to close then run {_p} command "warp A"
- format gui slot 10 of {_p} with light blue glass pane named "&3A2" with lore "&8[&7Stone&8: &b80%%&8]||&8[&7Coal ore&8: &b20%%&8]" to close then run {_p} command "warp A2"
- else if {mine.%{uuid.%{_p}%}%} is "A":
- format gui slot 9 of {_p} with blue glass pane named "&3A &8(&bNuværende&8)" with lore "&8[&7Stone&8: &b80%%&8]||&8[&7Coal ore&8: &b20%%&8]" to close then run {_p} command "warp A"
- format gui slot 10 of {_p} with blue glass pane named "&3A2 &8(&bNuværende&8)" with lore "&8[&7Stone&8: &b80%%&8]||&8[&7Coal ore&8: &b20%%&8]" to close then run {_p} command "warp A2"
- if {mine.%{uuid.%{_p}%}%} is "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y" or "Z":
- format gui slot 11 of {_p} with light blue glass pane named "&3B" with lore "&8[&7Stone&8: &b70%%&8]||&8[&7Coal ore&8: &b20%%&8]||&8[&7Iron ore&8: &b10%%&8]" to close then run {_p} command "warp B"
- else if {mine.%{uuid.%{_p}%}%} is "B":
- format gui slot 11 of {_p} with blue glass pane named "&3B" with lore "&8[&7Stone&8: &b70%%&8]||&8[&7Coal ore&8: &b20%%&8]||&8[&7Iron ore&8: &b10%%&8]" to close then run {_p} command "warp B"
- else if {mine.%{uuid.%{_p}%}%} is "A":
- format gui slot 11 of {_p} with red glass pane named "&4B" with lore "&8» &cDu har ikke adgang til denne mine."
- if {mine.%{uuid.%{_p}%}%} is "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y" or "Z":
- format gui slot 12 of {_p} with light blue glass pane named "&3C" with lore "&8[&7Stone&8: &b32.5%%&8]||&8[&7Andesite&8: &b32.5%%&8]||&8[&7Coal ore&8: &b20%%&8]||&8[&7Iron ore&8: &b10%%&8]||&8[&7Gold ore&8: &b5%%&8]" to close then run {_p} command "warp C"
- else if {mine.%{uuid.%{_p}%}%} is "C":
- format gui slot 12 of {_p} with blue glass pane named "&3C" with lore "&8[&7Stone&8: &b32.5%%&8]||&8[&7Andesite&8: &b32.5%%&8]||&8[&7Coal ore&8: &b20%%&8]||&8[&7Iron ore&8: &b10%%&8]||&8[&7Gold ore&8: &b5%%&8]" to close then run {_p} command "warp C"
- else if {mine.%{uuid.%{_p}%}%} is "A" or "B":
- format gui slot 12 of {_p} with red glass pane named "&4C" with lore "&8» &cDu har ikke adgang til denne mine."
- if {mine.%{uuid.%{_p}%}%} is "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y" or "Z":
- format gui slot 13 of {_p} with light blue glass pane named "&3D" with lore "&8[&7Stone&8: &b60%%&8]||&8[&7Coal ore&8: &b5%%&8]||&8[&7Coal block&8: &b5%%&8]||&8[&7Iron ore&8: &b20%%&8]||&8[&7Gold ore&8: &b10%%&8]" to close then run {_p} command "warp D"
- else if {mine.%{uuid.%{_p}%}%} is "D":
- format gui slot 13 of {_p} with blue glass pane named "&3D" with lore "&8[&7Stone&8: &b60%%&8]||&8[&7Coal ore&8: &b5%%&8]||&8[&7Coal block&8: &b5%%&8]||&8[&7Iron ore&8: &b20%%&8]||&8[&7Gold ore&8: &b10%%&8]" to close then run {_p} command "warp D"
- else if {mine.%{uuid.%{_p}%}%} is "A", "B" or "C":
- format gui slot 13 of {_p} with red glass pane named "&4D" with lore "&8» &cDu har ikke adgang til denne mine."
- if {mine.%{uuid.%{_p}%}%} is "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y" or "Z":
- format gui slot 14 of {_p} with light blue glass pane named "&3E" with lore "&8[&7Stone&8: &b30%%&8]||&8[&7Andesite&8: &b30%%&8]||&8[&7Coal block&8: &b10%%&8]||&8[&7Iron block&8: &b10%%&8]||&8[&7Gold ore&8: &b10%%&8]||&8[&7Diamond ore&8: &b10%%&8]" to close then run {_p} command "warp E"
- else if {mine.%{uuid.%{_p}%}%} is "E":
- format gui slot 14 of {_p} with blue glass pane named "&3E" with lore "&8[&7Stone&8: &b30%%&8]||&8[&7Andesite&8: &b30%%&8]||&8[&7Coal block&8: &b10%%&8]||&8[&7Iron block&8: &b10%%&8]||&8[&7Gold ore&8: &b10%%&8]||&8[&7Diamond ore&8: &b10%%&8]" to close then run {_p} command "warp E"
- else if {mine.%{uuid.%{_p}%}%} is "A", "B", "C" or "D":
- format gui slot 14 of {_p} with red glass pane named "&4E" with lore "&8» &cDu har ikke adgang til denne mine."
- format gui slot 15 of {_p} with light blue glass pane named "&3F" with lore "&8[&7Stone bricks&8: &b27.5%%&8]||&8[&7Andesite&8: &b27.5%%&8]||&8[&7Coal block&8: &b5%%&8]||&8[&7Iron block&8: &b10%%&8]||&8[&7Gold block&8: &b10%%&8]||&8[&7Gold ore&8: &b5%%&8]||&8[&7Diamond ore&8: &b10%%&8]||&8[&7Emerald ore&8: &b5%%&8]" to close then run {_p} command "warp F"
- format gui slot 16 of {_p} with light blue glass pane named "&3G" with lore "&8[&7Block of quartz&8: &b60%%&8]||&8[&7Coal block&8: &b10%%&8]||&8[&7Iron block&8: &b5%%&8]||&8[&7Gold block&8: &b5%%&8]||&8[&7Diamond ore&8: &b10%%&8]||&8[&7Emerald ore&8: &b10%%&8]" to close then run {_p} command "warp G"
- format gui slot 17 of {_p} with light blue glass pane named "&3H" with lore "&8[&7Block of quartz&8: &b55%%&8]||&8[&7Coal block&8: &b10%%&8]||&8[&7Iron block&8: &b5%%&8]||&8[&7Gold block&8: &b5%%&8]||&8[&7Diamond block&8: &b5%%&8]||&8[&7Diamond ore&8: &b10%%&8]||&8[&7Emerald ore&8: &b10%%&8]" to close then run {_p} command "warp H"
- format gui slot 18 of {_p} with light blue glass pane named "&3I" with lore "&8[&7Block of quartz&8: &b50%%&8]||&8[&7Iron block&8: &b10%%&8]||&8[&7Gold block&8: &b10%%&8]||&8[&7Diamond block&8: &b10%%&8]||&8[&7Diamond ore&8: &b10%%&8]||&8[&7Emerald ore&8: &b10%%&8]" to close then run {_p} command "warp I"
- format gui slot 19 of {_p} with light blue glass pane named "&3J" with lore "&8[&7Block of quartz&8: &b55%%&8]||&8[&7Iron block&8: &b5%%&8]||&8[&7Gold block&8: &b5%%&8]||&8[&7Diamond block&8: &b5%%&8]||&8[&7Emerald block&8: &b5%%&8]||&8[&7Diamond ore&8: &b12.5%%&8]||&8[&7Emerald ore&8: &b12.5%%&8]" to close then run {_p} command "warp J"
- format gui slot 20 of {_p} with light blue glass pane named "&3K" with lore "&8[&7Bricks&8: &b45%%&8]||&8[&7Gold block&8: &b10%%&8]||&8[&7Diamond block&8: &b10%%&8]||&8[&7Emerald block&8: &b5%%&8]||&8[&7Diamond ore&8: &b15%%&8]||&8[&7Emerald ore&8: &b15%%&8]" to close then run {_p} command "warp K"
- format gui slot 21 of {_p} with light blue glass pane named "&3L" with lore "&8[&7Sand&8: &b50%%&8]||&8[&7Red sand&8: &b50%%&8]" to close then run {_p} command "warp L"
- format gui slot 22 of {_p} with light blue glass pane named "&3M" with lore "&8[&7Coarse dirt&8: &b50%%&8]||&8[&7Gravel&8: &b50%%&8]" to close then run {_p} command "warp M"
- format gui slot 23 of {_p} with light blue glass pane named "&3N" with lore "&8[&7Andesite&8: &b40%%&8]||&8[&7Gold block&8: &b10%%&8]||&8[&7Diamond block&8: &b10%%&8]||&8[&7Emerald block&8: &b10%%&8]||&8[&7Diamond ore&8: &b15%%&8]||&8[&7Emerald ore&8: &b15%%&8]" to close then run {_p} command "warp N"
- format gui slot 24 of {_p} with light blue glass pane named "&3O" with lore "&8[&7Diorite&8: &b45%%&8]||&8[&7Diamond block&8: &b15%%&8]||&8[&7Emerald block&8: &b10%%&8]||&8[&7Diamond ore&8: &b15%%&8]||&8[&7Emerald ore&8: &b15%%&8]" to close then run {_p} command "warp O"
- format gui slot 25 of {_p} with light blue glass pane named "&3P" with lore "&8[&7Coal ore&8: &b50%%&8]||&8[&7Coal block&8: &b50%%&8]" to close then run {_p} command "warp P"
- format gui slot 26 of {_p} with light blue glass pane named "&3Q" with lore "&8[&7Iron ore&8: &b50%%&8]||&8[&7Iron block&8: &b50%%&8]" to close then run {_p} command "warp Q"
- format gui slot 27 of {_p} with light blue glass pane named "&3R" with lore "&8[&7Gold ore&8: &b50%%&8]||&8[&7Gold block&8: &b50%%&8]" to close then run {_p} command "warp R"
- format gui slot 28 of {_p} with light blue glass pane named "&3S" with lore "&8[&7Cyan stained clay&8: &b40%%&8]||&8[&7Diamond ore&8: &b30%%&8]||&8[&7Diamond block&8: &b30%%&8]" to close then run {_p} command "warp S"
- format gui slot 29 of {_p} with light blue glass pane named "&3T" with lore "&8[&7Cyan stained clay&8: &b30%%&8]||&8[&7Diamond ore&8: &b30%%&8]||&8[&7Emerald ore&8: &b10%%&8]||&8[&7Diamond block&8: &b30%%&8]" to close then run {_p} command "warp T"
- format gui slot 30 of {_p} with light blue glass pane named "&3U" with lore "&8[&7Cyan stained clay&8: &b45%%&8]||&8[&7Diamond ore&8: &b10%%&8]||&8[&7Emerald ore&8: &b20%%&8]||&8[&7Diamond block&8: &b5%%&8]||&8[&7Emerald block&8: &b20%%&8]" to close then run {_p} command "warp U"
- format gui slot 31 of {_p} with light blue glass pane named "&3V" with lore "&8[&7Cyan stained clay&8: &b40%%&8]||&8[&7Diamond ore&8: &b5%%&8]||&8[&7Emerald ore&8: &b25%%&8]||&8[&7Diamond block&8: &b5%%&8]||&8[&7Emerald block&8: &b25%%&8]" to close then run {_p} command "warp V"
- format gui slot 32 of {_p} with light blue glass pane named "&3W" with lore "&8[&7Cyan stained clay&8: &b40%%&8]||&8[&7Emerald ore&8: &b25%%&8]||&8[&7Diamond block&8: &b10%%&8]||&8[&7Emerald block&8: &b25%%&8]" to close then run {_p} command "warp W"
- format gui slot 33 of {_p} with light blue glass pane named "&3X" with lore "&8[&7Diorite&8: &b10%%&8]||&8[&7Emerald ore&8: &b50%%&8]||&8[&7Diamond ore&8: &b40%%&8]" to close then run {_p} command "warp X"
- format gui slot 34 of {_p} with light blue glass pane named "&3Y" with lore "&8[&7Diorite&8: &b10%%&8]||&8[&7Emerald ore&8: &b20%%&8]||&8[&7Diamond block&8: &b50%%&8]||&8[&7Emerald block&8: &b20%%&8]" to close then run {_p} command "warp Y"
- format gui slot 35 of {_p} with light blue glass pane named "&3Z" with lore "&8[&7Diamond block&8: &b50%%&8]||&8[&7Emerald block&8: &b50%%&8]" to close then run {_p} command "warp Z"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement