Giter Site home page Giter Site logo

pugmatt / bedrockconnect Goto Github PK

View Code? Open in Web Editor NEW
1.3K 43.0 152.0 16.48 MB

Join any Minecraft Bedrock Edition server IP on Xbox One, Nintendo Switch, and PS4/PS5

License: GNU General Public License v3.0

Java 94.92% Dockerfile 0.84% Shell 4.23%
dns java minecraft bedrock bedrock-edition

bedrockconnect's People

Contributors

ashanrath avatar camotoy avatar crafterpika avatar dependabot[bot] avatar fullpwn avatar geraltofflorida avatar hasankayra04 avatar htobi02 avatar jacobvd0 avatar jdextraze avatar jermafenser avatar jrcarl624 avatar keltek avatar kmpoppe avatar kore-development avatar kumdzio avatar kurtthiemann avatar lazybirb avatar loud2pro avatar marcproe avatar nerrog avatar pugmatt avatar rhld16 avatar ronnierap avatar rsereno avatar suprememortal avatar technoguyfication avatar thekrafter avatar turtley12 avatar xtitusmaximusx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bedrockconnect's Issues

Server list always showing up

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

[Feature request]

Add custom servers to list for all players using some config file... Usefull for server owners.

Unable to connect to server after removing it from the server list and adding it again

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.

Argumments handling

This doesnt seems correct for me...

if (str.startsWith("nodb=")) {
noDB = true;
}

What about nodb=false argument?

Invalid IP

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.

[question] /transfer

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.

Unable to join serverlist server

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

runtime_block_states.dat in wrong place

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

No serverlist is shown, world is empty

Today the public BedrockConnect server stopped working.

Players can succesfully enter the public BedrockConnect server using the public DNS as mentioned in the Readme. They however cannot join any server, as the serverlist popup is not showing up.

image

Cant setup DNS correctly

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

New DNS entry for Hive

Looks like there is an additional DNS entry for Hive - geo.hivebedrock.network

Thanks for the work on this, this is awesome!

Serverlist not showing after changing DNS [Switch] [1.14.1]

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.

Not connecting at all

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

Updates?

When is it gonna start working again

IPv6 Address

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?

Broken with v1.13.0

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

BedrockConnect serverlist server not up to date ?

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 ?

[idea, if possible] intercept player connecting to multiplayer world.

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.

Switch bedrock

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?

Intermittent Issues When Connecting To Any Servers in Server LIST

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.

Dns not working

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

public BedrockConnect serverlist server down?

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.

IPv6 and Xbox

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.

Command Line Option for Listen IP

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.

Question about public DNS

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?

Not connecting to server list

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...

Unknown initial character set index '255' received from server

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.

Broken from v1.14.60

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

Connection to server times out

Hello. No matter what I choose it says connection to server times out. This is the screen right before I select saved server

BedrockConnect update for 1.16

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?

When to use 104.238.130.180 and when to use a Local IP address

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.

Switch Game Version after joining the server

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!

Discord server?

Sorry, this isn't really an issue, but I heard there was a Discord for this. Is that true?

Server list down.

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

Unable to connect to world. (Server list)

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.

PS4 and BedrockConnect

Hello,

On PS4 the Servers tab only say: "coming soon". I guess this is global and not just me seeing this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.