View difference between Paste ID: Mz7q6mn7 and TGSjYnze
SHOW: | | - or go back to the newest paste.
1
settings:
2
    # If it is false the plugin will not work except the plugin main command.
3
    enabled: true
4
5
    # Mode for the plugin to work.
6
    # LOWEST: The server chosen is the first one found with the lowest player count.
7
    # HIGHEST: The server chosen is the first one found with the highest player count.
8
    # RANDOM: The server chosen is completely random. Using http://goo.gl/eo9oJL (java.security.SecureRandom)
9
    # 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)
10
    # PROGRESSIVE: The server chosen is the first one that is not full (in order).
11
12
    # This is the global mode, you can specify a mode for a group
13
    mode: RANDOM
14
15
    # Checking if the player is able to connect to a server by pinging it
16
    server_check:
17
        # If it is false it will try to connect the player even if the server is offline
18
        enabled: true
19
20
        # Retry intents trying to find a valid server
21
        intents: 5
22
23
        # The amount of milliseconds between every server check
24
        interval: 10000
25
26
        # Determine if we should use the utility of BungeeCord for pinging servers or our custom one
27
        alternative: true
28
    # Connect the player to a frontend server when the player gets kicked of a server
29
    reconnect_kick:
30
        # If it is false it will kick the player out of the network
31
        enabled: true
32
33
        # When the plugin should reconnect the players, the message of kick should contain the reasons. You are able to use regex here
34
        reasons: ["Kicked from server", "Server is Restarting", "Server closed"]
35
36
        # Sent when the player gets moved to other server because of a kick
37
        # 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)
38
        message:
39
            enabled: false
40
            text: '&cYou have been kicked from {kickedfrom}'
41
    # Delay when executing commands.
42
    delay:
43
        # If it is true, the connection will be delayed for X seconds, if not the player will connect immediately.
44
        enabled: false
45
46
        # The amount of time before connecting the player.
47
        seconds: 5
48
49
        # Placeholders: {server} (The target name), {time} (The amount of time before connecting).
50
        message: '&cYou will be connected to {server} in {time} seconds'
51
    # Servers where the commands of this plugin are disabled on.
52
    server_deny:
53
        # If it is true, the players inside any of the servers specified will not be able to execute commands.
54
        enabled: false
55
56
        # The servers where the commands will not work.
57
        servers:
58
            - 'DeniedServer'
59
        # The message when the player executes a command inside any of the denied servers.
60
        message: '&cThis command is disabled here.'
61
    # This commands takes care of connecting the player to a server inside the backend of the group of the player.
62
    join_command:
63
        # If it is false, the command will not exist.
64
        enabled: false
65
66
        # The name for the command, without slash.
67
        command: 'join'
68
69
        # The permission for the command, leave blank for none.
70
        permission: ''
71
72
        # Aliases for the command.
73
        aliases:
74
            - 'match'
75
    # This commands takes care of connecting the player to a server inside the backend of the group of the player.
76
    # 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.
77
    lobby_command:
78
        # If it is false, the command will not exist.
79
        enabled: false
80
81
        # The name for the command, without slash.
82
        command: 'lobby'
83
84
        # The permission for the command, leave blank for none.
85
        permission: ''
86
87
        # Aliases for the command.
88
        aliases:
89
            - 'hub'
90
            - 'leave'
91
    # This plugin supports redisbungee for multiple proxy instances. Get a look on redisbungee at
92
    # https://www.spigotmc.org/resources/redisbungee.211/
93
    # More info at https://minecraft.minimum.io/wiki/RedisBungee/FAQ
94
    redisbungee: false
95
    
96
    # Messages, you can use color codes and specific placeholders for each message. Colors at http://minecraft.gamepedia.com/Formatting_codes
97
    messages:
98
        # Sent when the player is not inside a group.
99
        command_unavailable: '&cThis command cannot be used in this server'
100
101
        # Sent when no server has been found for connecting.
102
        connect_failure: '&cUnable to connect to this server.'
103
104
        # Sent when no group has been found with a name.
105
        # Placeholders: {group} (The group name).
106
        undefined_group: '&cUnable to connect to this server.'
107
108
        # Sent when the player is connecting to a server.
109
        # Placeholders: {server} (The target name).
110
        connecting_message:
111
            enabled: false
112
            text: '&aConnecting to {server}...'
113
114
        # Sent when the player has connected to a server.
115
        # Placeholders: {server} (The target name).
116
        connected_message:
117
            enabled: false
118
            text: '&aYou have entered {server}'
119
groups:
120
    # Wildcards:
121
    # @: Adds all the frontend servers to the backend of a group. Usage: @group
122
    # *: Adds all the servers that start with it. Usage: Hub*
123
    # Notes:
124
    # It is not recommended to remove the main group
125
    # You can set a specific mode for a group
126
    main:
127
        enabled: true
128-
        mode: PROGRESSIVE
128+
129
            # This is the list of the servers that are "public" for the player, mainly the hubs.
130
            frontend:
131
                - 'LoginServer*'
132-
                - 'Network_Lobby'
132+
133
            backend:
134
                - '@lobby'
135
    lobby:
136
        enabled: true
137
        servers:
138
            frontend:
139
                - 'LobbyServer'
140
            backend:
141
                - 'GamemodeServerX'
142
# Version 1.4.5