Redirect Plus 2.12.0

Redirect players on kicks. Moves players on server shutdowns and restarts. Easy but extensive.

  1. MartenM
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    • 1.17
    • 1.18
    Source Code:
    https://github.com/MartenM/RedirectPlus
    [​IMG]
    [​IMG]

    Redirect plus. The plugin to handle server kicks and server groups.
    Move players to other severs on shutdown or restart.

    Please note that this is a bungee-cord proxy plugin!



    [​IMG]

    • Redirect people on server kicks (like shutdowns)
    • Show the kick message in chat.
    • Assign server groups so they will be redirected to the right (game) lobbies.
    • Allow commands like /skywars to redirect to skywars lobbies.
    • Spread players over lobbies when a server shuts down.
    • Blacklist certain actions from being redirected.
    • Restrict certain groups using permissions.
    • Prevent lobby redirects.

    Different spread methods:
    Code (YAML):
    PROGRESSIVE : Fill the server to the progressive-minimal amount, after that fill the next one, giving nicely populated lobbies. Uses LOWEST when the minimal is reached on all servers.
    CYCLE      
    : Cycle to the server to spread the load as much as possible. This can result in players being in a server on their own.
    LOWEST      
    : Send the player to the server with the lowest amount of players online.
    HIGHEST    
    : Send the players to the server with the highest amount of players. (Not adviced!)

    [​IMG]
    1. Download the RedirectPlus.jar
    2. Put the plugin in your BungeeCord plugins folder.
    3. Start and stop the BungeeCord.
    4. Configure the config.yml
    5. Start your BungeeCord and start redirecting people.

    [​IMG]
    Currently there is only one permission. Make sure you add it to your BungeeCord config.yml
    Code (Text):
    redirectplus.admin
    [​IMG]
    Code (YAML):

    # All the messages send by the plugin.
    messages
    :
     # Supported placeholders for 'redirected' message:
      # %from-server%  %to-server%  %from-group%  %to-group%  %reason%
      redirected
    :
      - "&f"
       - "&cAn kick occurred in your connection. &cReason:&r %reason%"
       - "&cYou have been send back to the main lobby."
       - "&f"
      unable-redirect-alias
    :
      - "&f"
       - "&cUnable to send you. All servers in that category are unavailable."
       - "&f"
      unable-redirect-alias-same-category
    :
      - "&f"
       - "&cUnable to send you to another server in this category."
       - "&f"
      alias-no-permission
    :
      - "&cYou don't have enough permissions to join this server group."
      alias-not-allowed-server
    :
      - "&cYou cannot use that command here!"

    # The amount of time between checking if a server is online.
    # Players won't be connected to offline servers.
    check
    : 30

    # The delay that is given to the redirect message.
    # When you have a lot of messages when a player joins a certain server this can help to make sure that the redirectplus messages shows as 'newest'.
    # The delay is in seconds.
    delay
    : 0

    # Blacklist. When a kick message contains this word they will NOT get redirected.
    #   This will result in the player seeing the kick screen.
    blacklist
    :
     - "ban"

    # Detect shutdown in server kick messages
    #   This can be faster for when you want to shutdowns servers and using RedirectPlus to redirectplus those people.
    detect-shutdown
    :
      enabled
    : true
      messages
    :
     - "shutdown"
      - "restart"
      - "closed"

    # Don't show the redirect message if the message contains one of the following words.
    # Can be useful when redirecting people from a game lobby and stuff.
    no-messages
    :
     - "[Silent]"

    # Disable the uses of aliases on specific servers.
    # Useful when having auth servers and AuthMe is not installed on the BungeeCord
    disable-aliases
    :
     # A list of servers to disable the aliases on.
      servers
    :
      - someserver1
       - someserver2
      # Regex to identify these servers.
      regex
    : "none"

    # unknown-group / server
    # This will redirect unknown servers to the group listed here:
    unknown-group
    : lobby

    # Specify defaults here. You can overwrite these settings by adding them to groups them self.
    global
    :
     # Spread modes:
      #   PROGRESSIVE : Fill the server to the progressive-minimal amount, after that fill the next one, giving nicely populated lobbies. Uses LOWEST when the minimal is reached on all servers.
      #   CYCLE       : Cycle to the server to spread the load as much as possible. This can result in players being in a server on their own.
      #   LOWEST      : Send the player to the server with the lowest amount of players online.
      #   HIGHEST     : Send the players to the server with the highest amount of players. (Not adviced!)
      spread-mode
    : PROGRESSIVE

      # The minimal amount of players that are on a server before the next server gets selected.
      progressive-minimal
    : 20

    # Server groups and their settings
    groups
    :
      lobby
    :
      # If kicked from this server group, no redirects will happen.
       bottom-kick
    : true
       # Spread redirected people over the servers.
       spread
    : true
       # Spread mode, if spread is enabled, use the following spread mode (will overwrite global if used).
       spread-mode
    : PROGRESSIVE
       # The minimal amount of players that are on a server before the next server gets selected. (only used for PROGRESSIVE spread)
       progressive-minimal
    : 20
       # Parent group - If none of the servers are available, the parent group will be used.
       # Set to none if none. If the parent server group is needed the player will be kicked instead.
       parent-group
    : none
       servers
    :
        - lobby1
         - lobby2
       servers-regex
    : 'none'
       # Servers that are connected to this group, but they won't be redirected to:
       connected
    : {}
       connected-regex
    : 'none'
       # Aliases can be used to redirect people to the server group when they use a certain command (Eg: lobby, hub, survival, towny, etc)
       aliases
    : {}
      games
    :
       bottom-kick
    : false
       spread
    : true
       parent-group
    : lobby
       # These servers do not have lobbies them self so we use a parent group.
       servers
    : {}
       servers-regex
    : 'none'
       connected
    :
        - survival
         - pvp
       connected-regex
    : 'none'
       # Aliases can be used to redirect people to the server group when they use a certain command (Eg: lobby, hub, survival, towny, etc)
       aliases
    :
        - games

    # Log settings, this will show your messages in console so you know what's going on.
    log
    :
     # If set to true the plugin will log redirects attempts that are canceled due to blacklisted words.
      blacklist
    : true
      # If set to true the plugin will log redirects that fail because no server was found.
      redirect-failed
    : true
      # If set to true the plugin will log players that do not get redirected due to the bottom-kick setting enabled.
      bottom-kick
    : false
      # If set to true the plugin will log successful redirect attempts.
      redirected
    : true
      # If set to true the plugin will log any cancelled redirect attempts due to inactive connections.
      inactive
    : true

    # EXAMPLE SETUP
    #groups:
    #  # The main lobby. If kicked from here they should not be redirected so we enable bottom-kick.
    #  # There are no connected servers here.
    #  main-lobby:
    #    bottom-kick: true
    #    spread: true
    #    parent-group: none
    #    servers:
    #      - lobby1
    #      - lobby2
    #      - lobby3
    #    connected: {}
    #    # Aliases can be used to redirect people to the server group when they use a certain command (Eg: lobby, hub, survival, towny, etc)
    #    aliases:
    #      - lobbies
    #      - lobby
    #  # This is the survival games group.
    #  # bottom-kick is false, since we want redirects from the connected servers.
    #  # The lobby servers are in the 'servers' list (so they will be redirected to) and the game servers are in the 'connected' list.
    #  survivalgames:
    #    bottom-kick: false
    #    spread: true
    #    parent-group: none
    #    permission: server.survivalgames
    #    servers:
    #      - sg-lobby-1
    #      - sg-lobby-2
    #    connected:
    #      - sg-game-1
    #      - sg-game-2
    #      - sg-game-3
    #      - sg-game-4
    #      - sg-game-5
    #    # Aliases can be used to redirect people to the server group when they use a certain command (Eg: lobby, hub, survival, towny, etc)
    #    aliases:
    #      - survivalgames
    #      - sg
     
    [​IMG]
    Redirect Plus has a plugin message channel in order to send /alias commands to the BungeeCord.

    Execute alias:
    Code (YAML):
    Channel name: martenm:redirectplus
    Subchannel
    : execute-alias
    Argument 1
    : The player name that will be redirected.
    Argument 2
    : The alias that should be executed.
     


    [​IMG]

    Please post feature request in the discussion page :p
    • Diffent spread algorithms (Cylce, progressive, etc) 2.5.0
    • Allow aliases (/skywars, /bedwards, /surivival) 2.4.0
    • Create server groups. (hub, survival lobby, etc) 2.0.0
    • Balance players over the servers. (Needed when a server with high player count shuts down.) 2.0.0

    [​IMG]

    [​IMG]

    If you enjoy the plugin: Please leave a review or donate to help me cover my costs. It really helps me :)

    I work on this plugin in my free time. I do not get paid for it any way, just so everybody can use it, but if you want to support me, and already left a review, than you can donate here:


    [​IMG]



Recent Reviews

  1. TropicalQaz
    TropicalQaz
    1/5,
    Version: 2.12.0
    Does not work at all. It has little documentation on how to work it too. smh
    arg
  2. DM_Gaming
    DM_Gaming
    5/5,
    Version: 2.12.0
    I would definitely recommend using the plugin. It helps me a lot on my server network.
    1. MartenM
      Author's Response
      Thanks for the review!
  3. hihuihuikjhgkj
    hihuihuikjhgkj
    5/5,
    Version: 2.12.0
    Thank you for this plugin! I've been stuck using slingshot which was outdated for a while now and had many bugs but then i came across this awesome plugin!
    1. MartenM
  4. Amitexing
    Amitexing
    5/5,
    Version: 2.12.0
    Plugin is good, opensource, active and friendly dev. That plugin replaced several plugins for me.
    1. MartenM
      Author's Response
      Thanks for the review!
  5. Thefluffypvper
    Thefluffypvper
    5/5,
    Version: 2.11.3
    Great plugin legit the only one that works out of the others I found and tested, It was a little hard to configure but the developer had a quick response time and even did the example for me :)
  6. oguzhantanitmis
    oguzhantanitmis
    4/5,
    Version: 2.11.3
    The plugin seems difficult at first, but it is very easy once you understand it. The only thing missing is the lack of multi auth server support, please bring multi auth server support
    1. MartenM
      Author's Response
      Please do a feature suggestion in the discussion page.
      Why can't this be achieved yet? Can't you stick them under the same category? Redirect plus in it self has not much to do with auth servers.
  7. Willi
    Willi
    5/5,
    Version: 2.11.3
    Great Plugin :3
    I'm using it for almost a Year, and it works great ^^

    ---------
    1. MartenM
      Author's Response
      Thanks for using my plugin and leaving a review!
  8. ImEvo2
    ImEvo2
    5/5,
    Version: 2.11.3
    I've used this plugin for so long without any issues that I completely forgot to write a review for the developer.
    Isa good plugin though, 10/10 would recommend :)-`<
  9. Jeanlx
    Jeanlx
    5/5,
    Version: 2.11.3
    Good Plugin! thanks for correcting the console error :D I highly recommend it! it's a pretty good plugin
  10. Jeanlx
    Jeanlx
    3/5,
    Version: 2.11.2
    https://hatebin.com/yankwpyhnu The plugin is very good, but I get a constant error in the console and it makes a lot of spam and I don't know what it is, since even with the default configuration it happens, if it solves the problem I give 5 stars, good complement!
    1. MartenM
      Author's Response
      Hopefully fixed in 2.11.3. If not please make a comment on the discussion page. If fixed, please consider placing another review :D