Comments (11)
Hi !
Not for now, but I will make it configurable on a next version.
from mcsleepingserverstarter.
to add to this, bedrock and Geyser run from UDP port, which I think is going to need npm-built-in dgram, or dgramx. I've started on the code a little bit. @vincss do you have any code/branch that needs pushed for this feature? I'll gladly help you get it out.
from mcsleepingserverstarter.
@d1ddle you can edit geyser config to use the same port as java. Just remember to set the port on the client as well.
from mcsleepingserverstarter.
Not for now, I was thinking to pass the code to typescript before any further modification.
I don't know if minecraft-protocol handle the UDP packet that you are talking about. https://github.com/PrismarineJS/node-minecraft-protocol
I never played with Geyser & Bedrock.
I'm a bit curious, where do you hear about this app ? For about a week there is more activity around it.
from mcsleepingserverstarter.
Thanks for the replies!
Ah, @octoshrimpy, that would be ok on PC Bedrock, however I'm currently playing in conjunction to Xbox (on the same network). When Geyser is hosted on the same network, it shows up as a LAN game, but this only happens when a Java player has already connected and booted up the server. So when the server is in sleeping mode, Bedrock clients can't find the server on LAN because of the port and protocol difference.
I have tried using Bedrock Connect https://github.com/Pugmatt/BedrockConnect and it has worked great in the past in conjunction with Geyser, however right now I'm not sure what the DNS Servers are doing as I can't connect at all (USA or UK.). Bedrock Connect is just a DNS server you manually set so that you can connect to your own IP addresses from console Bedrock.
So my easiest options as of now, are:
A: Have a separate Geyser instance constantly running instead of the plugin version so that Bedrock players can connect via the proxy and to SSS which would then wake the server - (Geyser is a proxy - and redirects/translates packets from Bedrock-Java - and have Geyser redirect Bedrock packets to port 25565 as Octo said, it would wake SSS and start the server)
B: Set up my own DNS server with Bedrock Connect and use it via Xbox (which I'm not too keen on doing)
C: Debug and fix the public Bedrock Connect DNS issue I have
D: Make one SSS instance listen on 19132 TCP-UDP and 25565 TCP (Unlikely...? May take some rewrites? This would be the most convenient for me but I understand it might not be for you guys who actually have to re-write the program LMAO)
E: Make another instance of SSS listen on 19132 TCP-UDP (Have 2 services running, one for each port? not sure if that would work for UDP protocol) - I'll try it
Idk, I'll mess around with it a bit
from mcsleepingserverstarter.
@d1ddle I have the same "symptom" with mobile bedrock. I've switched the ports on geyser and mobile client to 65, and sleepingServerStarter still doesn't see it, because the mc-protocol server is only listening to TCP. https://github.com/vincss/mcsleepingserverstarter/blob/ebf51b0591e138e2a274a1a1338c62dd7b7090b3/sleepingServerStarter.j
@vincss looks like bedrock isn't being worked in, nor is it currently supported. I've had this on my server for about 2 months now, so I'm not sure about the sudden influx.
--EDIT--
my ports are 65 outside, but they forward to internal 25565 ports inside a docker container
from mcsleepingserverstarter.
Maybe we can join on a Discord chat to discuss it :
https://discord.gg/nJbF6yBc
from mcsleepingserverstarter.
@vincss invite invalid.
from mcsleepingserverstarter.
Yes, it expired after 24 hours .
There is a new one :
https://discord.gg/auUBXE3X
from mcsleepingserverstarter.
I created a branch for bedrock compatibility if some of you want to give it a try :
https://github.com/vincss/mcsleepingserverstarter/tree/feature/mc_bedrock
With node 14 :
- git clone https://github.com/vincss/mcsleepingserverstarter.git
- git checkout feature/mc_bedrock
- npm i
- npm start
Or download the latest artefact from
https://github.com/vincss/mcsleepingserverstarter/actions/workflows/node.js.yml?query=branch%3Afeature%2Fmc_bedrock
from mcsleepingserverstarter.
I merged the branch and made a new release :
https://github.com/vincss/mcsleepingserverstarter/releases/tag/v1.16.5
from mcsleepingserverstarter.
Related Issues (20)
- Help with setting up mcsleepingserverstarter and Velocity HOT 1
- is it compatible with alpine linux? HOT 2
- Error starting up from Vanilla client, joinable through Modded clients HOT 4
- Please add more "time to kill" the console HOT 3
- Immediate start HOT 2
- [Question] What does the Discord WebHook do? HOT 1
- Getting many errors HOT 5
- Recognizes ping but no connection request HOT 4
- I keep getting "Address already in use" error when trying to start. HOT 2
- Uninstalling the program HOT 3
- When I type "npm start" in command prompt, it wipes my config data. HOT 1
- [Request] Pterodactyl Forge Support HOT 2
- Failed to decode: Not a map: null null HOT 2
- cant change picture HOT 1
- Module "@jsprismarine" missing HOT 6
- 1.20.4+ support HOT 3
- When I try to join server it just disconnects me HOT 2
- Running NPM start gives autoToHTML export error from MOTD-parser HOT 2
- Cant Edit Ram settings HOT 1
- Getting peeks from random ip-adresses? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcsleepingserverstarter.