Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] binhex - MinecraftBedrockServer

Featured Replies

Quote

Ok, I know I'm a n00b, but I can't for the life of me figure out how to make myself op. I read that you can look at the log and get your id.....so I'll attach my log.

 

I open the console, but I can't figure out what to type to allow me to start entering minecraft commands. I thought "op (username)" was a command......I'm probably wrong.

I was able to get into the console, get my player id and make myself an op. If anyone else is looking for this answer because they are a noob like me, I just opened a terminal window and typed "docker exec -u nobody -it binhex-minecraftbedrockserver screen -r minecraft"

  • Replies 636
  • Views 185.8k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • new feature coming soon, minecraft console accessible via web ui, thought this might please a few people, no nasty docker exec

  • Issue is now resolved and a new release has been published, please pull down at your convenience.

  • yes, create a /config/permissions.json file, edit it and add your xuid and grant yourself whatever permissions you need, e.g.:-   [ { "permission": "operator","xuid": "12345678123

Posted Images

On 3/27/2020 at 9:12 AM, binhex said:

 

now done, ive added screen to the docker image and its built so please pull down the latest image.

 

to connect via screen run the following:-


docker exec -u nobody -it <container name> screen -r minecraft

to disconnect from the session without exiting the server:-


Press CTRL+a and then release keys and press d

 

While this mostly works pretty well (unless you don't detach properly and then you have to force a detach first `screen -dr`) it'd be nice if there were a way to include a direct option like the console or WebUI.

Does it hurt anything to run the docker in host mode?

 

I had a terrible time trying to get my friends from outside the local network in.

 

I rebooted my router several times and then switched the docker to host mode. I'm not sure if the router reboots fixed the issue or switching to host mode did. All I know is suddenly my friends can join.

 

I tried a couple websites to see if port 19132 is open, those sites report the port is closed. But my friends can join now so obviously it is open.

 

Is there a reliable way to check to see if a port is open to the server? I'm running eero routers, maybe they are the issue? idk.

  • Author
7 hours ago, digitaljock said:

While this mostly works pretty well (unless you don't detach properly and then you have to force a detach first `screen -dr`) it'd be nice if there were a way to include a direct option like the console or WebUI.

not possible without a MASSIVE amount of bloat added to the image, which im afraid im not going to do.

  • Author
7 hours ago, joecool169 said:

Does it hurt anything to run the docker in host mode?

nope that is ok to do this BUT i must say its not required to get external connections workking, i can connect to my minecraft server remotely using Minecraft PE on my android phone whilst using 3G/4G with the container set to bridge.

Edited by binhex

So from my work today I used powershell in windows 10 to test the connection back home,

 

I get TCP Connect to failed........Can I assume this is because Minecraft is using udp? Is there a way to test?

 

The server responds on port 443 for open vpn. 

I've been noticing that only 1 cpu gets pinned to 100% at a time,  instead of the 8 cpu i've assigned to the docker, thus causing lag in the server, is this common?  and is there a fix for this?

 

Thanks

 

 

 

Screen Shot 2020-04-02 at 8.09.06 AM.png

First of all I want to say thank you for this and your other docker containers.

 

 Second I'm wondering if I may get some more info. About once every 24 hours my server becomes unjoinable. The docker is still running but no one can join the server. I restart the docker and all is well again. Where do I begin looking to troubleshoot this issue?

Ok. So, this is probably super noob question, but, after changing the gamemode to creative in server.properties file in /mnt/user/appdata/binhex-minecraftbedrockserver, and then rebooting the docker container, when connecting to the game, it seems to still be in survival mode on the game clients. If someone here could help me with this, then I'd be most appreciative as I have no clue where to go from here.

 

Also, if it helps, I can change other values and see those reflected in the client. For example, changing the number of allowed users to any value will show the updated value after rebooting the server and connecting to it with a client.

Edited by CaptainCopSuey

5 hours ago, CaptainCopSuey said:

Ok. So, this is probably super noob question, but, after changing the gamemode to creative in server.properties file in /mnt/user/appdata/binhex-minecraftbedrockserver, and then rebooting the docker container, when connecting to the game, it seems to still be in survival mode on the game clients. If someone here could help me with this, then I'd be most appreciative as I have no clue where to go from here.

 

Also, if it helps, I can change other values and see those reflected in the client. For example, changing the number of allowed users to any value will show the updated value after rebooting the server and connecting to it with a client.

You must einable cheats and then the OP has to set each individual client to creative: '/gamemode 0 USERNAME' from within the game or the server console itself.

Entering Command line Info

 

I have been able to connect to the console and used the following command: docker exec -u nobody -it binhex-minecraftbedrockserver screen -r minecraft

 

I was able to grab my xuid and change to the permissions file. However, using the window opened by "docker exec -u nobody -it binhex-minecraftbedrockserver screen -r minecraft' I was unable to run commands.  Such as: 'permissions reload'

 

QUESTION: Any idea how I can run commands from the the command line?

 

 

 

 

Edited by dubbly
Clarification based on updated info

On 4/9/2020 at 10:10 PM, CaptainCopSuey said:

Ok. So, this is probably super noob question, but, after changing the gamemode to creative in server.properties file in /mnt/user/appdata/binhex-minecraftbedrockserver, and then rebooting the docker container, when connecting to the game, it seems to still be in survival mode on the game clients. If someone here could help me with this, then I'd be most appreciative as I have no clue where to go from here.

 

Also, if it helps, I can change other values and see those reflected in the client. For example, changing the number of allowed users to any value will show the updated value after rebooting the server and connecting to it with a client.

edit the server properties file to say "allow-cheats=true"

Restart server

 

In bedrock open chat and type /gamemode c "player name" 

 

No quotes just the player name. s replaces c to go back to survival.

Edited by joecool169
added a little detail

On 4/11/2020 at 11:37 AM, dubbly said:

Entering Command line Info

 

I have been able to connect to the console and used the following command: docker exec -u nobody -it binhex-minecraftbedrockserver screen -r minecraft

 

I was able to grab my xuid and change to the permissions file. However, using the window opened by "docker exec -u nobody -it binhex-minecraftbedrockserver screen -r minecraft' I was unable to run commands.  Such as: 'permissions reload'

 

QUESTION: Any idea how I can run commands from the the command line?

 

 

 

 

Idk about permissions reload, I didn't know that was a command. I have used the op command from the server console and it worked fine. I usually find it easier to op myself and then do things in game. But it did take me a bit to figure out how to do these things.

2 hours ago, joecool169 said:

Idk about permissions reload, I didn't know that was a command. I have used the op command from the server console and it worked fine. I usually find it easier to op myself and then do things in game. But it did take me a bit to figure out how to do these things.

**Solved**

 

This is what I am doing:

1. Click on the binhex-minecraftbedrockserver icon from my unraid gui

2. Click on console from the dropdown list. Console pops up and I see "sh-5.0#"

3. Try to enter commands such as alwaysday, tp, list, and others.  I get "command not found"

4.  Using Help shows me items that are not mincraft related

 

Nevermind:

I solve my own confusion.  I can't use the console opened up by clicking on the Minecraft server docker.  Need to use the Unraid console and enter "docker exec -u nobody -it binhex-minecraftbedrockserver screen -r minecraft" and then had to understand that the commands entered complete without any visual feedback on the console.

 

 

Edited by dubbly

What is the best way to backup my Minecraft bedrock server/world?  Is it using CA Backup/Restore App Data. Which is what i am using now, or another solution?

 

 

Edited by dubbly
Clarification

Hello. This docker is very nice. Does anyone know how to stop the world and start it again with a new random seed for a new world?

 

Pete

1 hour ago, PeteUnraid said:

Hello. This docker is very nice. Does anyone know how to stop the world and start it again with a new random seed for a new world?

 

Pete

If you delete the world from the world folder then restart you should have a new world?

  • Author
What is the best way to backup my Minecraft bedrock server/world?  Is it using CA Backup/Restore App Data. Which is what i am using now, or another solution?
 
 
That should work just fine.

Sent from my CLT-L09 using Tapatalk

On 3/27/2020 at 12:12 PM, binhex said:

 

now done, ive added screen to the docker image and its built so please pull down the latest image.

 

to connect via screen run the following:-


docker exec -u nobody -it <container name> screen -r minecraft

to disconnect from the session without exiting the server:-


Press CTRL+a and then release keys and press d

 

When in console and I type docker exec -u nobody -it binhex-minecraftbedrockserver screen -r minecraft I get docker: command not found.

Not sure how I messed that up.

  • Author
9 minutes ago, Mobious said:

When in console

im suspecting you are connecting directly to the containers console (left click minecraft icon/console) NOT the unraid hosts console (shown as 'terminal'). you need to do this from the unraid 'terminal' or ssh to the unraid host via something like putty.

8 hours ago, binhex said:

im suspecting you are connecting directly to the containers console (left click minecraft icon/console) NOT the unraid hosts console (shown as 'terminal'). you need to do this from the unraid 'terminal' or ssh to the unraid host via something like putty.

Thank you that did the trick.

 

One last problem that I couldnt find the solution for in this thread.. I am trying to host it so external users can access it. I currently use pfSense as my router and I did set up port forwarding for 19132 TCP/UDP to point to my server but for some reason I cant connect. In the docker I've tried using a bridge connection that uses the same IP as my Unraid server and a custom proxy that my Plex server uses but setup a different IP.

Also, In the console when I started the server it couldn't local Server.properties. I was however able to connect to the server local on the LAN.

 

btw thank you for the help!

Edited by Mobious

16 minutes ago, Mobious said:

Thank you that did the trick.

 

One last problem that I couldnt find the solution for in this thread.. I am trying to host it so external users can access it. I currently use pfSense as my router and I did set up port forwarding for 19132 TCP/UDP to point to my server but for some reason I cant connect. In the docker I've tried using a bridge connection that uses the same IP as my Unraid server and a custom proxy that my Plex server uses but setup a different IP.

Also, In the console when I started the server it couldn't local Server.properties. I was however able to connect to the server local on the LAN.

 

btw thank you for the help!

 

Screen Shot 2020-04-14 at 3.27.05 PM.png

Yeah Spazhead that is what I have, the same config

12 minutes ago, Mobious said:

Yeah Spazhead that is what I have, the same config

 

should work, make sure the port range is set to  "19132 to 19133",  don't know why but after i did this it worked for me.

 

Screen Shot 2020-04-14 at 3.27.05 PM.png

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.