jhead / phantom Goto Github PK
View Code? Open in Web Editor NEWUse your own Minecraft server with your Xbox or PS4 and play with friends!
License: MIT License
Use your own Minecraft server with your Xbox or PS4 and play with friends!
License: MIT License
I am trying to connect to a server that I want to mount with plugins using PS4. The server is Nukkit type, the map cannot be downloaded and disconnected. Not even the message that a player wants to connect appears on the server console. The Nukiit server is for version 1.14
https://nukkitx.com
the servers keep loading permanentley and they give the error of: unable to conect to world, connection timed out
I want to host 3 servers for my kids. All three servers have different port setting but run on the same machine with the same ip.
First Server:
Default settings and is shown in LAN
No phantom used
Second Server:
Phantom works without problems
Server is shown in LAN
Third Server:
Phantom gives theses error:
Starting up with remote server IP: 192.168.178.46:19140
INFO: 2019/12/21 10:49:20 proxy.go:84: Binding ping server to: 0.0.0.0:19132
Failed to start server: listen udp 0.0.0.0:19132: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
It seems like I can only use one instance of phantom at a time.
In attempting to run phantom inside of docker on OSX (which does not have --net=host capabilities), not being able to specify a bind port which can be forwarded to the host prevents the application from running properly. Looking at the commit history, it appears that the static bind port functionality was removed in favor of a randomly generated port to provide for allowing multiple instances to run at once.
Hi this isn't an issue but more of a request I was wondering if it was possible for you guys to make a video on how to set up phantom I'm not sure how to use it. Sorry for sounding like this I'm just super lost as all of this is new to me, I tried to read the usage section but am still super lost
It's possible to get compatible with nukkit ?
https://github.com/NukkitX/Nukkit
Would it be possible to support multiple servers? Each on it's own port perhaps?
Right now, due to the other bug, I can't test multiple instances of phantom.
Side note: I'd suggest a different name. bedrockproxy? mcpeproxy? mcbproxy?
Seems to work well, thanks!
I'm having issues using this and would love some help!
No matter what I do I am getting a "Unable to connect to world" error. The server does always show up on the client, but it always fails to connect after a few seconds. Is there some logs I can access to figure out what is up?
My setup:
Bedrock server running on AWS Ubuntu instance. Version 1.12.1.1
I've tried clients on Xbox One and iOS 13
I've tried running Phantom on Mac or Raspberry Pi
I've tried in two different home networks
Players on Win10 and iOS can join the server successfully when they add the server directly but not through LAN.
Here is the print out of Phantom
./phantom-linux-arm7 -server minecraft.xxx.com:19132 Starting up with remote server IP: minecraft.xxx.com:19132 INFO: 2019/09/27 05:47:39 proxy.go:81: Binding ping server to: 0.0.0.0:19132 INFO: 2019/09/27 05:47:39 proxy.go:90: Binding proxy server to: 0.0.0.0:50878 INFO: 2019/09/27 05:47:39 proxy.go:97: Proxy server listening! INFO: 2019/09/27 05:47:39 proxy.go:244: Starting idle connection handler INFO: 2019/09/27 05:47:40 proxy.go:201: Opening connection to xxx.xxx.xxx.xxx:19132 for new client 192.168.1.19:53826! INFO: 2019/09/27 05:47:40 proxy.go:216: Opening connection to xxx.xxx.xxx.xxx:19132 INFO: 2019/09/27 05:48:04 proxy.go:201: Opening connection to xxx.xxx.xxx.xxx:19132 for new client 192.168.1.19:55657! INFO: 2019/09/27 05:48:04 proxy.go:216: Opening connection to xxx.xxx.xxx.xxx:19132 INFO: 2019/09/27 05:48:59 proxy.go:251: Cleaning up idle connection: 192.168.1.19:53826 read udp 192.168.1.10:57358->xxx.xxx.xxx.xxx:19132: use of closed network connection
Would love any help you could offer!
Can you make it work on a 32 BIT PC
My friends and I are trying to use phantom so we can play on a server, but he gets disconnected after a while and has to reenter the command. Any solution or am I missing something? Or is it just a bug?
I have a local bedrock server (running on a linux server via docker). I can connect to it from my PC by typing in the local IP address of the server, but it does not show up as a LAN game, and thus I cannot connect to it from my xbox. I am fairly confident that phantom would solve this issue, but I feel like I should be able to get it working without phantom.
Sorry if this is off-topic, but this community seems more knowledgeable about bedrock servers than others.
I have a problem, i do connect to the server via phantom but
when i'am playing the xbox suddenly frezzes and shuts down alone.
Why migth this be happening?
and thanks for the the program.
I know what the problem is, but I have an issue.
I accidentally pressed "no" to the firewall access, and I don't know how to enable it in the control panel firewall because I don't know what it was called. It still says my client (xbox) is connected, but it doesnt show the ping handler or the server in my friend's list.
Starting up with remote server IP: ---
INFO: 2020/01/29 00:34:36 proxy.go:75: Binding ping server to:----
INFO: 2020/01/29 00:34:36 clientmap.go:66: Starting idle connection handler
INFO: 2020/01/29 00:34:36 proxy.go:84: Binding proxy server to: ---
INFO: 2020/01/29 00:34:36 proxy.go:91: Proxy server listening!
INFO: 2020/01/29 00:34:36 clientmap.go:109: Opening connection to ---- for new client ----!
INFO: 2020/01/29 00:34:36 clientmap.go:128: Opening connection to ------
I removed the IPs from this section but this is all it displayed in case its another problem.
When I try to start phantom I get this:
C:\Users\colli\Downloads>phantom 139.99.197.26:19132
Starting up with remote server IP: 139.99.197.26:19132
INFO: 2019/03/13 17:43:02 proxy.go:60: Binding proxy server to: 0.0.0.0:19132
INFO: 2019/03/13 17:43:02 proxy.go:71: Proxy server listening!
INFO: 2019/03/13 17:43:02 proxy.go:209: Starting idle connection handler
INFO: 2019/03/13 17:43:02 proxy.go:192: Starting ping handler
It then just stays there. Any ideas?
Could you add DNS as well as IP address. I'm using Azure as a host and the IP will change overtime so its easier to use a DDNS entry directly.
I'm on macOS and on terminal. whenever i put the "phantommacos.dms" thing into terminal and i press enter. it says permissions denied.
Hey I've been looking to create something similar to this, but didn't come around to it yet.
Simple tool, works good and is exactly what some have been looking for. Thanks alot!
So I don't think this should get very much more complicated. A few things to add in the future would be:
Phantom is cleaning up an idle connection that is not idle causing me to get kicked shortly after joining ~40 seconds.
This is the newest version after the ClientMap update.
Is it possible to change the display name from Remote Server to a customer name. I have a couple of services running and remembering the difference is tricky,
I do not own an XBOX, this was the result of guiding a friend through the process.
v0.2.0:
Reads the number of maximum players correctly.
Throws an "unable to connect" message when trying to use it.
v0.1.0:
Reads an incorrect number of maximum players.
Connects flawlessly.
I currently have an older box that I just got an Ubuntu 18.04 install going on with NukkitX Minecraft PE server. I'd like to setup this proxy i the hopes that it makes it easier for my kids to join the server. Currently, no matter what tweaks I make to the Makefile I can't get it to build on the i386 architecture. I have Go installed and make. Seems like this should build.
Hi everyone!
In my opinion it would be a great feature to be able to set the proxy port (optionally). I installed phantom on a linux server at home, but it is hard to open port on firewall because it is random for proxy.
What do you think, @jhead , is it possible to implement this feature?
Thanks
I am following the instructions but it is not working, the ip and port are not wrong
https://gyazo.com/48de36c91f200f79e9bece69ed247033
help is appreciated
Placeholder for work on a UI
I'm trying to run phantom on my old Windows 7 laptop to allow my Xbox one Minecraft to connect to a remote server hosted at Aternos : https://aternos.org/server/
Attached the output from the command prompt which looks ok as far as I can tell? But I don't see anything within the Minecraft app on Xbox, there is nothing in the friends section and my servers section just shows the 5 featured servers.
Should it be working on Windows 7?
Whenever I try to use it, it doesn't work. I drag the EXE file into a cmd, add a space and paste the server info but nothing happens. Am I doing something wrong?
panic: runtime error: slice bounds out of range
goroutine 34 [running]:
github.com/jhead/phantom/internal/proxy.(*ProxyServer).processDataFromServer(0xc000092000, 0xc0000e4000, 0x53ee60, 0xc0000b8030)
/Users/justin/dev/phantom/internal/proxy/proxy.go:254 +0x48f
created by github.com/jhead/phantom/internal/proxy.getServerConnection
/Users/justin/dev/phantom/internal/proxy/proxy.go:213 +0x280
I created 2 additional virtual lans and running 3 instances
phantom -server 1.2.3.4:19132 -bind 1.0.0.0:19132
phantom -server 1.2.3.4:19133 -bind 1.0.0.1:19133
phantom -server 1.2.3.4:19134 -bind 1.0.0.2:19134
It's getting stuck at Starting idle connection handler
Apparently the -bind option is not working.
Sorry for creating an issue for my question. Sub Reddit was archived.
Will this work on a old 1st gen Raspberry Pi B? I have a couple of those laying around, would be great to just set up at friends’ house for them to join from Xbox.
With bedrock finally coming to PS4 I decided to test and see if this tool worked on PS4. After setting it up it worked. I didn't need to change anything.
Can this be updated to run as a services rather than a console app.
Placeholder for investigation into offering a native mobile app on iOS and Android
So the server appears in LAN games on my phone, but I can't connect to it. Specifically, it gives me an "unable to connect to server" error message. Now I'm just doing this for testing purposes as I don't have an Xbox, but I'm setting this up for someone else who does.
(Edit is because I fixed my original problem)
So forgive me as I am not a command prompt master like most of you are but how do I enter the correct ip address for my server? My son is wanting me to set up a server for him and I have spent like 2 hours try to get this to work. I have dragged and dropped it into the command prompt and hit enter but it doesn't let me edit the ip.
This is more of a question than a statement; I think I misunderstood what this program does; I thought it could allow me to use my server with my friend on an Xbox without being on the same network, like a server, but the Xbox sees it as a LAN. Is it saying I can use it just as a LAN on the same WiFi, rather than an external server?
The code gives me a usage() message and exits. I suspect this is incorrect:
if len(os.Args) != 2 {
example:
$ ./phantom-linux -bind 0.0.0.0:19135 1.2.3.4:19132
Usage: ./phantom-linux <server-ip>
Options:
-bind string
Bind address and port (default "0.0.0.0:19132")
I have 2 server running on the same remote server but on different ports. It seems that Phantom only works on port 19132. If i use port 19134 it does not show up.
I'm trying to use this on my mac and all I see when I open the file is a bunch of random characters. Can you please add instructions. Thanks. (:
Hi, so I am currently trying too join a pro server but this keeps coming up saying unable too join, but when I join a basic server it connects fine.
just why?
Hi, so I'm trying to use phantom to make my server show up as a lan so people watching my stream can connect to it, but when I try to do it I get this error.
https://imgur.com/a/tIwBWkP
i keep getting the server to star at idle connection handler and wont go further.
Starting up with remote server IP: ********:41199
INFO: 2019/07/27 ******** proxy.go:60: Binding proxy server to: 0.0.0.0:19132
INFO: 2019/07/27 ******** proxy.go:71: Proxy server listening!
INFO: 2019/07/27 ******** proxy.go:192: Starting ping handler
INFO: 2019/07/27 ******** proxy.go:209: Starting idle connection handler
I want to say a massive thanks for this project and the amount of time and effort you have spent te improve its quality of life so as i wondering is PS4 supported and if not is there any plans i see in the readme it says its not but for some reason i kind of believe it does
I cannot get phantom to work, I run off Mac but anytime I put in ./phantom-macos it says command not found, I've already done the chmod file but still nothing
The issue is when I'm on my Xbox the server shows up for a second, but than disappears. The request is if it is possible could you had switch support, on switch the server dosent even show up.
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.