Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! #
- # #
- # For a list of item names see https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html #
- # #
- # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! #
- # Number of rows of slots of your server selector menu. For example '2' will mean 2*9 = 18 slots. Max value is 6.
- rows: 3
- # This will be displayed as the title of the menu.
- title: '&a&lServer Selector'
- # This will be the name of the server selector item
- item-name: '&a&lServer Selector'
- # Item lore. For no lore, put 'none' in the first line.
- item-lore:
- - 'Click to join a server!'
- # The name of the server selector item. Specify "NONE" for no item.
- item: NONE
- data: 0
- # Give the item when a player joins?
- on-join: false
- # What slot should the item be in? Specify -1 to automatically put it in the first available slot.
- inv-slot: 0
- # URL clickable message
- url-message: '&3&lClick here'
- # Command to open the menu. Specify "none" for no command. (without /)
- command: "menu"
- # Possible values for action:
- #
- # Teleport player to server
- # action: 'srv:skywars'
- #
- # Send player a clickable message to open a URL. Only works on spigot, not bukkit.
- # action: 'url:http://example.com/'
- #
- # Teleport player to world
- # action: 'world:skyblock'
- #
- # Execute a command. The player will need permission for this command. No / before the command.
- # action: 'cmd:gamemode 1'
- # For bungeecord commands, add a bungee: prefix. This requires https://www.spigotmc.org/resources/commandsync.115/ to be installed.
- # action: 'bungeecmd:glist'
- #
- # Open another selector (for submenus for example)
- # action: 'sel:uhc-servers'
- # SUPER VALUABLE TIP:
- # If you set the ip to 'submenu' and ping-server to true, {online} and {max} will be the combined number of players of all servers in the submenu.
- #
- # Send message
- # action: 'msg:&1This &2is &3a &4message'
- #
- # Close selector
- # action: 'close'
- #
- # Do nothing (selector stays open)
- # action: 'none'
- menu:
- 3: # Item in 4th slot (use 0 for first item). Add as many items as you want by copying this section and giving it a new number. This number must not be greater than (rows*9)-1
- # Whether the server should be pinged for information. Enables placeholders in lore.
- ping-server: false
- ip: play.example.com # Note that you can't use localhost because the plugin uses an external API by default. For more info see config.yml
- port: 1234
- action: 'world:world'
- # Change item count based on number of players online. Only works if ping-server is turned on. If there are more than 64 players online, the item count will be 1
- # Change how this works in config.yml.
- change-item-count: true
- # This value is ignored when change-item-count is turned on.
- item-count: 1
- # Online is used when ping-server is turned off, or ping-server is turned on and the server is online.
- online:
- item: GRASS
- data: 0
- enchanted: true
- name: '&a&lSkyBlock'
- lore:
- - Click to join SkyBlock!
- # Offline is used when ping-server is turned on and the server is offline.
- offline:
- item: WOODEN_SWORD
- data: 0
- enchanted: false
- name: '&cKitPvP Server'
- lore:
- - Ipsum lorem
- - Amet sit dolor
- - The server is offline
- # Change item based on server motd. If the server has an motd that is not listed below, settings above will be used as fallback.
- # If you do not need to use this you can just delete this entire section
- dynamic:
- "Lore example":
- item: IRON_SWORD
- data: 0
- enchanted: false
- name: '&cKitPvP Server'
- lore:
- - The game has not started
- "Other lore":
- item: WOODEN_SWORD
- data: 0
- enchanted: false
- name: '&cKitPvP Server'
- lore:
- - The game is in progress
- 5: # Item in 6th slot
- action: 'world:Creative'
- online:
- item: 'WORKBENCH'
- data: 0
- enchanted: true
- name: '&d&lCreative'
- lore:
- - Click to join Creative!
- -1: # -1 means everything else
- action: 'none'
- online:
- item: 160:9
- data: 0
- enchanted: false
- name: ''
- lore:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement