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 Meta7mo 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
Skullians7mo ago
If you’re using a proxy no
cal
cal7mo 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
Skullians7mo ago
:pain: it’s quarter to 2 I need some coffee
cal
cal7mo 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
ProGamingDk7mo ago
yes exactly what thats for
cal
cal7mo ago
thanks boss
Lovekillin
LovekillinOP7mo ago
Thanks team Will do some research
Lovekillin
LovekillinOP7mo ago
Would this be appropriate for wanting to allow players to directly connect to the survival server?
No description
ProGamingDk
ProGamingDk7mo ago
uh' backends shouldnt be accessible from the internet if at all possible, the last one yes if setup correctly dns wise
Lovekillin
LovekillinOP7mo ago
DNS is set can see the server but still getting the velocity strange
No description
Lovekillin
LovekillinOP7mo ago
No description
ProGamingDk
ProGamingDk7mo ago
show your record
Lovekillin
LovekillinOP7mo ago
No description
Lovekillin
LovekillinOP7mo ago
i can see SMP.sleeplessmc.com correctly the MOTD is different
Lovekillin
LovekillinOP7mo ago
No description
ʀᴀʙʙɪᴛᴛᴠ
dont use an srv record as they dont work with forced hosts
hawtre
hawtre7mo ago
Your srv points to your survival server not the velocity proxy
Lovekillin
LovekillinOP7mo 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
hawtre7mo ago
Thats not what thr forced host config is for
Lovekillin
LovekillinOP7mo 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
hawtre7mo 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
LovekillinOP7mo 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
hawtre7mo ago
Then the port you're connecting to should be velocity's Not the backend server
ProGamingDk
ProGamingDk7mo ago
it needs to point to the velocity server the velocity server forwards the player based on the hostname
Admincraft Meta
Admincraft Meta7mo ago
post closed!
The post/thread has been closed!
Requested by lovekillin#0

Did you find this page helpful?