planetarymotion Posted June 27, 2020 Share Posted June 27, 2020 15 minutes ago, jj_uk said: I too cannot find server.properties. I installed the container for the first time a few hrs ago FWIW, my server.properties file was missing during my first installation of the container as well. I manually created the file in \appdata\binhex-minecraftbedrockserver\minecraft using the default settings from the Minecraft Wiki and I was off to the races. https://minecraft.gamepedia.com/Server.properties Quote Link to comment
jj_uk Posted June 27, 2020 Share Posted June 27, 2020 Great. I've done that and it's up and running. Is it possible to have multiple levels on the same server? Quote Link to comment
althe3rd Posted June 27, 2020 Share Posted June 27, 2020 Yea it appears the container isn't properly creating the directory/file but you can manually generate them. Something to fix in the dockerfile? Quote Link to comment
jj_uk Posted June 27, 2020 Share Posted June 27, 2020 (edited) https://github.com/Pugmatt/BedrockConnect On page 4, there was talk of setting up a docker to run a local DNS server for this. Would this allow xbox users that are outside of my LAN to input my WAN IP into minecraft and then connect to the bedrock server? Edited June 27, 2020 by jj_uk Quote Link to comment
Bentunit Posted June 27, 2020 Share Posted June 27, 2020 (edited) 2 hours ago, jj_uk said: Great. I've done that and it's up and running. Is it possible to have multiple levels on the same server? You can have multiple levels on the same sever but they won't be accessible at the same time. You would have to change the server.properties to match the level you wanted to play. You can have multiple Minecraft dockers running and with proper port forwarding you can have multiple levels assessible at the same time. There was some talk about doing this early in this thread. I have not done this so I cannot offer specifics. Found this Edited June 27, 2020 by Bentunit Quote Link to comment
binhex Posted June 27, 2020 Author Share Posted June 27, 2020 3 hours ago, planetarymotion said: FWIW, my server.properties file was missing during my first installation of the container as well. hmm odd, i just tested this and the server.properties file is created for me on fresh install. Quote Link to comment
planetarymotion Posted June 27, 2020 Share Posted June 27, 2020 (edited) 31 minutes ago, binhex said: hmm odd, i just tested this and the server.properties file is created for me on fresh install. I created a second "TEST" container pulling from CA. Same result as the first time. However, when it was initializing it didn't have to pull the docker container contents again which I assume has to do with that fact that I already have an instance of the container on my server. I am wondering if a truly fresh install (which I would assume means removing previous docker images and appdata?) would create the server.properties. But, from what it sounds like, this shouldn't have happened in the first place anyway. Edited June 27, 2020 by planetarymotion Quote Link to comment
binhex Posted June 27, 2020 Author Share Posted June 27, 2020 (edited) 9 minutes ago, planetarymotion said: However, when it was initializing it didn't have to pull the docker container contents again which I assume has to do with that fact that I already have an instance of the container on my server. its not the container, its the image, and yes this is normal. 9 minutes ago, planetarymotion said: I am wondering if a truly fresh install (which I would assume mean removing previous docker images and appdata?) would create the server.properties. But, from what it sounds like, this shouldn't have happened in the first place anyway. no you dont need to do this, as long as the image is up to date (click on force update to confirm), then changing the /config folder will force a fresh install to occur. SCRUB THAT - tried it a third time and this time it did not create the server.properties file, so looks like its random, i will take a look. i see you are on a mac using 'finder', i wonder if finder is hiding .properties files for some reason perhaps, thats all i can conclude right now as it just works on my system,. one thing you can do to confirm the file exists (or not) is left click the icon and select 'console' for the container and then type the following and paste the output:- ls -al /config/minecraft Edited June 27, 2020 by binhex Quote Link to comment
binhex Posted June 27, 2020 Author Share Posted June 27, 2020 i see the problem and i have a fix that im testing, if all goes well then expect a new image in around 40 mins. Quote Link to comment
jj_uk Posted June 27, 2020 Share Posted June 27, 2020 The fix will only affect new installs, right? Quote Link to comment
planetarymotion Posted June 27, 2020 Share Posted June 27, 2020 37 minutes ago, binhex said: SCRUB THAT - tried it a third time and this time it did not create the server.properties file, so looks like its random, i will take a look. Sounds good. I created another instance and opened the /config in Krusader with no luck. 3 minutes ago, binhex said: i see the problem and i have a fix that im testing, if all goes well then expect a new image in around 40 mins. Awesome! 2 minutes ago, jj_uk said: The fix will only affect new installs, right? If you are still missing the server.properties file, you could manually create it. This is what I did the first time. 5 hours ago, planetarymotion said: FWIW, my server.properties file was missing during my first installation of the container as well. I manually created the file in \appdata\binhex-minecraftbedrockserver\minecraft using the default settings from the Minecraft Wiki and I was off to the races. https://minecraft.gamepedia.com/Server.properties Quote Link to comment
jj_uk Posted June 27, 2020 Share Posted June 27, 2020 Ok. I manually created the file and it's all running locally.Now I need to use BedrockConnect to allow external Xboxs to connect to my MC server; but I don't really trust a random dns server and I expect it would be less latency if it was running locally.So any chance of a docker running https://github.com/Pugmatt/BedrockConnect dns server? Quote Link to comment
binhex Posted June 27, 2020 Author Share Posted June 27, 2020 18 minutes ago, jj_uk said: The fix will only affect new installs, right? it will only create the server.properties file it it doesnt exist, it will not overwrite an existing one. Quote Link to comment
binhex Posted June 27, 2020 Author Share Posted June 27, 2020 28 minutes ago, jj_uk said: Now I need to use BedrockConnect to allow external Xboxs to connect to my MC server; but I don't really trust a random dns server and I expect it would be less latency if it was running locally. my advise, use phantom instead, get the remote users to install phantom and configure it to point at your minecraft bedrock server's external ip and port (assumig port forwarding has been done on your router). link to phantom:- https://github.com/jhead/phantom/releases/tag/v0.5.1 Quote Link to comment
jj_uk Posted June 27, 2020 Share Posted June 27, 2020 They're kids using xboxes. I'd need to give them all raspberry pi's and have them connect to that. And explain to the parents why I'm giving their child a device that wants internet access ... A docker on my server would be better. I found this, but I've no idea how to run a docker on unraid, I've always used the apps tab: https://github.com/Pugmatt/BedrockConnect/blob/master/docker/README.md Quote Link to comment
binhex Posted June 27, 2020 Author Share Posted June 27, 2020 (edited) 3 minutes ago, jj_uk said: They're kids using xboxes. I'd need to give them all raspberry pi's and have them connect to that. And explain to the parents why I'm giving tgeir child a device that wants internet access ... alternatively download phantom (single exe) get them to run it on a pc running windows and you are good, sounds easier to me than dns redirection or any of that funky stuff - keep in mind any solution will need to run on the remote users lan (not your lan), there is no way around this. Edited June 27, 2020 by binhex Quote Link to comment
jj_uk Posted June 27, 2020 Share Posted June 27, 2020 I thought the BedrockConnect DNS server runs on my hardware and the xbox users changes their DNS lookup settings to point to my WAN IP address, which is then forwarded to the BedrockConnect DNS? Quote Link to comment
binhex Posted June 27, 2020 Author Share Posted June 27, 2020 5 minutes ago, jj_uk said: I thought the BedrockConnect DNS server runs on my hardware and the xbox users changes their DNS lookup settings to point to my WAN IP address, which is then forwarded to the BedrockConnect DNS? ive got no idea how bedrockconnect works, but even it its changing dns for the xbox that is going to be non trivial for kids, and of course will need changing back if your name server goes down, phantom requires no changes to any networking, your choice at the end of the day but i know what i would choose. Quote Link to comment
jj_uk Posted June 27, 2020 Share Posted June 27, 2020 (edited) 6 hours ago, Bentunit said: You can have multiple levels on the same sever but they won't be accessible at the same time. You would have to change the server.properties to match the level you wanted to play. You can have multiple Minecraft dockers running and with proper port forwarding you can have multiple levels assessible at the same time. There was some talk about doing this early in this thread. I have not done this so I cannot offer specifics. Found this I dont think it will work because AFAIK, minecraft expects servers to be on port 19132, and there can only be one server running on that port at a time. Edited June 27, 2020 by jj_uk Quote Link to comment
binhex Posted June 29, 2020 Author Share Posted June 29, 2020 On 6/28/2020 at 12:11 AM, jj_uk said: I dont think it will work because AFAIK, minecraft expects servers to be on port 19132, and there can only be one server running on that port at a time. this is no doubt true for xbox, but for anybody running minecraft bedrock on windows i THINK you can define the port of the server you connect to (correct me if im wrong here guys)/ Quote Link to comment
ich777 Posted June 29, 2020 Share Posted June 29, 2020 1 hour ago, binhex said: this is no doubt true for xbox, but for anybody running minecraft bedrock on windows i THINK you can define the port of the server you connect to (correct me if im wrong here guys)/ Yes, you can specify a port on Windows and also an Android. EDIT: @jj_uk and it should be also possible to enter a port if you are connecting with BedrockConnect DNS Or what is the question here? You can run BedrockConnect DNS on your hardware but there are also servers that you can use, they just forward you to your server. 1 Quote Link to comment
jj_uk Posted June 29, 2020 Share Posted June 29, 2020 I have the xbox working with the bedrockconnect DNS. Yes. You can enter a port on xbox. I'll create a few instances of this docker on different ports and see it'll work. Hopefully LAN games on minecraft searches all ports as I can't see where that can be changed (android). Quote Link to comment
binhex Posted June 29, 2020 Author Share Posted June 29, 2020 (edited) 18 minutes ago, jj_uk said: Hopefully LAN games on minecraft searches all ports as I can't see where that can be changed (android). you can def define the port for minecraft pe (android), go to play/servers tab and then click add server and enter in the details including the port, this is what i personally use when outside my lan and it works great! (it also works inside my lan via port reflection). Edited June 29, 2020 by binhex Quote Link to comment
ich777 Posted June 29, 2020 Share Posted June 29, 2020 39 minutes ago, jj_uk said: I have the xbox working with the bedrockconnect DNS. Yes. You can enter a port on xbox. I'll create a few instances of this docker on different ports and see it'll work. Hopefully LAN games on minecraft searches all ports as I can't see where that can be changed (android). Here is a screenshot from android when you add a server: I can tell you that this works if you create multiple instances (tested this with another container but not with yours @binhex but should also be no problem. ) EDIT: I think you are talking of the 2nd tab within minecraft. In the 3rd tab on the bottom you can add custom servers. 1 Quote Link to comment
PeteAsking Posted July 5, 2020 Share Posted July 5, 2020 On 6/3/2020 at 6:49 AM, binhex said: ive enhanced this image, it now logs the minecraft console to /config/minecraft/logs/screen.log i have also included an automated backup system and purge of older backups, if not defined via env var it will be set to:- CREATE_BACKUP_HOURS=12 # number of hours between subsequent backups of worlds folder PURGE_BACKUP_DAYS=14 # purge backups older than this number of days backups will reside in /config/minecraft/backups/ Can I check how to edit the schedule? i added via the gui variables and guessed how to do it. In the xml it appears as such: <Variable> <Value>12</Value> <Name>CREATE_BACKUP_HOURS</Name> <Mode/> </Variable> <Variable> <Value>7</Value> <Name>PURGE_BACKUP_DAYS</Name> <Mode/> </Variable> Th GUI I set key as the description and value as the integer. Is that right? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.