Advertisement
Guest User

ServerSelectorX config

a guest
Nov 19th, 2017
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.57 KB | None | 0 0
  1. # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! #
  2. # #
  3. # For a list of item names see https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html #
  4. # #
  5. # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! #
  6.  
  7.  
  8.  
  9. # Number of rows of slots of your server selector menu. For example '2' will mean 2*9 = 18 slots. Max value is 6.
  10. rows: 3
  11.  
  12. # This will be displayed as the title of the menu.
  13. title: '&a&lServer Selector'
  14.  
  15. # This will be the name of the server selector item
  16. item-name: '&a&lServer Selector'
  17.  
  18. # Item lore. For no lore, put 'none' in the first line.
  19. item-lore:
  20. - 'Click to join a server!'
  21.  
  22. # The name of the server selector item. Specify "NONE" for no item.
  23. item: NONE
  24. data: 0
  25.  
  26. # Give the item when a player joins?
  27. on-join: false
  28.  
  29. # What slot should the item be in? Specify -1 to automatically put it in the first available slot.
  30. inv-slot: 0
  31.  
  32. # URL clickable message
  33. url-message: '&3&lClick here'
  34.  
  35. # Command to open the menu. Specify "none" for no command. (without /)
  36. command: "menu"
  37.  
  38. # Possible values for action:
  39. #
  40. # Teleport player to server
  41. # action: 'srv:skywars'
  42. #
  43. # Send player a clickable message to open a URL. Only works on spigot, not bukkit.
  44. # action: 'url:http://example.com/'
  45. #
  46. # Teleport player to world
  47. # action: 'world:skyblock'
  48. #
  49. # Execute a command. The player will need permission for this command. No / before the command.
  50. # action: 'cmd:gamemode 1'
  51. # For bungeecord commands, add a bungee: prefix. This requires https://www.spigotmc.org/resources/commandsync.115/ to be installed.
  52. # action: 'bungeecmd:glist'
  53. #
  54. # Open another selector (for submenus for example)
  55. # action: 'sel:uhc-servers'
  56. # SUPER VALUABLE TIP:
  57. # 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.
  58. #
  59. # Send message
  60. # action: 'msg:&1This &2is &3a &4message'
  61. #
  62. # Close selector
  63. # action: 'close'
  64. #
  65. # Do nothing (selector stays open)
  66. # action: 'none'
  67.  
  68. menu:
  69.  
  70. 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
  71.  
  72. # Whether the server should be pinged for information. Enables placeholders in lore.
  73. ping-server: false
  74. 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
  75. port: 1234
  76.  
  77. action: 'world:world'
  78.  
  79. # 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
  80. # Change how this works in config.yml.
  81. change-item-count: true
  82.  
  83. # This value is ignored when change-item-count is turned on.
  84. item-count: 1
  85.  
  86. # Online is used when ping-server is turned off, or ping-server is turned on and the server is online.
  87. online:
  88. item: GRASS
  89. data: 0
  90. enchanted: true
  91. name: '&a&lSkyBlock'
  92. lore:
  93. - Click to join SkyBlock!
  94.  
  95. # Offline is used when ping-server is turned on and the server is offline.
  96. offline:
  97. item: WOODEN_SWORD
  98. data: 0
  99. enchanted: false
  100. name: '&cKitPvP Server'
  101. lore:
  102. - Ipsum lorem
  103. - Amet sit dolor
  104. - The server is offline
  105.  
  106. # Change item based on server motd. If the server has an motd that is not listed below, settings above will be used as fallback.
  107. # If you do not need to use this you can just delete this entire section
  108. dynamic:
  109. "Lore example":
  110. item: IRON_SWORD
  111. data: 0
  112. enchanted: false
  113. name: '&cKitPvP Server'
  114. lore:
  115. - The game has not started
  116. "Other lore":
  117. item: WOODEN_SWORD
  118. data: 0
  119. enchanted: false
  120. name: '&cKitPvP Server'
  121. lore:
  122. - The game is in progress
  123.  
  124. 5: # Item in 6th slot
  125. action: 'world:Creative'
  126. online:
  127. item: 'WORKBENCH'
  128. data: 0
  129. enchanted: true
  130. name: '&d&lCreative'
  131. lore:
  132. - Click to join Creative!
  133.  
  134. -1: # -1 means everything else
  135. action: 'none'
  136. online:
  137. item: 160:9
  138. data: 0
  139. enchanted: false
  140. name: ''
  141. lore:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement