Comments (7)
Yes, I could do this. Only reason why I didn't add this at first is because the local IP can occasionally change, but I'll add the option for people who know what they're doing.
from bedrockconnect.
My use case is that I want to run it in docker on a rasbpi... This was the first issue I ran into.
from bedrockconnect.
I just realized that there is no ip input if you omit generatedns
. I don't need that, since I have my own DNS, so I have it now running on my Raspberry Pi in Docker.
Here's the Dockerfile
, for anyone interessted.
FROM hypriot/rpi-java
RUN mkdir /brc
COPY BedrockConnect-1.0-SNAPSHOT.jar /brc
WORKDIR /brc
EXPOSE 19132/udp
CMD ["java", "-Xms1G", "-Xmx1G", "-jar", "BedrockConnect-1.0-SNAPSHOT.jar", "nodb=true"]
Build it:
docker build -t bedrock-connect .
Docker command line:
docker run --name "bedrock-c" -d --restart always -p 19132:19132/udp bedrock-connect
from bedrockconnect.
Ah okay, I didn't realize you were trying to do a solution outside of the video tutorial. The generatedns is done specifically for the DNS software used in the video tutorial I have for setting BedrockConnect locally, so in cases like yours where you already have a different DNS software, it would not be required. Glad to see you got it working!
from bedrockconnect.
@MarcProe I was working on the same container setup today today. If you set it to nodb, it's supposed to save the serverlist to a file. Have you figured out a way to make that persistent in the container with a volume?
from bedrockconnect.
@cjr222 yes.
Change the mkdir
command in the Dockerfile above to
RUN mkdir -p /brc/players
and mount that directory as volume:
docker run --name "bedrock-c" -d --restart always -v /opt/bedrockconnect/:/brc/players -p 19132:19132/udp bedrock-connect
This will store the "nodb" files in /opt/bedrockconnect
(create it first)
from bedrockconnect.
Ah okay, I didn't realize you were trying to do a solution outside of the video tutorial.
Yes, sorry for the confusion.
This issue is a little bit derailed now, feel free to just close it unless you intend to implement the static ip swich nevertheless (I don't think it is needed).
Thanks for your great work! Now my son, his friend and the dads can play on one server using a Switch, a PS4 and two Laptops.
from bedrockconnect.
Related Issues (20)
- No server prompt choice when joining HOT 14
- BedrockConnect Setup HOT 23
- ps5 player data HOT 2
- New Bedrock Version 1.20.61.01 has been published!
- How to hide the default server HOT 4
- Are you looking for partnerships? HOT 1
- New Bedrock Version 1.20.62.02 has been published!
- New Bedrock Version 1.20.62.03 has been published!
- New Bedrock Version 1.20.70.05 has been published!
- New Bedrock Version 1.20.71.01 has been published!
- Public DNS Server List redirecting back to iteself, not intended server IP (SOLVED) HOT 2
- New Bedrock Version 1.20.72.01 has been published!
- Help w/ troubleshooting HOT 5
- help investigating high traffic / ddos alert HOT 3
- New Bedrock Version 1.20.73.01 has been published!
- New version has increased the number of packets HOT 1
- New Bedrock Version 1.20.80.05 has been published!
- New Bedrock Version 1.20.81.01 has been published!
- Language file does not apply HOT 1
- Bedrock Connection Started: 0.0.0.0:19132 But cannot see it running HOT 3
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 bedrockconnect.