pugmatt / bedrockconnect Goto Github PK
View Code? Open in Web Editor NEWJoin any Minecraft Bedrock Edition server IP on Xbox One, Nintendo Switch, and PS4/PS5
License: GNU General Public License v3.0
Join any Minecraft Bedrock Edition server IP on Xbox One, Nintendo Switch, and PS4/PS5
License: GNU General Public License v3.0
Hi there,
first of all, thanks a lot for your great work.
Everything went well for me so far, but now I have an issue with my Server List.
I started the server, changed the DNS settings on my Switch to the given IP address 104.238.130.180 and connected via Server List to Hive and then to my custom server.
I can see my login in my server console ("Made it through login"), but as soon as I am on my server (an empty world with just clouds and a sun), the Server List is shown again. If I close the server list, I get disconnected back to the main menu.
Am I missing something? How do I get rid of the server list?
Many thanks and best regards,
Simon
Add custom servers to list for all players using some config file... Usefull for server owners.
I forgot to clarify, I'v tried everything you said, Including commenting. No help.
Can not connect to server list. Can you please confirm server is running fine? Best regards, Oliver
I was trying to explain to someone else how to save a server in the server list with an IP I already had saved, but still I was able to connect to the server after 1 retry. Then, I tried to remove the duplicated server from the server list, but after that I haven't been able to connect to the server if I toggle on the option to save the server on the list.
After many tries, I've only managed to connect to the server by adding the server without toggling on the "Add to server list" switch.
This doesnt seems correct for me...
if (str.startsWith("nodb=")) {
noDB = true;
}
What about nodb=false argument?
When connecting to The Hive using Bind on linux, it says Invalid IP. Adding a new server on my PC with the domain hivebedrock.network brings me to the server chooser just fine.
any way to transfer from a singleplayer world to a server. like do you think its possible to run a singleplayer world, have friends join it and basically have the connect to server thing popup.
Hi, im trying on switch, it was working fine 1 hour ago now when i try to connect to serverlist server it says unable to connect to world
when I upgraded to 1.16 I couldn't join FIX IT
The runtime_block_states.dat file is located in the src folder, but I think it's supposed to be in the src/main/resources/tables folder. I can't compile the program without moving it there
Hi, i followed the tutorial on linux but i cant get it to work. Minecraft on xbox one is still showing the normal motds from the servers and not the "Join to open Server list..."
Heres my configuration:
named.conf.local
zone "hivebedrock.network" IN {
type master;
file "db.hivebedrock.network";
allow-query { any; };
};
zone "mco.mineplex.com" IN {
type master;
file "db.mco.mineplex.com";
allow-query { any; };
};
zone "play.inpvp.net" IN {
type master;
file "db.play.inpvp.net";
allow-query { any; };
};
zone "mco.lbsg.net" IN {
type master;
file "db.mco.lbsg.net";
allow-query { any; };
};
zone "mco.cubecraft.net" IN {
type master;
file "db.mco.cubecraft.net";
allow-query { any; };
};
And here my db.* files
cat /var/cache/bind/{db.hivebedrock.network,db.mco.lbsg.net,db.play.inpvp.net,db.mco.cubecraft.net,db.mco.mineplex.com}
@ in SOA hivebedrock.network. admin.hivebedrock.network. (
2014030801 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum @ NS
hivebedrock.network.
IN A <IP>
@ in SOA mco.lbsg.net. admin.mco.lbsg.net. (
2014030801 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum @ NS
mco.lbsg.net.
IN A <IP>
@ in SOA play.inpvp.net. admin.play.inpvp.net. (
2014030801 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum @ NS
play.inpvp.net.
IN A <IP>
@ in SOA mco.cubecraft.net. admin.mco.cubecraft.net. (
2014030801 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum @ NS
mco.cubecraft.net.
IN A <IP>
@ in SOA mco.mineplex.com. admin.mco.mineplex.com. (
2014030801 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum @ NS
mco.mineplex.com.
IN A <IP>
Please help
I’ve put in three sever IPs and they all say “unable to connect to world”
Looks like there is an additional DNS entry for Hive - geo.hivebedrock.network
Thanks for the work on this, this is awesome!
So I Just tried to do the DNS procedure with my Nintendo Switch, but it doesnt work: after i did it, i open minecraft and go in the serverlist but no servers are shown, just a text that says that I cant play multiplayer without a microsoft account, but i checked and i was logged in. If i put back the automatic DNS it will show the servers again.
Sorry to leave another issue here but I'm kinda having trouble.
The dns up works perfectly on my and all my friends xboxs except one.
This person doesn't have the Minecraft server list changed at all if she joins one it takes her to that server and not the server list.
I'm wondering what could cause this problem? A setting that is changed from default? It's not her ISP because I have the some provider and it works fine for me.
Edit:
The IP is correct we put it in 5 times
When is it gonna start working again
I’m unable to use the DNS server using IPv4 because the router supports IPv6 and I can’t find a way to disable it (and to be honest, I’m not sure if it’s the right thing to do).
I can however, change the DNS servers of the LAN. That includes the IPv6 addresses.
Because of that I would like to know, is there an IPv6 address for the currently available DNS server?
Hello,
I tried to connect to the server on the new v1.13.0 release on the switch and it throws a huge error and it hangs on "connecting to server"
I'm on mobile, formatting doesn't seem to want to work for the below;
Player disconnected
Oct 31, 2019 4:01:17 PM com.nukkitx.network.raknet.RakNetServer$ServerDatagramHandler exceptionCaught
SEVERE: An exception occurred in RakNet
java.lang.IllegalStateException: No PacketCodec is set!
at com.nukkitx.network.util.Preconditions.checkState(Preconditions.java:497)
at com.pyratron.pugmatt.protocol.bedrock.BedrockSession.checkPacket(BedrockSession.java:97)
at com.pyratron.pugmatt.protocol.bedrock.BedrockSession.sendPacket(BedrockSession.java:76)
at main.com.pyratron.pugmatt.bedrockconnect.listeners.PacketHandler.handle(PacketHandler.java:977)
at com.pyratron.pugmatt.protocol.bedrock.packet.LoginPacket.handle(LoginPacket.java:20)
at com.pyratron.pugmatt.protocol.bedrock.handler.DefaultBatchHandler.handle(DefaultBatchHandler.java:26)
at com.pyratron.pugmatt.protocol.bedrock.BedrockSession.onWrappedPacket(BedrockSession.java:278)
at com.pyratron.pugmatt.protocol.bedrock.BedrockRakNetSessionListener.onEncapsulated(BedrockRakNetSessionListener.java:32)
at com.nukkitx.network.raknet.RakNetSession.onEncapsulatedInternal(RakNetSession.java:315)
at com.nukkitx.network.raknet.RakNetSession.onOrderedReceived(RakNetSession.java:442)
at com.nukkitx.network.raknet.RakNetSession.checkForOrdered(RakNetSession.java:420)
at com.nukkitx.network.raknet.RakNetSession.onRakNetDatagram(RakNetSession.java:408)
at com.nukkitx.network.raknet.RakNetSession.onDatagram(RakNetSession.java:287) at com.nukkitx.network.raknet.RakNetServer$ServerDatagramHandler.channelRead(RakNetServer.java:278)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965)
at io.netty.channel.epoll.EpollDatagramChannel$EpollDatagramChannelUnsafe.epollInReady(EpollDatagramChannel.java:483)
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:408) at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:308)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at java.lang.Thread.run(Thread.java:745)
Player disconnected
Hello, I'm trying to use your DNS to connect to my bedrock server but it won't work.
Is you running server is up to date with your latest release? Cause server's motd showing "Join to open Server List - 1.14.0" instead of 1.14.60 ?
ok lets say you have a server running on your pc, and then also have a multiplayer world open on the same pc. what i'm thinking is to intercept anyone trying to connect to the multiplayer world and have them get taken into the server instead. so basically the multiplayer world is simply there to let console players join the server without having to do anything themselves, all they do is friend the user hosting the multiplayer world and join through them, server intercepts the connection and the player joins the server instead.
(ive had this idea for a long time now, but i know very little about networking)
if this made no sense let me know, and ill try to reword it.
[a-zA-Z.0-9]+
) does not allow a hyphen, which is valid in domain names.See e.g. https://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_hostnames
Just wondering will this be fixed by tomorrow some time for xbox?
Hey, man, I have followed you clip for switch. I have had no problem and start. Only now 2 weeks later. I'm starting to have problems with it now. Now i don't get connected every time and if I do have a connection, he says I am not connected to Nintendo and then I check my internet connection and then he says I'm just connected to everything.
You got some advice?
I've been using BedrockConnect public DNS flawlessly for the past month. As of the past few days I've been having a hard time connecting to any of the servers in the server list. This issue is intermittent. Sometimes it works without issue like it has in the past and sometimes I get Unable to connect to world. Is there any steps I can take to troubleshoot? I am using an Xbox to connect.
I have been using this for the last 3 weeks perfectly. Last night 09/03/20 at around 1 am gmt I was kicked from my server. I cannot get back on. Other on my server that use console are having the same issue
As of today 4 hours ago my console friends can't connect to the bedrock serverlist,
I tested on my own on w10 and can't directly connect to it which lead me to believe it is a minecraft server (the serverlist) problem and not a dns server one.
Is there any way to get update from this problem, do you not have the fund/want to maintain it (which is perfectly understandable), do i need to set up my own for my friends? sorry for the off topic on this ticket but i could not find another way to contact you (discord, email, any other way)
Thanks for your hard work.
I have a hunch as to why this may not be working for many people. It seems if a user’s Xbox is able to use IPv6, it ignores the manual IPv4 settings and continues with the default IPv6 DNS servers. This is obviously highly problematic, as this prevents many players from joining. However I’m not sure if there’s a way to fix this. Microsoft doesn’t allow users to tweak the IPv6 settings in the Xbox for some reason, nor disable it.
I was able to test this theory. My ISP forces IPv6 down my throat, so I turned on my Xbox, went to the settings, and connected to OpenDNS’ servers, as they have a handy URL that shows if you’re connected. It definitely didn’t work. At all. Even after restarting my Xbox. It’s definitely a shame, your software and general idea is awesome! If there’s a way around this issue, let me know. It just seems as if it’s literally impossible for some people to change their DNS servers without tweaking with their router and disabling IPv6 all together.
I'm not sure if server resource packs stay enabled when switching servers, but if they do, could this support applying resource packs? If not it could use a proxy or something.
Possible reference:
https://github.com/GeyserMC/Geyser/blob/ebec42961b0ddcb85300faa6067e57a15123b7db/connector/src/main/java/org/geysermc/connector/utils/ResourcePack.java
Would it be possible to create an option to give the listen ip in the batch file?
This would make it possible to start the server without user intraction.
Hello, I checked if I used internet from 4G (smartphone) to my switch the public DNS of bedrockConnect work great but if I use internet from my ISP then I can not connect.
Is possible to say what the ISP is blocking to try talk with them to resolve?
I put an everything correctly I've tired like three times already and I restarted my Xbox to make sure it's still not working. How can I fix this?
Hello, after the first time, i got on the dns bedrock server, and after i added one server, i wasn‘t whitelisted, i don‘t get back on the server list.
It shown always, its unable to connect the server.
I don‘t get to the dns server, after the first connection...
I am getting the following error when attempting to run the latest version against Java 1.8.0.231.
ERROR: Could not connect to MySQL server! because: Unknown initial character set index '255' received from server. Initial client character set can be forced via the 'characterEncoding' property.
Have tried changing the encoding and whatnot but don't seem to be making any progress.
When connecting to BedrockConnect in Switch. Here is the stack trace:
Bedrock Connection Started: localhost:19132
Apr 15, 2020 8:18:37 PM com.nukkitx.network.raknet.RakNetServer$ServerDatagramHandler exceptionCaught
SEVERE: An exception occurred in RakNet
java.lang.IllegalStateException: No PacketCodec is set!
at com.nukkitx.network.util.Preconditions.checkState(Preconditions.java:497)
at com.pyratron.pugmatt.protocol.bedrock.BedrockSession.checkPacket(BedrockSession.java:97)
at com.pyratron.pugmatt.protocol.bedrock.BedrockSession.sendPacket(BedrockSession.java:76)
at main.com.pyratron.pugmatt.bedrockconnect.listeners.PacketHandler.handle(PacketHandler.java:1157)
at com.pyratron.pugmatt.protocol.bedrock.packet.LoginPacket.handle(LoginPacket.java:16)
at com.pyratron.pugmatt.protocol.bedrock.handler.DefaultBatchHandler.handle(DefaultBatchHandler.java:22)
at com.pyratron.pugmatt.protocol.bedrock.BedrockSession.onWrappedPacket(BedrockSession.java:278)
at com.pyratron.pugmatt.protocol.bedrock.BedrockRakNetSessionListener.onEncapsulated(BedrockRakNetSessionListener.java:28)
at com.nukkitx.network.raknet.RakNetSession.onEncapsulatedInternal(RakNetSession.java:301)
at com.nukkitx.network.raknet.RakNetSession.onOrderedReceived(RakNetSession.java:428)
at com.nukkitx.network.raknet.RakNetSession.checkForOrdered(RakNetSession.java:406)
at com.nukkitx.network.raknet.RakNetSession.onRakNetDatagram(RakNetSession.java:394)
at com.nukkitx.network.raknet.RakNetSession.onDatagram(RakNetSession.java:273)
at com.nukkitx.network.raknet.RakNetServer$ServerDatagramHandler.channelRead(RakNetServer.java:288)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1422)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:931)
at io.netty.channel.nio.AbstractNioMessageChannel$NioMessageUnsafe.read(AbstractNioMessageChannel.java:93)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:700)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:635)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:552)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:514)
at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1050)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at java.lang.Thread.run(Unknown Source)
null disconnected
Hello. No matter what I choose it says connection to server times out. This is the screen right before I select saved server
Since the 1.16 update dropped today and the current version dies with a RuntimeException in RakNet: Unable to inflate buffer data.
Will there be an update that supports 1.16, so I can join my private server?
I have read the documentation and read through some of the issues, but am confused about where to be using the 104.238.130.180 for DNS server and when to be using a local IP address.
My goal is to be hosting a bedrock server at my location and have my brother connect with his Xbox one from his house. Does this mean he needs to have the bedrock connect service running at his house? What IP address would he need to use for the DNS, local or 104.238.130.180?
P.S. this is an awesome program because servers are what really made minecraft, hope I can get this working.
Hello guys,
first of all congratulations to that great work!
I have a problem. When I try to connect to my own home-hosted server the Player joins the server and immediately disconnects. On the switch it shows "The Software Was Closed Because An Error Occurred". I use your Bedrockconnect server with my own DNS.
In my server console I see the connection:
06:19:02 Player connected: Playername, xuid: 123456789
06:19:13 Player disconnected: Playername, xuid: 123456789
Do you have any idea? Version is 1.14.60 for Server and switch. Other players with PS4, Android or PC can join my server without any problems.
Thank you!
Sorry, this isn't really an issue, but I heard there was a Discord for this. Is that true?
Just wondering
The server list doesn't show up when I join servers. When I join a server it says unable to connect to world and thats it. I noticed on http://nginx.org/ there was a new release today and I was wondering if that was involved. Me and my friends are trying to play on my server and haste in a response would be appreciated
I’ve been having problems connecting since last night. I was playing on my sever and then it seemed to go down. Was able to connect again and it connected just fine, but booted me a few minutes later.
After that I was no longer able to connect. I can’t remember the details beyond that from last night, but I’m still having issues this morning.
When trying to connect to a server list I get the message “unable to connect to world.”
A few times I’ve also received a “connection timed out” but usually it’s the first message without any clear error.
Hello,
On PS4 the Servers tab only say: "coming soon". I guess this is global and not just me seeing this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.