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

Featured Replies

Is there a way to run bedrock and java on the same server?  The image will not let me change the default container port that is already in use. 

  • Replies 645
  • Views 224.3k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • KryptykHermit
    KryptykHermit

    I started understanding how to put this all together and wanted to throw some info out there for those that need it.    First of all, I would recommend that if you are going to use the Vanil

  • I am having issues with the latest Docker image and i cannot access the application, if i look in the log file located at '/config/supervisord.log' then i see the following message:- '/usr/lib/jvm

  • I updated but now my webUI is saying "There is no screen to be attached matching minecraft."  I saw in a previous post binhex said he thought it was browser related.  I am getting the error in other b

Posted Images

  • 4 weeks later...

Does anyone know how to pass custom Java launch arguments to the server?
Is this even supported by the container?

For example;
 

-XX:+DisableExplicitGC -XX:+ParallelRefProcEnabled -XX:+PerfDisableSharedMem -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1HeapRegionSize=8M -XX:G1HeapWastePercent=5 -XX:G1MaxNewSizePercent=40 -XX:G1MixedGCCountTarget=4 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1NewSizePercent=30 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:G1ReservePercent=20 -XX:InitiatingHeapOccupancyPercent=15 -XX:MaxGCPauseMillis=200 -XX:MaxTenuringThreshold=1 -XX:SurvivorRatio=32

 

I've tried putting them here but I don't know if that's correct?

MCServer.png

Edited by Steven O'Connell
Grammar correction

  • Author
7 hours ago, Steven O'Connell said:

Does anyone know how to pass custom Java launch arguments to the server?

I've not had a request to add such advanced options to be honest, are your a Java guru? 🙂
 

 

7 hours ago, Steven O'Connell said:

Is this even supported by the container?

not right now, nope, but if you can tell me why you need it then i will consider inclusion of a CUSTOM_JAVA_OPTIONS (or siimilar named) env var.

12 hours ago, binhex said:

I've not had a request to add such advanced options to be honest, are your a Java guru? 🙂
 

 

not right now, nope, but if you can tell me why you need it then i will consider inclusion of a CUSTOM_JAVA_OPTIONS (or siimilar named) env var.

Basically for tuning the server for more optimal performance when using solutions like Chunky or Velocity.

Chunky for example benefits from a much more aggressive garbage collector as Pre-Generating chunks involves loading & unloading chunks very rapidly.

  • Author
On 7/21/2024 at 12:12 AM, Steven O'Connell said:

Basically for tuning the server for more optimal performance when using solutions like Chunky or Velocity.

Chunky for example benefits from a much more aggressive garbage collector as Pre-Generating chunks involves loading & unloading chunks very rapidly.

Alright thanks for the explanation, i have now implemented a new env var, to use it do the following:-

1. left click the container and select 'edit'

2. go to the bottom and click on 'Add another Path, Port, Variable, Label or Device'

3. select 'config type' 'variable'

4. set the 'key' to be 'JAVA_CUSTOM_ARGS' and set the value to be the arguments you want setting

5. click 'add' click 'apply' and check logs

 

i have tested this with your example given above and the server starts up, not sure if it's running any more efficiently but that is for you to find out, I'm just happy it's not broken by the inclusion of the additional args :-).

 

Note:- New users will see this option as i have added it to the template, so they would simply edit the value and off they go.

p.s. If you have success with a combination of arguments and wish to share them here for the community then please do!.

Is everyone still getting this error in the logs?

[Netty Epoll Server IO #XX/ERROR]


Where XX is a two digit number that changes.

 

I've had my server off for months waiting for an update. I'm currently at v1.21.

On 6/17/2024 at 11:55 AM, Apoloxy said:

Hi Binhex or anyone else,

 

What am I supposed to do when for the docker or Minecraft server to restart after a crash or /stop command has been issued?

I tried adding --restart=unless-stopped parameters, but that didn't work.

 

Whenever the server crashes, it doesnt restart the docker nor the minecraft server thus needing a physical restart in Unraid itself.

Stopping the server via /stop also does the same. 

 

I'd like the server to be restarted after a /stop or crash.

 

How?


Thank you.

Apoloxy.

Once again, anyone willing to help? It's quite fustrating that the docker or server doesnt restart itself after a crash or /stop command.

  • 2 months later...

Sorry, Bad English. Maybe anyone can help in german...

I Use the Bedrock server/unraid.

I have just 1 problem... where i can control the OP-controls? i mean, in server propertys i can set all players to admin, or normal or guests. But where i can install ME as administrator??

Thanks for Noob-Help 🙂

(if this topic exist, please give a Link to this, thanks.)

  • 3 weeks later...

The /stop command has stopped working for me in the WebUI. For the past couple years it has worked without issue, but now when I do /stop the server stops and then immediately restarts itself back up. Any thoughts? This only started happening after some recent update, although I can't pinpoint which one exactly as I haven't played on the server in a few months (until today).

My automatic backups don't appear to run. I changed the backup_hours to 6 and ever since then, I don't get any backups. I see the backup script starts but I don't see any errors or anything. Can I run the backup from a cli or something?


2024-11-08 11:15:57.933885 [info] CREATE_BACKUP_HOURS defined as '6'
2024-11-08 11:15:57.946802 [info] PURGE_BACKUP_DAYS defined as '14'

 

2024-11-08 11:15:58.076840 [info] JAVA_INITIAL_HEAP_SIZE defined as '4096M'
2024-11-08 11:15:58.090398 [info] JAVA_MAX_HEAP_SIZE defined as '8192M'

 

2024-11-08 11:15:58,371 INFO Included extra file "/etc/supervisor/conf.d/minecraft-server.conf" during parsing
2024-11-08 11:15:58,371 INFO Set uid to user 0 succeeded
2024-11-08 11:15:58,375 INFO supervisord started with pid 7
2024-11-08 11:15:59,377 INFO spawned: 'backup-script' with pid 135
2024-11-08 11:15:59,378 INFO spawned: 'purge-script' with pid 136
2024-11-08 11:15:59,379 INFO spawned: 'start-script' with pid 137
2024-11-08 11:15:59,379 INFO reaped unknown pid 8 (exit status 0)
2024-11-08 11:15:59,380 DEBG 'backup-script' stdout output:
[info] Waiting 6 hours before running worlds backup...

2024-11-08 11:15:59,381 INFO success: backup-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2024-11-08 11:15:59,381 INFO success: purge-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2024-11-08 11:15:59,381 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2024-11-08 11:15:59,381 DEBG 'purge-script' stdout output:
[info] Removing any Minecraft worlds backups with a creation date older than 14 days...

2024-11-08 11:15:59,383 DEBG 'start-script' stdout output:
[info] Minecraft folder '/config/minecraft' already exists, rsyncing newer files...

2024-11-08 11:15:59,418 DEBG 'purge-script' stdout output:
[info] Checking for old backups in 12 hours...

 

21 hours ago, the_real_batman said:

 

I updated to latest docker and it started working again! Thank you

  • 3 weeks later...

Sorry for the dumb question here but how do i control the server as far as admin rights for players, giving myself rights to set things like time and weather etc? I've only just started using this and just need some general tips so i can get started. Thanks!

On 11/30/2024 at 12:32 PM, lotboy16 said:

Sorry for the dumb question here but how do i control the server as far as admin rights for players, giving myself rights to set things like time and weather etc? I've only just started using this and just need some general tips so i can get started. Thanks!

One way is to go to the server console and make yourself an operator with /op [yourInGameName]

Another question. How do increase the chunk size on the server side? Like what command etc?

  • 3 weeks later...
On 11/7/2024 at 12:18 AM, Praetorr said:

The /stop command has stopped working for me in the WebUI. For the past couple years it has worked without issue, but now when I do /stop the server stops and then immediately restarts itself back up. Any thoughts? This only started happening after some recent update, although I can't pinpoint which one exactly as I haven't played on the server in a few months (until today).

 

I have the same question/issue. I like to go into the server console and issue a "save-all" and then "stop", before shutting off the container itself, just to have peace of mind of a clean save and shutdown. As of a couple months ago I noticed the same thing -- if I try to do a "stop" it shuts the MC server down but then it just immediately starts up again.

 

If it matters, I'm using Paper for my server jar, though I have been for a long time without issue before this as well.

I can't figure out how to launch the server with the --bonusChest option.  Has anyone managed to get that working for them?

I add the argument to the STARTUP_CMD variable, the server starts but logs show this:

 

Quote

[Server thread/INFO]: Unknown or incomplete command, see below for error
[Server thread/INFO]: --bonusChest<--[HERE]

 

  • 3 weeks later...
On 12/29/2024 at 2:56 PM, pelux said:

I can't figure out how to launch the server with the --bonusChest option.  Has anyone managed to get that working for them?

I add the argument to the STARTUP_CMD variable, the server starts but logs show this:

 

 

Have you tried adding the optional

JAVA_CUSTOM_ARGS

key to your container configuration with that

--bonusChest

as the value?

Edited by Sn3akyP3t3

Hello!

 

Is there any chance someone can share if there's a way to rollback minecraft binhex Unraid docker from current 1.21.4 back to 1.21.3? Just temporarily. I have a 1.21.3 seed, I want to revert to that version, specify the seed in the server.properties, start minecraft server to generate the world, and then I can upgrade back up to 1.21.4

 

I attempted to download 1.21.3 from here https://mcversions.net/download/1.21.3 copy it to the minecraft directory, but it automatically changes it back to the 1.21.4 version somehow

 

Thanks!

Edited by Arran Coote

  • Author
1 hour ago, Arran Coote said:

Hello!

 

Is there any chance someone can share if there's a way to rollback minecraft binhex Unraid docker from current 1.21.4 back to 1.21.3? Just temporarily. I have a 1.21.3 seed, I want to revert to that version, specify the seed in the server.properties, start minecraft server to generate the world, and then I can upgrade back up to 1.21.4

 

I attempted to download 1.21.3 from here https://mcversions.net/download/1.21.3 copy it to the minecraft directory, but it automatically changes it back to the 1.21.4 version somehow

 

Thanks!

See Q5 https://github.com/binhex/documentation/blob/master/docker/faq/unraid.md

Hello! I've been happily using the binhex-minecraftserver for years at this point, without issues.

 

Today I noticed that the WebUI is an empty black screen, with only a single text marker at the bottom left. I mainly use Firefox, but switching to Brave resolved the issue. This is strange because I have used this WebUI on Firefox without issue for years, and as far as I can tell nothing has changed - I haven't had a Firefox update in a while. Disabling uBlock Origin, Firefox native security settings, clearing cache, and opening the WebUI in a private tab do not resolve the issue.

 

Any thoughts? Thanks!

 

image.thumb.png.9f3e1c5524fb8c353338df6e88994b9f.png

Hello, I am currently trying to set up Tailscale with your java Minecraft-server image but am having some issues. When enabling tailscale, i get the following error within the logs

Detecting Package Manager...
ERROR: Detection from Package Manager failed!
ERROR: Unraid Docker Hook script throw an error!
Starting container without Tailscale!

If you have any tips on how to configure Tailscale to work with your container they would be greatly appreciated!

  • Author
On 1/27/2025 at 10:51 PM, bbread said:

Hello, I am currently trying to set up Tailscale with your java Minecraft-server image but am having some issues. When enabling tailscale, i get the following error within the logs

Detecting Package Manager...
ERROR: Detection from Package Manager failed!
ERROR: Unraid Docker Hook script throw an error!
Starting container without Tailscale!

If you have any tips on how to configure Tailscale to work with your container they would be greatly appreciated!

Pull down the latest image, it should be fixed

  • 2 weeks later...

Hi this may have been asked but I can't find it. I would like to run 1.20.1 and use forge mods on the server. Is that possible and if so what do I need to do. Thanks 

On 2/12/2025 at 7:50 PM, cbarker777 said:

Hi this may have been asked but I can't find it. I would like to run 1.20.1 and use forge mods on the server. Is that possible and if so what do I need to do. Thanks 

 

I don't know if it is the same for older versions of vanilla, but I'd think so... For me at least I run Paper server which requires a non-vanilla server file. There is a variable in the docker config that should be "CUSTOM_JAR_PATH" and you want to set that to wherever your custom *.jar is, from the perspective of inside the container. That way it will override the default path to the server jar file, which is always the latest and updated (if needed) every time the container is restarted.

 

For example, my /config container path is mapped to "/mnt/cache/appdata/minecraftserver-binhex", so all my files are under the /config directory inside the container, which is the standard/default. So then my "CUSTOM_JAR_PATH" is set to "/config/minecraft/paper_latest.jar". By doing that I can just grab the latest server jar file from the Paper website, drop it in /mnt/cache/appdata/minecraftserver-binhex/minecraft (the standard location for the server jar file to live) with the correct permissions, rename it to "paper_latest.jar", and I'm good to go to start the container up!

 

That being said, I think you can do pretty much the same thing for any server jar, including one for an older version of vanilla or whatever you want.

 

Edited by deusxanime

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.