https://mcpaste.io/089de665429a5744
I connected my PVP server, with my hub and my proxy but it sends that whenever I do /server PVP.
A easy to use Paste site for Minecraft Server logs.
90 messages · Page 1 of 1 (latest)
https://mcpaste.io/089de665429a5744
I connected my PVP server, with my hub and my proxy but it sends that whenever I do /server PVP.
A easy to use Paste site for Minecraft Server logs.
need full log or a bit more context
Nevermind, I fixed that because I had a dedicated port, and I set the server up in the config.yml to: ip:25565 when I had to do just the ip.
@open arch, you just advanced to level 1 !
Is it possible for me to set my proxy up, so that I can directly connect to my gamemode server, without going threw the hub? But, if the server stops it sends you to the hub.
yep
check config.yml for default server
Anywhere specific I need to go?
i can't remember but it should be pretty obvious
What proxy?
Waterfall
ah okay
What do I do now?
In priorities, change the server name to whatever you want players to connect to when they join. Should also change force_default_server to true, if it's not already
If the server crashes, it should still send you to the hub as long as the hub is also listed in priorities under your game server
Okay, but can people still be able to connect threw the raw gamemode ip?
As opposed to the proxy ip?
Yes
The reason I want a hub and a proxy is so a player can go from one server to another quickly, and if the server stops it sends them to the hub
Basically, the proxy ip won't be used
I mean you can set it up using using sub domains and forced hosts, but most people dont do that because it opens more connections than are necessary
@old flame, you just advanced to level 2 !
so you are only using the proxy so if your game server crashes, they dont get disconnected? are there any other gamemodes, or just game1, hub, and proxy?
Game1, game2, hub and proxy
@open arch, you just advanced to level 2 !
Those are the servers
If I were to join my server, with my custom domain: domain.adsad, it will send them to game1. If the server crashes, they get sent to hub.
I am not going to let players join with the proxy ip, so the only way they can join the hub is by running /l in the game servers so that they can get to hub.
If you have a dedicated ip for each server and a domain, you can do “game1DOTmyservercom” and “game2DOTmyservercom” would send them to the respective server
Okay
you can also just make your main IP playDOTmyserverDOTcom go to a certain game server
by doing the priorities options
but if I join the server with the custom domain, this shows.
If you are joining through a gameserver ip you have to set the game server ip in the ip forwarding section of the bungee config
Sorry I forgot you werent using the proxy ip
Forced Hosts on line 8 I believe
And I just throw in my new ip? Like this?
Sorry if I'm being a pain, I'm just extremely new to proxies.
You’re fine haha I haven’t set one up in a while so I’m kind of testing myself here. The ip should be the ip for your game server, and the name next to it should be however you have the server named in bungeecord
I might be mistaken, but the sub domain might need to be pointed to the proxy server ip thru your dns so that the proxy can still route it correctly. That’s the one part I can’t remember
@old flame, you just advanced to level 3 !
Hey @old flame sorry I was busy for a bit, but I'm back and still trying to make an attempt to do this
Have you got any suggestions on how to do it?
No problem, I’m at work for another 4 hours but for now i would refer to the last message I sent and see if that works
wait so whats your problem again
I want it so that people can directly join a gamemode server, instead of going threw the proxy
Not possible unless u r using the forced hosts feature. Still going thru the proxy thou
How would I use forced hosts?
Point a domaim at the proxy
And in the forced host sectokn
Add
your domain: server u want to connect to
Anyone joining via the domain will be forwarded to the specified server
Alright
I saw that forced hosts are less secure
@open arch, you just advanced to level 3 !
it's not "less secure" in any way
Ah okay
Do you have any tutorial for this? Sorry I am pretty new to proxies so just trying to gather all of this.
It’s one of those muscle memory things at this point so i dont really have a tutorial. as far as im aware, you need to point the domain to the proxy, and then set that same domain in the forced hosts section to point to that game server. No matter what you do, players will always join through the proxy and then get forwarded to a game server within the proxy
you need a domain is the main part
Which I have
Are you familiar with dns?
Okay so first you need to make an A record for whatever you want your ip to be, so “play” would translate to playDOTmyserverDOTcom pointed to the IP of your proxy server.
Then you need to add that same entry “playDOTmyserverDOTcom: GAMESERVER” to the forced hosts section of your bungee config.
Then when players connect to playDOTmyserverDOTcom, they join through your proxy, but the proxy will redirect them to the game server through the forced hosts section.
Players will always join via your proxy server, and the proxy will reroute them without the player ever knowing
they will still be able to interact with the proxy via /server
it's just an auto-join this server kind of thing
not a avoid the proxy
Like this?
Because the port doesn't work
It just says invalid
So if you don’t have a dedicated ip, you would leave the port out of that, and use playDOTmyserverDOTcom:PORT to connect
the a record would just be the ip without the port. i highly suggest getting a dedicated ip
Shoot alright, I'll get a dedicated ip tomorrow
Yep alright, thanks for all the help btw.
no problem, just let me know if you need anything
And this is what you mean by forced hosts?
Will do
if that's your domain that is how it works
so if you connect to ur domain you will go to ur server
Alright
I may be wrong, but im almost positive you must have port 25565 (dedicated ip) to use forced hosts correctly
you don't. You just need to have the srv record
So do I have an SRV record or an A name record.
Nitrogen knows more than me about that