[Support] binhex - MinecraftBedrockServer


Recommended Posts

5 hours ago, trurl said:

You can always get to the command line in any of your dockers by simply clicking on its icon on the Dashboard or Docker page and selecting >_ Console.

I can get there no problem, is there a way to attach to the bedrock_server application that is running to issue the /permissions reload?

 

Edit: I should state I am trying to add myself to the operator group, I have edited the permissions.json. I tried restarting the container, but it doesn't seem like it is loading.

 

Edit2: I just realized the permissions were working, I just didn't know the limitations of the this version of minecraft.

Edited by EliteTech
Link to comment

good day to all.  
would anyone be able to walk me through how i can run both a creative and survival server at the same time for the binhex-minecraftbedrockserver docker?

 

ive got the creative server figured out...and what I was assuming is that I could just add a new container, duplicate the binhex-minecraftbedrockserver and change the 2 sets of ports to my liking (19134 & 19135).   When I look at the logs it says the server has started, yet my kids iPads don’t pick it up.

 

appreciate your time and efforts

Edited by Dirty Goats
Link to comment
On 12/15/2019 at 5:14 PM, Dirty Goats said:

good day to all.  
would anyone be able to walk me through how i can run both a creative and survival server at the same time for the binhex-minecraftbedrockserver docker?

 

ive got the creative server figured out...and what I was assuming is that I could just add a new container, duplicate the binhex-minecraftbedrockserver and change the 2 sets of ports to my liking (19134 & 19135).   When I look at the logs it says the server has started, yet my kids iPads don’t pick it up.

 

appreciate your time and efforts

so at present majong does not allow you to run more than one 'world' for any given minecraft bedrock server, so for now the only way to have more than one world running at the same time is to create a second container,


just make sure the host port (not the container port, dont change this) for the second container is different to the first container, then you would need to specify the custom port in order to connect to the second server, im assuming you can do this on xbox one, but ive not tested it, you certainly can do this with Minecraft PE.

 

Quote

When I look at the logs it says the server has started, yet my kids iPads don’t pick it up.

does the apple version of minecraft allow you to specify the port to connect to?

Edited by binhex
Link to comment
1 minute ago, Dirty Goats said:

Where I went wrong was updating the server json files ip4 and ip6 numbers.  It looks like those need to remain the same as the container ports.

yep container side ports (and application ports) should always be left untouched, port manipulation is host side only, glad you got it working :-)

Link to comment
  • 3 weeks later...
On 11/19/2019 at 7:36 AM, binhex said:

if you setup a port forward on your router for the minecraft server then external minecraft clients will be also able to connect to it, the exception to this is xbox one, which will only connect to the minecraft server on the same lan, there is to my knowledge no way around this, short of paying for a 'realm', as you cannnot add external ip addresses to the minecraft server list on the xbox one version of minecraft.

Check out BedrockConnect, you can connect Xbox Minecraft to a custom server by using DNS manipulation 

 

Link to comment

There isn't much to getting a world loaded.
I change the server.properties > level-name=Midgard
I have the Midgard Folder in the worlds folder.
The Log shows the level as Midgard
but when I login to the server all that loads is a small single island

 

2020-01-10 17:13:33.494987 [info] System information Linux 8f9409cbfca4 4.19.73-Unraid #1 SMP Thu Oct 3 20:57:25 BST 2019 x86_64 GNU/Linux
2020-01-10 17:13:33.520044 [info] PUID defined as '99'
2020-01-10 17:13:33.546832 [info] PGID defined as '100'
2020-01-10 17:13:33.707394 [info] UMASK defined as '000'
2020-01-10 17:13:33.732234 [info] Permissions already set for volume mappings
2020-01-10 17:13:33.760084 [info] Deleting files in /tmp (non recursive)...
2020-01-10 17:13:33.782863 [info] Starting Supervisor...
2020-01-10 17:13:33,927 INFO Included extra file "/etc/supervisor/conf.d/minecraft-bedrock-server.conf" during parsing
2020-01-10 17:13:33,927 INFO Set uid to user 0 succeeded
2020-01-10 17:13:33,929 INFO supervisord started with pid 6
2020-01-10 17:13:34,931 INFO spawned: 'minecraft-bedrock-server' with pid 50
2020-01-10 17:13:34,931 INFO reaped unknown pid 7
2020-01-10 17:13:34,937 DEBG 'minecraft-bedrock-server' stdout output:
[info] Minecraft folder '/config/minecraft' already exists, rsyncing newer files...

2020-01-10 17:13:35,938 INFO success: minecraft-bedrock-server entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020-01-10 17:13:36,507 DEBG 'minecraft-bedrock-server' stdout output:
[info] Starting Minecraft bedrock process...

2020-01-10 17:13:36,565 DEBG 'minecraft-bedrock-server' stdout output:
NO LOG FILE! - setting up server logging...

2020-01-10 17:13:36,565 DEBG 'minecraft-bedrock-server' stdout output:
[2020-01-10 17:13:36 INFO] Starting Server

2020-01-10 17:13:36,565 DEBG 'minecraft-bedrock-server' stdout output:
[2020-01-10 17:13:36 INFO] Version 1.14.1.4

[2020-01-10 17:13:36 INFO] Session ID d2831567-be3c-42a7-a627-2933e5a94e2a

