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: 1
- # This will be displayed as the title of the menu.
- title: '&4choose your server'
- # This will be the name of the server selector item
- item-name: '&3Server Selector'
- # Item lore. For no lore, put 'none' in the first line.
- item-lore:
- - 'Line 1'
- # The name of the server selector item. Specify "NONE" for no item.
- item: COMPASS
- data: 0
- # 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: 4
- # URL clickable message
- url-message: '&3&lClick here'
- # Command to open the menu. Specify "none" for no command. (without /)
- command: "menu"
- 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: 'srv:skyblock'
- # 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: '&aSkyBlock Server'
- lore:
- - classic skyblock without shop!
- # Offline is used when ping-server is turned on and the server is offline.
- offline:
- item: DIRT
- data: 0
- enchanted: false
- name: '&4skyblock Server'
- lore:
- - 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: 'none'
- online:
- item: 'head:auto' # You can use head:auto to get the head of the player opening the menu, or head:SomethingElse to get the head of a specific player.
- data: 0
- enchanted: false
- name: 'This is you!'
- lore:
- - This item does nothing
- -1: # -1 means everything else
- action: 'none'
- online:
- item: STAINED_GLASS_PANE
- data:
- enchanted: false
- name: ''
- lore:
- 1:
- action: 'srv:duels'
- online:
- item: DIAMOND_SWORD
- data: 0
- enchanted: true
- name: the duels server
- lore:
- - join here to have a private duel with anyone!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement