Closed ehetteNandaYo closed 3 years ago
Currently, in Redirct Plus there is no method of achieving the 2-way arrow you drew between Lobby and Surival. I have changed the configuration to support just the Survival -> Lobby which should work most of the times in your case.
lobby:
# If kicked from this server group, no redirects will happen.
bottom-kick: false
# Spread redirected people over the servers.
spread: false
# 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: 60
# 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:
- mainlobby
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: {}
survivalgroup:
bottom-kick: false
spread: false
parent-group: lobby
# These servers do not have lobbies them self so we use a parent group.
servers:
- survival
servers-regex: 'none'
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: {}
external:
bottom-kick: false
spread: false
parent-group: survivalgroup
# These servers do not have lobbies them self so we use a parent group.
servers: {}
servers-regex: 'none'
connected:
- resources
- shops
- hell
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: {}
The only cases this doesn't catch if they are dropped from Lobby. However an alternative to this would be to put both survival
and lobby
in the same server group. Based on the spread method they would get located to one of the 2 servers.
Another option for me would be to include a spread mode FIRST, which just simply takes the first available server in the list. This option could work nicely too. Let me know if you would be intrested in that!
In the second option, if they are new players they will connect to the Lobby?
I'm trying to avoid new players from joining survival server first, if they are new they must connect to the lobby and then, when they play, they will connect to the last server they were online... I'm using hubmagic right now in secuential mode, which selects the first server in the list for new players and if for some reason that server is down they connect to survival. I think thats how you suggest, if you can make that possible that would be great!.
Redirect plus does not handle which server people connect to, it only handles redirects from kicks.
I was trying to do configure it like this map, but I cannot figure how.
Basically
If resources hell or shops crash, shutdowns, kicks a player, they are sent to Survival,
Survival send them to lobby
and lobby send them to survival (why? because lobby sometimes is shutdown and I dont have a second lobby)
Could you help me?
Thank you!