72 lines
1.7 KiB
YAML
72 lines
1.7 KiB
YAML
# Number of rows of slots of your server selector menu. For example '2' will mean 2*9 = 18 slots. Max value is 6.
|
|
rows: 2
|
|
|
|
# This will be displayed as the title of the menu.
|
|
title: 'Server Selector'
|
|
|
|
# This will be the name of the server selector item
|
|
item-name: 'Server Selector'
|
|
|
|
item-lore:
|
|
- 'Line 1'
|
|
- 'Line 2'
|
|
|
|
# The name of the server selector item.
|
|
item: COMPASS
|
|
|
|
# Give the item when a player joins?
|
|
on-join: true
|
|
|
|
# What slot should the item be in? Specify -1 to automatically put it in the first available slot.
|
|
inv-slot: -1
|
|
|
|
# URL clickable message
|
|
url-message: '&3&lClick here'
|
|
|
|
# Command to open the menu. Specify "none" for no command. (without /)
|
|
command: "none"
|
|
|
|
# https://github.com/ServerSelectorX/ServerSelectorX/wiki/Free-%7C-Items-in-the-server-selector
|
|
menu:
|
|
|
|
# Server item
|
|
3:
|
|
|
|
# Enable to show server status and placeholders
|
|
ping-server: false
|
|
ip: ccf100.duckdns.org
|
|
port: 1234
|
|
|
|
# Action to run when the item is clicked
|
|
action: 'srv:main'
|
|
|
|
online:
|
|
item: DIAMOND_SWORD
|
|
name: '&aSurvival Server'
|
|
lore:
|
|
- 'There are {online} out of {max} players online.'
|
|
- 'Message of the day: {motd}'
|
|
|
|
offline:
|
|
item: WOODEN_SWORD
|
|
name: '&cSurvival Server'
|
|
lore:
|
|
- Ipsum lorem
|
|
- Amet sit dolor
|
|
- The server is offline
|
|
|
|
# Message item
|
|
5:
|
|
action: 'msg:Hello'
|
|
offline:
|
|
item: 'head:auto' # You can use head:auto to get the head of the player opening the menu, or head:someuuid to get the head of a specific player.
|
|
name: 'This is you!'
|
|
lore:
|
|
- This item does nothing
|
|
|
|
# No action item
|
|
-1: # -1 means everything else
|
|
action: 'none'
|
|
offline:
|
|
item: LIGHT_GRAY_STAINED_GLASS_PANE
|