Initial commit
This commit is contained in:
17
Lobby/plugins/ServerSelectorX/config.yml
Normal file
17
Lobby/plugins/ServerSelectorX/config.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
# Show message when player teleports to a server.
|
||||
# Remove/comment this option to disable the message
|
||||
server-teleport-message: '&7Connecting you to &7&l{x}&r&7.'
|
||||
|
||||
# Cancel item dropping for players that do not have the permission ssx.drop
|
||||
cancel-item-drop: false
|
||||
|
||||
# Cancel item move for players that do not have the permission ssx.move (this includes swapping items between hands for 1.9+)
|
||||
cancel-item-move: false
|
||||
|
||||
# When set to true, the plugin uses api.minetools.eu for pinging the servers.
|
||||
# You can use this if the internal pinger is not working for you, but it is not
|
||||
# recommended since it means your servers have to be accessible externally and
|
||||
# you will encounter issues if minetools temporarily or permanently stops working.
|
||||
external-pinger: false
|
||||
|
||||
ping-timeout: 1500
|
71
Lobby/plugins/ServerSelectorX/menu/default.yml
Normal file
71
Lobby/plugins/ServerSelectorX/menu/default.yml
Normal file
@@ -0,0 +1,71 @@
|
||||
# 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
|
Reference in New Issue
Block a user