Advertisement
abola22

Config

Aug 11th, 2022
1,052
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 12.63 KB | None | 0 0
  1. # Dont touch this number please
  2. config-version: 34
  3.  
  4.  
  5. # This is the main config for ajQueue.
  6. # If you have any questions, make sure to read the comment above the options first,
  7. #  then feel free to join my discord and ask for support.
  8. # Discord invite link is on the plugin page.
  9.  
  10.  
  11.  
  12. # The time the server will wait between sending people in the queue
  13. #  Default: 5
  14. wait-time: 5.0
  15.  
  16. # The time that a server has to be offline to be marked as offline instead of restarting
  17. #  Default: 120
  18. offline-time: 120
  19.  
  20. # The time the server will wait between sending players update messages on what position they are in the queue.
  21. # Default: 10
  22. message-time: 10
  23.  
  24. # If a player is in a server, you can have the plugin make them automatically join a queue for another server
  25. # Example with the default values: Player joins the limbo server, they will auto-join the queue for the lobbys group
  26. # Note that you dont have to use groups. Just put the name of a server to use a single server instead.
  27. queue-servers:
  28.  - 'limbo:lobbys'
  29.  
  30. # Should the plugin send an actionbar to the player?
  31. # The actionbar contains some info such as which server they are queued for, what position they are in, estimated time remaining, etc.
  32. send-actionbar: true
  33.  
  34. # What kick reasons should cause the player to be removed from the queue?
  35. # For example, if one of the below kick reasons is 'banned' and the player gets kicked when trying to connect to
  36. #  a server in a queue with a message saying "You are banned from this server!" then it will kick them from the queue too.
  37. kick-reasons:
  38.  - 'banned'
  39.   - 'blacklisted'
  40.  
  41. # Should we completly kick the user from the server if they are in a queue-server
  42. #  and are kicked from the server with one of the above reasons?
  43. # Note this will do nothing on servers that arent queue-servers
  44. #  (as in the config option queue-servers)
  45. #  Default: true
  46. kick-kicked-players: true
  47.  
  48. # Should we remove a player from the queue if they move servers?
  49. # This will remove the player from if they switch to any other server
  50. #  Default: false
  51. remove-player-on-server-switch: false
  52.  
  53.  
  54. # Should we wait until the server is done loading to load the servers?
  55. # Enable this if you have a plugin that adds servers to the server list during startup.
  56. #  Default: false
  57. wait-to-load-servers: false
  58.  
  59. # How long should we wait after the server finishes loading to load the server list?
  60. # Only works if the above is enabled.
  61. # This is in miliseconds so 1000 = 1 second
  62. #  Default: 500
  63. wait-to-load-servers-delay: 500
  64.  
  65.  
  66. # How often (in seconds) we should check for new servers to add queues for.
  67. # If you dynamicly add servers, set this to something other than 0.
  68. # To disable, set to 0
  69. #  Default: 0
  70. reload-servers-interval: 0
  71.  
  72.  
  73. # Should we require permissions for players to be able to join queues?
  74. # If enabled, players will be required to have the permission ajqueue.queue.<server> to be able to join queues
  75. #  Default: false
  76. require-permission: true
  77.  
  78.  
  79. # Should we let players join more than one queue?
  80. # If enabled, players will be able to be in multiple queues at once.
  81. # If disabled, players will be removed from the previous queue when joining a new queue
  82. #  Default: true
  83. allow-multiple-queues: true
  84.  
  85. # If the player is queued for multiple servers, which server should we pick to use in things like placeholders and actionbars
  86. # Options are first and last
  87. #  Default: last
  88. multi-server-queue-pick: last
  89.  
  90.  
  91. # THIS FEATURE IS ONLY AVAILABLE ON ajQueuePlus (https://www.spigotmc.org/resources/ajqueueplus.79123/)
  92. # This will show players a different name than the actual bungeecord server name
  93. # for example, instead of showing players "event-a", this option can make it appear as "Event A"
  94. # With this example, you would use this: - "event-a:Event A"
  95. # Note that currently players still have to use the normal names in queue commands and leave commands
  96. #  Format: "realname:Alias"
  97. server-aliases:
  98.  - "rakennus:raksa"
  99.   - "creative:luova"
  100.   - "tubunkaverit:tubu"
  101.   #- "lobbys:hubi"
  102.  
  103.  
  104. # How long should we wait after a server is online before sending players?
  105. # The server will still show up as offline or restarting until this amount of time after its up
  106. # Meant to let your server 'cool down' after lag from starting up
  107. # In seconds
  108. #  Default: 1
  109. wait-after-online: 1
  110.  
  111.  
  112. # This is for helping with finding issues with the server pinged
  113. # This will spam the console when enabled
  114. # When this enabled, if servers are offline then it will spam errors. You can ignore them.
  115. #  Default: false
  116. pinger-debug: false
  117.  
  118.  
  119. # When a queue is paused, should we prevent players from joining it?
  120. #  Default: false
  121. prevent-joining-paused: false
  122.  
  123. # When a server goes back online, should we send all players in the queue instantly?
  124. # Default: false
  125. send-all-when-back-online: false
  126.  
  127. # Require a permission for players to be able to join a queue from a server
  128. # If enabled, players will need the permission ajqueue.joinfrom.<server> to join queues.
  129. # Replace <server> with the name of the server
  130. #  Default: false
  131. joinfrom-server-permission: true
  132.  
  133. # Server groups are a group of servers that you can queue for. It will send you to the server that is the least full.
  134. # If all servers in the group are full, it will act the same as it would when a single server is full.
  135. # Same if all servers are offline. It will only send players to servers that are online.
  136. #  Format: "groupname:server1,server2,etc"
  137. server-groups:
  138.  - "lobbys:hub,hub2"
  139.  
  140.  
  141. # Should we allow tab-completing in the /queue command?
  142. #  Default: true
  143. tab-complete-queues: true
  144.  
  145. # Should we have no wait time for these servers?
  146. # If the server is joinable, the plugin will attempt to send players who join these queues as soon as they join.
  147. # If the server is not immidiatly joinable, they will have to wait for the normal wait-time
  148. # This also works with group
  149. # NOTE: Server names are caps sensitive
  150. send-instantly:
  151.  - "lobbys"
  152.  
  153. # Should we log to the bungeecord console when a player fails to get sent to a server from the queue?
  154. # Enable this if you are having an issue with one player stopping the queue
  155. #  Default: false
  156. send-fail-debug: false
  157.  
  158. # After how many (unsuccessfull) attempts of sending the player should we remove them from the queue?
  159. # Set to -1 to disable
  160. #  Default: 10
  161. max-tries: 3
  162.  
  163. # Should we enable the ajqueue.bypasspaused permission?
  164. # If enabled, anyone with the permission ajqueue.bypasspaused will be able to join paused servers
  165. #  Default: false
  166. enable-bypasspaused-permission: false
  167.  
  168. # Should we check to make sure that people dont get sent quicker than wait-time?
  169. #  Default: true
  170. check-last-player-sent-time: true
  171.  
  172. # Should we send debug info to the console when priority queue is used?
  173. # This will print several lines to the console when a player joins a queue,
  174. # so you should probably only use this for debugging purposes
  175. #  Default: false
  176. priority-queue-debug: false
  177.  
  178. # When a player is kicked from a server, should we automatically add that player to the queue?
  179. # You will still need to use another plugin to make sure the player doesnt get kicked from bungee completly.
  180. #  Default: false
  181. auto-add-to-queue-on-kick: false
  182. # The delay for the above option.
  183. # In seconds, decimals supported.
  184. #  Default: 1
  185. auto-add-to-queue-on-kick-delay: 1
  186.  
  187. # With what kick reasons should we auto-add the player to the queue
  188. # This wont work if auto-add-to-queue-on-kick is disabled.
  189. # If you set it to [], then all kick messages will cause the player to be added to the queue
  190. # This works on contains, so you dont have to include the whole kick message, just a few words.
  191. auto-add-kick-reasons:
  192.  - "restarting"
  193.   - "closed"
  194.  
  195. # Should we enable the server command being a queue command?
  196. # This may require extra setup on bungeecord. See the wiki:
  197. # https://wiki.ajg0702.us/ajqueue/setup/replacing-server-command
  198. #  Default: false
  199. enable-server-command: false
  200.  
  201. # Should we enable priority messages?
  202. # Configure the priority messages in the option below.
  203. #  Default: false
  204. enable-priority-messages: false
  205.  
  206. # Messages we send to players with priority queue when they join the queue
  207. # In the free version, "priority" is 1.
  208. # The * will send when a player joins with any priority.
  209. # The format is <priority>:<message>
  210. # Example: 1:You have a priority of 1!
  211. priority-messages:
  212.  - "*:<green>Joining the queue with a priority of {PRIORITY}!"
  213.   - "100:<yellow>Wow! You have a priority of 100!"
  214.  
  215. # Should the plugin send a title to the player?
  216. # The title shows what position the player is in the queue
  217. #  Default: false
  218. send-title: false
  219.  
  220. # What protocols do servers support?
  221. # The protocol version number list can be found here: https://wiki.vg/Protocol_version_numbers
  222. # Format: server(s):protocol(s)
  223. # Example: 1.17:755,756
  224. #  This example will only allow 1.17 and 1.17.1 on the server called 1.17
  225. # Example: lobby-1,lobby-2,lobby-3:754,755,756
  226. #  This example will only allow 1.16.5, 1.17, and 1.17.1 on the 3 lobby servers
  227. supported-protocols:
  228.  - "1.17:755,756"
  229.  
  230.  
  231. # These are the protocol names the plugin should use.
  232. # If you are on velocity, if the protocol is not listed here then the velocity
  233. #  api will be used to find the name of the protocol.
  234. # If you are on bungee, only this list can be used.
  235. protocol-names:
  236.  - "757:1.18.1"
  237.   - "756:1.17.1"
  238.   - "755:1.17"
  239.   - "754:1.16.5"
  240.   - "753:1.16.3"
  241.   - "751:1.16.2"
  242.   - "736:1.16.1"
  243.   - "735:1.16"
  244.   - "578:1.15.2"
  245.   - "575:1.15.1"
  246.   - "573:1.15"
  247.   - "498:1.14.4"
  248.   - "490:1.14.3"
  249.   - "485:1.14.2"
  250.   - "480:1.14.1"
  251.   - "477:1.14"
  252.   - "404:1.13.2"
  253.   - "401:1.13.1"
  254.   - "393:1.13"
  255.   - "340:1.12.2"
  256.   - "338:1.12.1"
  257.   - "335:1.12"
  258.   - "316:1.11.2"
  259.   - "315:1.11"
  260.   - "210:1.10.2"
  261.   - "110:1.9.4"
  262.   - "109:1.9.2"
  263.   - "108:1.9.1"
  264.   - "107:1.9"
  265.   - "47:1.8.9"
  266.   - "5:1.7.10"
  267.  
  268. # On velocity, should we end a player a message when they are kicked while trying to connect to a server with the queue?
  269. # This has no effect on bungee, because the message is sent from bungee and theres no way to change that in ajQueue
  270. #  Default: false
  271. velocity-kick-message: true
  272.  
  273. # Should the updater be enabled?
  274. enable-updater: false
  275.  
  276. # What servers should we make slash server commands for?
  277. # For example, if survival is in this list, then if a player executes /survival
  278. #  then they will be put in the queue for survival
  279. # This works for both servers and groups
  280. # If you have ajQueuePlus, you can also make aliases.
  281. #  For example, if you have a server called lobby, and you want people to be able to use /hub, you can use this:
  282. #   - "hub:lobby"
  283. #  If you have the free version, you can only put the server name, no aliases.
  284. slash-servers:
  285.   - "rakennus:rakennus"
  286.   - "hub-1:hub"
  287.   - "hub-2:hub2"
  288.   - "survival:survival"
  289.   - "creative:creative"
  290.   - "speedmines:speedmines"
  291.   - "speedmines2:speedmines2"
  292.   - "tapahtuma:tapahtuma"
  293.   - "zombieattack:zombieattack"
  294.   - "tubunkaverit:tubunkaverit"
  295.   - "avtesting:avtesting"
  296.   - "parkour:parkour"
  297.   - "hub:lobbys"
  298.  
  299. # What balancer should we use?
  300. # If a group is not specified here, then the default one is used
  301. # Example entry: - "bedwars:minigame"
  302. # Balancers:
  303. #  default - Will send the player to the server in the group with the least number of players
  304. #  minigame - Will send the player to the server with the most players, until that server is full, which it will then send to the next server
  305. balancer-types: []
  306.  
  307. # What priority should we give whitelisted players priority when the server is whitelisted?
  308. # This will have no effect if the server isnt whitelisted
  309. # If you set to 0, this will be disabled
  310. # If you have the free version, set it to 1 to enable
  311. give-whitelisted-players-priority: 0
  312.  
  313. # What priority should we give players that are able to bypass paused priority when the server is paused?
  314. # This will have no effect if the server isnt paused
  315. # If you set to 0, this will be disabled
  316. # If you have the free version, set it to 1 to enable
  317. give-pausedbypass-players-priority: 0
  318.  
  319. # What priority should we give players that are able to bypass full servers priority when the server is full?
  320. # This will have no effect if the server isnt full
  321. # If you set to 0, this will be disabled
  322. # If you have the free version, set it to 1 to enable
  323. give-fulljoin-players-priority: 1
  324.  
  325.  
  326. # Should we force players to be queued every few seconds for queue-servers?
  327. # This will check every few seconds, and if a player in a queue-server is
  328. #  not in the queue for the target server, it will add them.
  329. force-queue-server-target: true
  330.  
  331.  
  332. # The minimum time between pinging the server.
  333. # If ajQueue is pinging your backend servers too often, raise this number
  334. minimum-ping-time: 1.0
  335.  
  336. # Should we print some extra stuff to the console that might help aj diagnose some issues?
  337. debug: false
  338.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement