-
Notifications
You must be signed in to change notification settings - Fork 44
/
serverselector.yml
90 lines (87 loc) · 2.84 KB
/
serverselector.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# ---------------------------------------------------------------------- #
# THIS MENU WAS MADE USING DELUXEMENUS v1.14.0 #
# ---------------------------------------------------------------------- #
# #
# NOTE: This menu was made for a seperate yaml-file! #
# Add the following code to the config.yml of DeluxeMenus and #
# reload the plugin (/dm reload). #
# #
# gui_menus: #
# serverselector: #
# file: serverselector.yml #
# #
# After that, replace the newly created file with this one and reload #
# again! #
# ---------------------------------------------------------------------- #
menu_title: '&8Server'
open_command: server
size: 27
register_command: true
update_interval: 1
open_commands:
- '[sound] BLOCK_CHEST_OPEN'
- '[message] &6&lDeluxe&emenus &8» &7Opening &aServer &7menu.'
items:
# Start - Vanilla Join
'vanilla_server':
material: GRASS_BLOCK
slot: 11
priority: 1
update: true
view_requirement:
requirements:
vanila_online:
type: string equals ignorecase
input: '%pinger_online_127.0.0.1:25565%'
output: '&aOnline'
display_name: '&7Vanilla'
lore:
- ''
- '&7Online: &a%pinger_players_127.0.0.1:25565%'
- '&7Description: &bOnly vanilla!'
- ''
- '&a&nClick to join!'
click_commands:
- '[close]'
- '[message] &6&lDeluxe&emenus &8» &7Connecting to server &aVanilla&7...'
- '[sound] BLOCK_NOTE_BLOCK_PLING'
- '[connect] vanilla<delay=20>'
# End - Vanilla Join
# Start - Vanilla Offline
'vanilla_offline':
material: BARRIER
slot: 11
priority: 2
update: true
display_name: '&7Vanilla'
lore:
- ''
- '&cThis server is currently offline'
- '&cPlease contact a staff-member,'
- ''
- '&a&nClick to refresh!'
click_commands:
- '[refresh]'
# End - Vanilla Offline
# Start - Lobby
'lobby_server':
material: SUNFLOWER
slot: 15
update: true
display_name: '&eLobby'
lore:
- ''
- '&7Online: &e%server_online%'
- '&7Description: &eThis is the lobby'
- ''
- '&a&nYou are here!'
click_commands:
- '[close]'
- '[message] &6&lDeluxe&emenus &8» &7You are already on this server'
- '[sound] BLOCK_NOTE_BLOCK_BASS'
# End - Lobby
# Extra
'filler_glass':
material: BLACK_STAINED_GLASS_PANE
slots: [0-10,12-14,16-26]
display_name: '&l'