How to connect my external Bungeecord server to Minehut.

I have a network server and I want to connect it to minehut. I have bought their external server plan of 800 credits. I believe I have set things up but when trying to connect it says the server is not authenticated with minecraft.net. This is not client side as I have tested with other people and have restarted my game. Does anyone know anything about this.
109 Replies
Admincraft Meta
Thanks for asking your question!
Once you have finished, please close your thread. Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
command to close
/close !close !solved
Requested by stagprince#0
ProGamingDk
ProGamingDk2y ago
u cant direct connect after u setup minehut u need to join through minehut
Stagprince
StagprinceOP2y ago
yes I did i did the /join and server name is it becuase I have a bungeecord server? do they not allow that?
ProGamingDk
ProGamingDk2y ago
bungeecord or waterfall? because no, bungeecord is not supported
Stagprince
StagprinceOP2y ago
waterfall
ProGamingDk
ProGamingDk2y ago
(they even said say it in the docs) did u setup the startup flags?
Stagprince
StagprinceOP2y ago
properly not what are the flags?
ProGamingDk
ProGamingDk2y ago
Super League on Notion
Minehut External Servers Docs
The Minehut External Servers Docs provides a step-by-step guide on how to connect a Minecraft server to the Minehut network.
Stagprince
StagprinceOP2y ago
thanks but does it work with waterfall?
ProGamingDk
ProGamingDk2y ago
yes although i recommend velocity
Stagprince
StagprinceOP2y ago
ok Ill follow this guide
LanderYT
LanderYT2y ago
Hate to jump in, but does Paper/Purpur work with connecting to Minehut too?
ProGamingDk
ProGamingDk2y ago
yes but direct connections dont work atleast the last 2 times i checked my usual setup is dual proxies (velocity or waterfall), one for minehut connections, and one for direct gives better ping and connections for people direct connecting
Stagprince
StagprinceOP2y ago
do I need to add the flags to the backend servers too? or just the proxy
ProGamingDk
ProGamingDk2y ago
only proxy
Stagprince
StagprinceOP2y ago
I added it to my proxy and it still gave the same error
No description
ProGamingDk
ProGamingDk2y ago
you read the docs wrong...
Stagprince
StagprinceOP2y ago
really?
ProGamingDk
ProGamingDk2y ago
the flags should go before -jar
Stagprince
StagprinceOP2y ago
ah I see ok It worked. Thanks a lot @ProGamingDK !
LanderYT
LanderYT2y ago
If I want to set up Velocity for Minehut while players can still join via the normal IP, how many servers will I need? Do I need a velocity server at the lowest specs and my current SMP as usual?
ProGamingDk
ProGamingDk2y ago
2 for the best experience u can do it without any tho its just gonna be wrose worse*
LanderYT
LanderYT2y ago
I'd want players to be able to both join via Minehut and normal, as Minehut is frequently down these days.
ProGamingDk
ProGamingDk2y ago
exactly for that u would need 2 u can do it without any but then ur stuck with their shitty uptime and network
LanderYT
LanderYT2y ago
The specs for the Velocity does not matter, right?
ProGamingDk
ProGamingDk2y ago
well give them like 500-1 gig of memory and 25-50% of a thread each should be fine
LanderYT
LanderYT2y ago
I'm assuming the cheapest plan of EnviroMC should be able to cover that
ProGamingDk
ProGamingDk2y ago
yes
LanderYT
LanderYT2y ago
Thank you so much, you're amazing. Mind if I return in a few days when I start setting this up? Just having a very vague idea with how Velocity works.
ProGamingDk
ProGamingDk2y ago
sure i have done this setup for 2-3 different clients so not my first time
Stagprince
StagprinceOP2y ago
wait so how do I allow people to connect with the minehut ip and my normal ip. Minehut seemed to have blocked the normal one. is that because im using waterfall? or is there a setting I missed?
LanderYT
LanderYT2y ago
im sorry im not the person who knows this stuff lol, i'm just about to learn about it. I'm pretty sure people suggest Velo over Waterfall too
Stagprince
StagprinceOP2y ago
ok thanks!
ProGamingDk
ProGamingDk2y ago
U either deal with unstable connection and uptime issues from minehut or u do a double proxy setuo (the first only works if u own a domain)
LanderYT
LanderYT2y ago
I'm starting to work on hooking my server to Minehut now. Is it possible to use the latest version of Velocity and still be able to connect that to my 1.19.3 server?
ProGamingDk
ProGamingDk2y ago
Yes Velocity is mostly not version depending Like how waterfall is
LanderYT
LanderYT2y ago
I'm just waiting for Nerd to give me perms to change the startup para atm I am able to change the startup command now, before I change the startup command, how do I connect the proxy to my server? And what are the weird things about keeping online-mode to false in a lot of cases? I'm kinda stuck at this part.
ProGamingDk
ProGamingDk2y ago
for all proxies u need to set backends to offline-mode the proxy will handle authentication so your server will still be online-mode (do remember to setup modern forwarding tho)
LanderYT
LanderYT2y ago
does setup modern forwarding have anything other than putting the "forwarding method" thing to modern?
ProGamingDk
ProGamingDk2y ago
well yes u have to put the forwarding key into each of your backends paper-global.yml config under the velocity section ^ please dont share it. -.-
LanderYT
LanderYT2y ago
ok i will, it will be a secret between all of us ;) Okay, so because I only have my SMP and the proxy, does that mean the proxy only has 1 server in it? i'll just do something like smp = {ip} ?
ProGamingDk
ProGamingDk2y ago
yes then set priority to smp only
LanderYT
LanderYT2y ago
where is the priority? is it the "try" thing?
ProGamingDk
ProGamingDk2y ago
yesr set try to smp
LanderYT
LanderYT2y ago
is it normal that my velocity just turns off immediately when i turn it on (I haven't finished the configuration)
ProGamingDk
ProGamingDk2y ago
well yes if u havent finished
LanderYT
LanderYT2y ago
after I finish it, players will only be able to join via the proxy's IP (I haven't hooked the server to minehut yet) ?
ProGamingDk
ProGamingDk2y ago
yes
LanderYT
LanderYT2y ago
my proxy keeps closing itself even though I finished all the config
ProGamingDk
ProGamingDk2y ago
logs pleasee
LanderYT
LanderYT2y ago
a - Pastebin
Pastebin.pl is a website where you can store code/text online for a set period of time and share to anybody on earth
ProGamingDk
ProGamingDk2y ago
please us mclo.gs sophos is kinda blocking it
ProGamingDk
ProGamingDk2y ago
No description
ProGamingDk
ProGamingDk2y ago
lol "Hacking"
ProGamingDk
ProGamingDk2y ago
No description
ProGamingDk
ProGamingDk2y ago
i just installed it as my parents has it dw i disable everything fro mit from it this was just a funny case of me enabling it to see what it would call pastebin
LanderYT
LanderYT2y ago
so there was a setting I missed.. where is this player forwarding again?
ProGamingDk
ProGamingDk2y ago
u sure u saved the config? that would be the "modern" part
LanderYT
LanderYT2y ago
it is currently modern and saved Apparently, the Velocity server doesn't seem to save logs when it's crashing so quickly my latest.log is 13 hours ago .-. @ProGamingDK sorry for ping, but i literally can't get the crash logs
ProGamingDk
ProGamingDk2y ago
send console logs again? because it seems like it didnt save file
ProGamingDk
ProGamingDk2y ago
container@pterodactyl~ -Duser.timezone=UTC /entrypoint.sh: line 49: eval: -D: invalid option ^^ it doesnt even get to the server it fails at java u placed it in the wrong side of -jar probably
LanderYT
LanderYT2y ago
startup command is the problem?
ProGamingDk
ProGamingDk2y ago
yes
LanderYT
LanderYT2y ago
I can just get Aikar's flags and it should work, correct?
ProGamingDk
ProGamingDk2y ago
well you have 1 single flag thats causing the crash
LanderYT
LanderYT2y ago
I got the velocity running now, thank you. Now, it does not seem to be connected to the original server as I'm unable to join through the velocity IP "No further information" is what I'm receiving
ProGamingDk
ProGamingDk2y ago
did u add minehut flags? and please send logs of backend and proxy
LanderYT
LanderYT2y ago
I did not add minehut flags, I just added normal flags
ProGamingDk
ProGamingDk2y ago
aight
LanderYT
LanderYT2y ago
This one is proxy
ProGamingDk
ProGamingDk2y ago
client logs wel well show client error
LanderYT
LanderYT2y ago
https://mclo.gs/5cCNJTt This one is backend
mclo.gs
Purpur 1.19.3 Server Log [#5cCNJTt]
338 lines | 1 error
ProGamingDk
ProGamingDk2y ago
[20:19:33] [Server thread/INFO]: com.mojang.authlib.GameProfile@31801078[id=<null>,name=LanderYT,properties={},legacy=false] (/...:47937) lost connection: Disconnected [20:19:44] [Netty Epoll Server IO #2/INFO]: Disconnecting com.mojang.auth seems like u tried joining the backend
LanderYT
LanderYT2y ago
What I get when I join the proxy
No description
ProGamingDk
ProGamingDk2y ago
looks like firewall are u sure port is set correctly
LanderYT
LanderYT2y ago
that's what something i'm suspecting just now too bind = "0.0.0.0:25577" Could this be a problem?
ProGamingDk
ProGamingDk2y ago
that is indeed the issue.
LanderYT
LanderYT2y ago
What should bind be set to?
ProGamingDk
ProGamingDk2y ago
well the proxy port
LanderYT
LanderYT2y ago
so it's 0.0.0.0:realport
ProGamingDk
ProGamingDk2y ago
yes
LanderYT
LanderYT2y ago
No description
LanderYT
LanderYT2y ago
No description
ProGamingDk
ProGamingDk2y ago
logs
ProGamingDk
ProGamingDk2y ago
proxy doesnt see the login request
LanderYT
LanderYT2y ago
What do I have to do?
ProGamingDk
ProGamingDk2y ago
well it shouldnt have this issue
LanderYT
LanderYT2y ago
.-. that sucks Is there any solution to this issue? I've double checked everything and saw nothing out of the ordinary
ProGamingDk
ProGamingDk2y ago
ask ur host
LanderYT
LanderYT2y ago
Could i send my velocity config and my paper config (without revealing secret) here so y'all could help me double check if I did anything wrong? Good news, I managed to hook the server to Minehut, but I cannot join the server via direct proxy.
ProGamingDk
ProGamingDk2y ago
so u have 2 velocity proxies connected to the backend right?
LanderYT
LanderYT2y ago
Proxy as in 2 velocity servers?
ProGamingDk
ProGamingDk2y ago
tes yes*
LanderYT
LanderYT2y ago
so i'll need 2 seperate velocity servers connected to my SMP backend
ProGamingDk
ProGamingDk2y ago
yes 1 for minehut, 1 for direct connections
LanderYT
LanderYT2y ago
so for both, i need haproxy enabled, or just for the minehut one?
ProGamingDk
ProGamingDk2y ago
only 1 (the minehut one)
LanderYT
LanderYT2y ago
got it, i'll open another proxy server now what about forwarding secret? i would have 2 different secrets, how would i be able to put in the backend?
ProGamingDk
ProGamingDk2y ago
no u can set what forwarding secret the proxy use just copy and paste 1 into each forwarding-secret file
LanderYT
LanderYT2y ago
ohh, so I can set whatever I want
ProGamingDk
ProGamingDk2y ago
yes
LanderYT
LanderYT2y ago
ty @ProGamingDK it worked amazingly. It's been a long weekend, thank you so much.
ProGamingDk
ProGamingDk2y ago
np!
Admincraft Meta
Only moderators and the Post owner can close this post

Did you find this page helpful?