Is there anyone to allowed direct connection to a server on velocity instead of directly to lobby

Im wanting players to use another IP to directly connect to the SMP is this possible? without it saying this?
No description
26 Replies
Admincraft Meta
Admincraft Meta6mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by lovekillin#0
Skullians
Skullians6mo ago
If you’re using a proxy no
cal
cal6mo ago
If you're using velocity isnt the forced-hosts section what you'd need? in velocity.toml
[forced-hosts]
# Configure your forced hosts here.
"lobby.example.com" = [
"lobby"
]
"factions.example.com" = [
"factions"
]
"minigames.example.com" = [
"minigames"
]
[forced-hosts]
# Configure your forced hosts here.
"lobby.example.com" = [
"lobby"
]
"factions.example.com" = [
"factions"
]
"minigames.example.com" = [
"minigames"
]
wouldnt minigames.example.com redirect you to the minigames server instead of the lobby?
Skullians
Skullians6mo ago
:pain: it’s quarter to 2 I need some coffee
cal
cal6mo ago
im genuinely asking because i have no clue 😭 but uhh OP try mess around with that part of config obviously replace example.com with your domain @! Lovekillin
ProGamingDk
ProGamingDk6mo ago
yes exactly what thats for
cal
cal6mo ago
thanks boss
! Lovekillin
! LovekillinOP6mo ago
Thanks team Will do some research
! Lovekillin
! LovekillinOP6mo ago
Would this be appropriate for wanting to allow players to directly connect to the survival server?
No description
ProGamingDk
ProGamingDk6mo ago
uh' backends shouldnt be accessible from the internet if at all possible, the last one yes if setup correctly dns wise
! Lovekillin
! LovekillinOP6mo ago
DNS is set can see the server but still getting the velocity strange
No description
! Lovekillin
! LovekillinOP6mo ago
No description
ProGamingDk
ProGamingDk6mo ago
show your record
! Lovekillin
! LovekillinOP6mo ago
No description
! Lovekillin
! LovekillinOP6mo ago
i can see SMP.sleeplessmc.com correctly the MOTD is different
! Lovekillin
! LovekillinOP6mo ago
No description
ʀᴀʙʙɪᴛᴛᴠ
dont use an srv record as they dont work with forced hosts
hawtre
hawtre6mo ago
Your srv points to your survival server not the velocity proxy
! Lovekillin
! LovekillinOP6mo ago
whats the best thing to do going forward? i want it to? im trying to make the survival accessable even tho there is a proxy my main ip is play.sleeplessmc.com smp.sleeplessmc.com points to my survival server
hawtre
hawtre6mo ago
Thats not what thr forced host config is for
! Lovekillin
! LovekillinOP6mo ago
Would i just use the IP instead? Sorry im attempting to access Survival through IP, instead of going through lobby even tho proxy is there Is that not what that sections is for? Is this even possible
hawtre
hawtre6mo ago
Idk, it might require patching paper You want to connect straight to your smp server, bypassing the lobby? Or you want to bypass the proxy Forced host will let you connect to a specific server but it won't let you directly connect to the backend server by bypassing the proxy (velocity) Since it won't be handling the connect at all at that point
! Lovekillin
! LovekillinOP6mo ago
I want to go RIGHT in to the SMP server if i was to use this other IP, i still want it to be proxied bc i want people to do /hub and then go back to lobby
hawtre
hawtre6mo ago
Then the port you're connecting to should be velocity's Not the backend server
ProGamingDk
ProGamingDk6mo ago
it needs to point to the velocity server the velocity server forwards the player based on the hostname
Admincraft Meta
Admincraft Meta5mo ago
post closed!
The post/thread has been closed!
Requested by lovekillin#0

Did you find this page helpful?