View difference between Paste ID: QpFWJDFx and 5CEdc4Tg
SHOW: | | - or go back to the newest paste.
1
# The version this was generated on.
2
version: 1.6.1
3
4
# Settings for the plugin, modify this to your liking
5
settings:
6
  # If it is false the plugin will not work except the plugin main command.
7
  enabled: true
8
9
  # Mode for the plugin to work.
10
  # LOWEST: The server chosen is the first one found with the lowest player count.
11
  # HIGHEST: The server chosen is the first one found with the highest player count.
12
  # RANDOM: The server chosen is completely random. Using http://goo.gl/eo9oJL (java.security.SecureRandom)
13
  # MIXED: The server chosen is randomly, but only the servers with the lowest player count (In case more than one found). Generally slower. Using http://goo.gl/vA6EFp (java.util.Random)
14
  # PROGRESSIVE: The server chosen is the first one that is not full (in order).
15
16
  # This is the global mode, you can specify a mode for a group
17
  mode: LOWEST
18
19
  # Checking if the player is able to connect to a server by pinging it
20
  server_check:
21
    # If it is false it will try to connect the player even if the server is offline
22
    enabled: true
23
24
    # Retry intents trying to find a valid server
25
    intents: 100
26
27
    # The amount of milliseconds between every server check
28
    interval: 50000
29
30
    # Determine if we should use the utility of BungeeCord for pinging servers or our custom one
31
    generic: false
32
33
    # If it is true, it will print information about the servers that have been checked
34
    info: true
35
36
    # Servers are marked as inaccessible when they are offline, but you can set them as non accessible when they have a specific
37
    # The description has to contain one string, you can use regex
38
    inaccessible_motds:
39
      - 'Game already started'
40
41
  # Connect the player to a frontend server when the player gets kicked of a server
42
  reconnect_kick:
43
    # If it is false it will kick the player out of the network
44
    enabled: true
45
46
    # When the plugin should reconnect the players, the message of kick should contain the reasons. You are able to use regex here
47
    reasons: ["Kicked from server", "Server is Restarting"]
48
49
    # Sent when the player gets moved to other server because of a kick
50
    # Placeholders: {kickedfrom} (The server the player was kicked from), {target} (The server the player is going to be connected), {reason} (The reason of the kick)
51
    message:
52
      enabled: true
53
      text: '&cVous avez été expulsé du serveur : {kickedfrom}'
54
55
    # Groups where players should be kicked to another frontend server when they are kicked on a frontend server
56
    recursive_groups:
57-
      - 'backend'
57+
      - 'main'
58
59
  # Delay when executing commands.
60
  delay:
61
    # If it is true, the connection will be delayed for X seconds, if not the player will connect immediately.
62
    enabled: false
63
64
    # The amount of time before connecting the player.
65
    seconds: 5
66
67
    # Placeholders: {server} (The target name), {time} (The amount of time before connecting).
68
    message: '&cYou will be connected to {server} in {time} seconds'
69
70
  # Servers where the commands of this plugin are disabled on.
71
  server_deny:
72
    # If it is true, the players inside any of the servers specified will not be able to execute commands.
73
    enabled: false
74
75
    # The servers where the commands will not work.
76
    servers:
77
      - 'DeniedServer'
78
79
    # The message when the player executes a command inside any of the denied servers.
80
    message: '&cThis command is disabled here.'
81
82
  # This commands takes care of connecting the player to a server inside the backend of the group of the player.
83
  join_command:
84
    # If it is false, the command will not exist.
85
    enabled: false
86
87
    # The name for the command, without slash.
88
    command: join
89
90
    # The permission for the command, leave blank for none.
91
    permission: ''
92
93
    # Aliases for the command.
94
    aliases: ["match"]
95
96
  # This commands takes care of connecting the player to a server inside the backend of the group of the player.
97
  # In case an extra argument is provided, it will connect the player to a server inside the backend of the group that the player provided.
98
  lobby_command:
99
    # If it is false, the command will not exist.
100
    enabled: true
101
102
    # The name for the command, without slash.
103
    command: lobby
104
105
    # The permission for the command, leave blank for none.
106
    permission: ''
107
108
    # Aliases for the command.
109
    aliases: ["hub", "leave", "back"]
110
111
  # This feature allows you to use a group-specific server that the plugin adds to connect a player to the frontend of that group
112
  # The server name is '@' and the name of the group
113
  # When somone connects to that server made by the plugin the server the player will end up is one in the frontend.
114
  group_server: false
115
116
  # This plugin supports redisbungee for multiple proxy instances. Get a look on redisbungee at
117
  # https://www.spigotmc.org/resources/13494/
118
  # More info at https://minecraft.minimum.io/wiki/RedisBungee/FAQ
119
  redisbungee: false
120
121
  # Enable this if you want the plugin to reload when bungeecord is reloaded
122
  autoreload: true
123
124
  # Messages, you can use color codes and specific placeholders for each message. Colors at http://minecraft.gamepedia.com/Formatting_codes
125
  messages:
126
    # Sent when the player is not inside a group.
127
    command_unavailable: '&cCette commande ne peut pas être utilisé sur ce serveur'
128
129
    # Sent when no server has been found for connecting.
130
    connect_failure: '&cAucun serveur n''a été trouvé! Essayez plus tard!'
131
132
    # Sent when no group has been found with a name.
133
    # Placeholders: {group} (The group name).
134
    undefined_group: '&cIl n''y a pas de serveurs nommé Group : {group}'
135
136
    # Sent when the player is connecting to a server.
137
    # Placeholders: {server} (The target name).
138
    connecting_message:
139
      enabled: true
140
      text: '&aConnection vers : {server}...'
141
142
    # Sent when the player has connected to a server.
143
    # Placeholders: {server} (The target name).
144
    connected_message:
145
      enabled: false
146
      text: '&aConnexion effectué : {server}'
147
groups:
148
  # Wildcards:
149
  # @: Adds all the frontend servers to the backend of a group. Usage: @group
150
  # *: Adds all the servers that start with it. Usage: Hub*
151
  # Notes:
152
  # It is not recommended to remove the main group
153
  # You can set a specific mode for a group
154
  main:
155
    enabled: true
156
    servers:
157
      # This is the list of the servers that are "public" for the player, mainly the hubs.
158
      frontend:
159
        - 'lobby*'
160
      # This is the list of the server that are "protected" for the player, like the minigames servers or more hubs.
161
      backend:
162-
        - 'connexion*'
162+
        - 'SkywarsServer1'
163
        - 'WhateverServer1'