2020-01-10 17:13:36,566 DEBG 'minecraft-bedrock-server' stdout output:
[2020-01-10 17:13:36 INFO] Level Name: Midgard

2020-01-10 17:13:36,567 DEBG 'minecraft-bedrock-server' stdout output:
[2020-01-10 17:13:36 INFO] Game mode: 0 Survival
[2020-01-10 17:13:36 INFO] Difficulty: 1 EASY

2020-01-10 17:13:39,152 DEBG 'minecraft-bedrock-server' stdout output:
[2020-01-10 17:13:39 INFO] IPv4 supported, port: 19132
[2020-01-10 17:13:39 INFO] IPv6 not supported

2020-01-10 17:13:39,162 DEBG 'minecraft-bedrock-server' stdout output:
[2020-01-10 17:13:39 INFO] IPv4 supported, port: 58741
[2020-01-10 17:13:39 INFO] IPv6 not supported

2020-01-10 17:13:40,493 DEBG 'minecraft-bedrock-server' stdout output:
[2020-01-10 17:13:40 INFO] Server started.

2020-01-10 17:13:40,493 DEBG 'minecraft-bedrock-server' stdout output:
[2020-01-10 17:13:40 INFO] Server started.

 

Link to comment
  • 1 month later...
1 hour ago, Wolfe1979 said:

but I keep seeing 1 thread maxed out at 100% and all the other threads very low.

apparently:-

'It's only able to utilize multiple threads for I/O and chunk generation. The main game tick is still done on one thread.' and thus you will have most of the load on a single thread.

Edited by binhex
Link to comment

ok thank you.   I was debating if i needed a faster processor and I think i will.   This is running on an IBM x3650 m3 with 1 intel xeon 5649 2.53ghz.  I think I will try upgrading the processer to a faster one to help out.   they are cheap now. I can get 2 x5680 3.33ghz for $85.   that should help with minecraft well.  Thank you for the info and it helped me decide what to do. 

Link to comment

I've got no external access.

I've got this server as x.x.x.61 and port forwarding is set correctly to this address.

I can access it on the network, but not outside.

 

I've also got mineOS on x.x.x.60 and port forwarding for that one is also set the same way. These are different ports than the above docker.

This one is accessible inside and outside of my network without any problems.

 

Because of that, I'm assuming everything is correctly setup except maybe something with this docker... I did nothing after using apps to install it at default settings.

Edited by oxideSeven
additional info
Link to comment
6 minutes ago, oxideSeven said:

I've got no external access.

I've got this server as x.x.x.61 and port forwarding is set correctly to this address.

I can access it on the network, but not outside.

 

I've also got mineOS on x.x.x.60 and port forwarding for that one is also set the same way. These are different ports than the above docker.

This one is accessible inside and outside of my network without any problems.

 

Because of that, I'm assuming everything is correctly setup except maybe something with this docker... I did nothing after using apps to install it at default settings.

If it runs correctly internally, then it's probably not the Docker...

 

Do you have UDP forwarded or just TCP?

Link to comment
8 minutes ago, BoxOfSnoo said:

You're gonna need to post a picture of your port forwarding setup, probably.

I can post something when I get home, but considering the port forwarding for the other server, and like 7 other things all work, I don't think that's the issue.

 

I'll get a screenshot in a few hours.

Link to comment
I can post something when I get home, but considering the port forwarding for the other server, and like 7 other things all work, I don't think that's the issue.
 
I'll get a screenshot in a few hours.
I can confirm the docker image is not the issue, I use this myself and can access internally and externally over the internet via Minecraft PE on my android phone.

Sent from my CLT-L09 using Tapatalk

Link to comment
4 minutes ago, binhex said:

I can confirm the docker image is not the issue, I use this myself and can access internally and externally over the internet via Minecraft PE on my android phone.

I'm more concerned about configuration of the docker. I agree that the docker image can't be the issue considering no one else is having a problem. There's clearly an issue somewhere that isn't my network though. That works. It works for an image added before and one added after also needing port forwarding.

 

There is a lot of talk about weird port forwarding issues with bedrock all over the internet though, but nothing I've found was a solution for me unfortunately.

 

If I install the docker image fully default with no other changes to any configs or anything included with it, it should work externally?

Link to comment
11 minutes ago, oxideSeven said:

If I install the docker image fully default with no other changes to any configs or anything included with it, it should work externally?

yes, as long as the port forwarding has been done on your router, make sure you port forward port 19132 for both tcp and udp, the ip address will of course be your unraid server.

 

couple of questions, what client are you trying to connect with and how are you connecting externally - mobile data or public wifi?

 

note:- if you do try and connect using minecraft pe then you wil need to go into settings to allow it to connect over 3G/4G/5G (assuming that is how you are connecting).

Link to comment
6 minutes ago, binhex said:

yes, as long...

...connect over 3G/4G/5G (assuming that is how you are connecting).

I've used mobile, another computer at another house, and I've checked with port detector sites (some people recommended a site that would declare refused if set up correctly instead of timed out. I only ever get timed out)

Link to comment
31 minutes ago, oxideSeven said:

and I've checked with port detector sites (some people recommended a site that would declare refused if set up correctly instead of timed out. I only ever get timed out)

are you using pfsense by any chance?, got geoblocking enabled? (pfblockerng) if so this can actually block the port checking websites from detecting whether the port is open or not, leading to timeout.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.