Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
@Andre601 Andre601 Changes 6a90f82 Jun 16, 2018
2 contributors

Users who have contributed to this file

@iGabyTM @Andre601
68 lines (68 sloc) 2.59 KB
# ---------------------------------------------------------------------- #
# THIS MENU WAS MADE USING DELUXEMENUS v1.10.4 #
# ---------------------------------------------------------------------- #
# #
# 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: '&9Server'
open_command: server
size: 9 #Needs to be a multiple of 9 (9, 18, 27, ...) and max. 54.
update_interval: 1
items:
'vanilla_server':
material: GRASS
slot: 2
priority: 1
update: true
view_requirement:
requirements:
vanila_online:
type: string equals ignorecase
input: '%pinger_online_127.0.0.1:25565%'
output: '&aOnline' #This is the output, that is set in the config.yml of PlaceholderAPI.
display_name: '&7Vanilla'
lore:
- '&7Online: &a%pinger_players_127.0.0.1:25565%' #NOTE: The pinger-placeholder requires the ip:port. domains won't work!
- '&7Description: &bOnly vanilla!'
- ''
- '&aClick to join!'
left_click_commands:
- '[close]'
- '[message] &7Connecting to server &aVanilla&7...'
- '[connect] vanilla'
'vanilla_offline':
material: BARRIER
slot: 2
priority: 2
update: true
display_name: '&7Vanilla &4[Offline]'
lore:
- '&cThis server is currently offline'
- '&cPlease contact a staff-member,'
- '&cif this problem still exists after some'
- '&ctime'
- ''
- '&aClick to refresh!'
left_click_commands:
- '[refresh]'
'games_server':
material: IRON_SWORD
slot: 6
update: true
display_name: '&9Games'
lore:
- '&7Online: %server_online%'
- '&7Description: &bThe best minigames EVER!'
- ''
- '&cYou are already on this server'
left_click_commands:
- '[message] &cYou are already on this server!'
You can’t perform that action at this time.