[Support] binhex - MinecraftServer


Recommended Posts

I got a quick question. We have a Minecraft server running for some time but i got the question from a couple of players to add Forge to the server. I can't find out how to add or install it, does someone know? They want to have a couple of mods installed. I got a mods folder under: Docker\Minecraft\minecraft\mods and running on 1.15.2 Minecraft.

Link to comment
2 hours ago, BananaboxTechNL said:

I got a quick question. We have a Minecraft server running for some time but i got the question from a couple of players to add Forge to the server. I can't find out how to add or install it, does someone know? They want to have a couple of mods installed. I got a mods folder under: Docker\Minecraft\minecraft\mods and running on 1.15.2 Minecraft.

 

On 11/20/2019 at 2:49 AM, KryptykHermit said:

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 Vanilla version of MC (what binhex has provided)

  1. make sure the docker not running
  2. browse out to your appdata\binhex-minecraftserver\minecraft folder
  3. edit the server.properties file with notepad++ (I'm using Windows for all of this)
  4. Change the following settings if you like:
    1. difficulty=[easy|hard]
    2. gamemode=[creative|adventure|survival]
    3. force-gamemode=[true|false]
    4. level-name=world  <=== This is the folder name all your game data is saved into
    5. motd=Logon Message   <=== Message displayed when you log into the server from a MC client

Now, if you are like me, you want to use Forge or Bukkit.  In this case

  1. create a folder on your C:\ drive called "Minecraft"
  2. download the minecraft server file from HERE, and place it into C:\Minecraft (believe it's called 'minecraft_server.1.14.4.jar')
  3. double-click the file, and wait for a minute as it downloads some MC server files.
  4. When it stops, edit the EULA.txt file, and change the line inside from false to true
    1. eula=true
  5. Double-click on the minecraft_server.1.14.4.jar file again and wait for it to finish
  6. type in "/stop".  This will kill the minecraft server.
  7. Download forge for the version of MC server you just downloaded (You want the INSTALLER button in the recommended box on the site)
  8. Place this file (forge-1.14.4-28.1.0.jar) in C:\Minecraft
  9. Double click on this file.
  10. Select SERVER and change the path to C:\Minecraft
  11. Let it perform its magic
  12. Once finished, again, shut it down with "/stop"
  13. Now copy the contents of C:\Minecraft to appdata\binhex-minecraftserver\minecraft
  14. Delete the file appdata\binhex-minecraftserver\perms.txt  (this will restore the default permissions to the files you copied over)
  15. In Unraid, edit the docker and create a new variableVARIABLE.thumb.PNG.220f2e001905e6b05209825a029e494b.PNG
  16. Click SAVE and then APPLY/DONE
  17. Fire up the docker

This will use the forge jar file within the docker container, instead of the vanilla jar file.  From this point, if you want to add resource packs or mods, you can download them and install into the "mods" or "resourcepacks" folder as necessary.  These folders may need to be created.

 

A good mod to verify that your server is working is FastLeafDecay-Mod-1.14.4.jar. You can find it HERE.  Chop a tree down and it should dissolve a lot quicker than normal.  I would also recommend adding one or two mods at a time and testing.

 

Let me know if you'd like more details on the above.

Your Question has already been answered I think

Link to comment
On 11/19/2019 at 7:49 PM, KryptykHermit said:

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 Vanilla version of MC (what binhex has provided)

  1. make sure the docker not running
  2. browse out to your appdata\binhex-minecraftserver\minecraft folder
  3. edit the server.properties file with notepad++ (I'm using Windows for all of this)
  4. Change the following settings if you like:
    1. difficulty=[easy|hard]
    2. gamemode=[creative|adventure|survival]
    3. force-gamemode=[true|false]
    4. level-name=world  <=== This is the folder name all your game data is saved into
    5. motd=Logon Message   <=== Message displayed when you log into the server from a MC client

Now, if you are like me, you want to use Forge or Bukkit.  In this case

  1. create a folder on your C:\ drive called "Minecraft"
  2. download the minecraft server file from HERE, and place it into C:\Minecraft (believe it's called 'minecraft_server.1.14.4.jar')
  3. double-click the file, and wait for a minute as it downloads some MC server files.
  4. When it stops, edit the EULA.txt file, and change the line inside from false to true
    1. eula=true
  5. Double-click on the minecraft_server.1.14.4.jar file again and wait for it to finish
  6. type in "/stop".  This will kill the minecraft server.
  7. Download forge for the version of MC server you just downloaded (You want the INSTALLER button in the recommended box on the site)
  8. Place this file (forge-1.14.4-28.1.0.jar) in C:\Minecraft
  9. Double click on this file.
  10. Select SERVER and change the path to C:\Minecraft
  11. Let it perform its magic
  12. Once finished, again, shut it down with "/stop"
  13. Now copy the contents of C:\Minecraft to appdata\binhex-minecraftserver\minecraft
  14. Delete the file appdata\binhex-minecraftserver\perms.txt  (this will restore the default permissions to the files you copied over)
  15. In Unraid, edit the docker and create a new variableVARIABLE.thumb.PNG.220f2e001905e6b05209825a029e494b.PNG
  16. Click SAVE and then APPLY/DONE
  17. Fire up the docker

This will use the forge jar file within the docker container, instead of the vanilla jar file.  From this point, if you want to add resource packs or mods, you can download them and install into the "mods" or "resourcepacks" folder as necessary.  These folders may need to be created.

 

A good mod to verify that your server is working is FastLeafDecay-Mod-1.14.4.jar. You can find it HERE.  Chop a tree down and it should dissolve a lot quicker than normal.  I would also recommend adding one or two mods at a time and testing.

 

Let me know if you'd like more details on the above.

 

I'm playing around with this to setup a modded server, i'm a minecraft novice so it's tripping me up.  A friend created a modpack which has a manifest json, modlist html, and overrides folder within it.  Would i just drop the zipped modpack into the "mods" folder?

 

I noticed that on launch the server.properties file was updating which was conflicting with one of the mods that needs a specific setting.  Is there a way to prevent the server.properties file from updating on launch?

 

The people I'm setting this up for have no idea how to mod a server so i'm just downloading the individual mod files and dropping them into the /mods folder.  Working for me so far.

Edited by Blairwin
Link to comment

I'm trying to reconnect to the minecraft session and it's telling me there is no minecraft session to connect to.  I believe this to be an issue because my wife disconnected without doing the proper ctrl + a + d.  What can I do to get the previous session disconnected and make a new connection?

Link to comment
10 hours ago, Blairwin said:
I'm trying to reconnect to the minecraft session and it's telling me there is no minecraft session to connect to.  I believe this to be an issue because my wife disconnected without doing the proper ctrl + a + d.  What can I do to get the previous session disconnected and make a new connection?

If there is no session to connect to then the server is shutdown, simple option is restart of the container

Sent from my CLT-L09 using Tapatalk
 

Edited by binhex
Link to comment
22 hours ago, binhex said:

If there is no session to connect to then the server is shutdown, simple option is restart of the container

Sent from my CLT-L09 using Tapatalk
 

 

The server was up and running, people were playing on it.  Also I was using the built in terminal in unraid.

Edited by Blairwin
Link to comment

hey binhex,

Most modpack servers have a startup script in a .sh file. Is there any way you can either add the option to this docker to run a script on startup instead of a jar with arguments. Or can you release a new docker specifically for modpacks. i know this one is designed to run the latest version of minecraft so this docker might not work for it. I tried all the minecraft server dockers and yours just works the best.

Link to comment

  

On 4/10/2020 at 2:49 AM, Blairwin said:

Improperly detached screen (user error) was causing an issue.  Fixed it by following instructions here.

https://kb.iu.edu/d/ahrm

Hi Guys,

 

have the same issue and above does not work for me. Minecraft server started, kids are playing, I have successfully connected to the session (for the first time) through docker console with Unraid GUI, entered:

/usr/bin/minecraftd console

It worked flawlessly. Accidentally, I have closed the console browser window. 

 

Now when trying to run Minecraft console again, through web gui, I have: 

There is no minecraft session to connect to.

Now it does not matter whether I connect through docker web GUI, or through SSH and use:

 docker exec -u nobody -it binhex-minecraftserver /usr/bin/minecraftd console

I have still the same, "There is no minecraft session to connect to." Server is running (Java tops CPU and kids are playing together, so it works). 

 

Is there a way to attach back to server console through GUI or SSH?

 

 

Link to comment

Hi, first things first, thx for this docker binhex. I am already using other dockers from you for a long time and they run perfect.

 

I am trying to set it up, but I am having some issues.  I get this log after the docker is started:


[20:27:26] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[20:27:26] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[20:27:26] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[20:27:26] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[20:27:26] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[20:27:26] [Server thread/INFO]: Starting minecraft server version 1.15.2
[20:27:26] [Server thread/INFO]: Loading properties
[20:27:26] [Server thread/INFO]: Default game type: SURVIVAL
[20:27:26] [Server thread/INFO]: Generating keypair
[20:27:26] [Server thread/INFO]: Starting Minecraft server on *:25565
[20:27:26] [Server thread/INFO]: Using epoll channel type
[20:27:27] [Server thread/INFO]: Preparing level "world"
[20:27:27] [Server thread/INFO]: Reloading ResourceManager: Default
[20:27:31] [Server thread/INFO]: Loaded 6 recipes
[20:27:32] [Server thread/INFO]: Loaded 825 advancements
[20:28:14] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[20:28:16] [Server thread/INFO]: Preparing spawn area: 0%
[20:28:16] [Server thread/INFO]: Preparing spawn area: 0%
[20:28:16] [Server thread/INFO]: Preparing spawn area: 0%
[20:28:16] [Server thread/INFO]: Preparing spawn area: 0%
[20:28:16] [Server thread/INFO]: Preparing spawn area: 0%
[20:28:16] [Server thread/INFO]: Preparing spawn area: 0%
[20:28:17] [Server thread/INFO]: Preparing spawn area: 16%
[20:28:21] [Server-Worker-1/INFO]: Preparing spawn area: 82%
[20:28:21] [Server thread/INFO]: Preparing spawn area: 82%
[20:28:21] [Server thread/INFO]: Preparing spawn area: 82%
[20:28:21] [Server thread/INFO]: Preparing spawn area: 82%
[20:28:21] [Server-Worker-1/INFO]: Preparing spawn area: 82%
[20:28:21] [Server thread/INFO]: Preparing spawn area: 82%
[20:28:21] [Server thread/INFO]: Preparing spawn area: 82%
[20:28:21] [Server thread/INFO]: Preparing spawn area: 82%
[20:28:21] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:22] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:22] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:23] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:23] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:24] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:24] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:25] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:25] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:26] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:26] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:27] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:27] [Server-Worker-1/INFO]: Preparing spawn area: 85%

I guess the docker is not starting the minecraft server since it never reaches 100%. Or am I wrong?

 

When I try to acces the server from my lan (from a vm) the vm sees the server, but I get his error:

 

Quote

Failed to connect to the server.

Failed to verify the username!

 

I have no clue what to do. Hope someone can help me.

 

 

Here is the docker config:

___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2020-04-25 21:01:23.502977 [info] System information Linux 1f663352f8cd 4.19.107-Unraid #1 SMP Thu Mar 5 13:55:57 PST 2020 x86_64 GNU/Linux
2020-04-25 21:01:23.536620 [info] PUID defined as '99'
2020-04-25 21:01:23.574185 [info] PGID defined as '100'
2020-04-25 21:01:23.618880 [info] UMASK defined as '000'
2020-04-25 21:01:23.651554 [info] Permissions already set for volume mappings
2020-04-25 21:01:23.684823 [info] MAX_BACKUPS defined as '10'
2020-04-25 21:01:23.717945 [info] JAVA_INITIAL_HEAP_SIZE defined as '2048M'
2020-04-25 21:01:23.750990 [info] JAVA_MAX_HEAP_SIZE defined as '8192M'
2020-04-25 21:01:23.784173 [info] JAVA_MAX_THREADS defined as '2'
2020-04-25 21:01:23.827189 [info] Deleting files in /tmp (non recursive)...
2020-04-25 21:01:23.858233 [info] Starting Supervisor...
2020-04-25 21:01:24,053 INFO Included extra file "/etc/supervisor/conf.d/minecraft-server.conf" during parsing
2020-04-25 21:01:24,053 INFO Set uid to user 0 succeeded
2020-04-25 21:01:24,055 INFO supervisord started with pid 11
2020-04-25 21:01:25,062 INFO spawned: 'minecraft-server' with pid 74
2020-04-25 21:01:25,063 INFO reaped unknown pid 12
2020-04-25 21:01:25,073 DEBG 'minecraft-server' stdout output:
[info] Minecraft folder '/config/minecraft' already exists, rsyncing newer files...

2020-04-25 21:01:25,079 DEBG 'minecraft-server' stdout output:
[info] Starting Minecraft Java process...

2020-04-25 21:01:25,089 DEBG 'minecraft-server' stdout output:
Starting server...
2020-04-25 21:01:25,092 DEBG 'minecraft-server' stdout output:
There are screens on:
90.minecraft (Dead ???)
83.minecraft (Dead ???)
Remove dead screens with 'screen -wipe'.
No screen session found.

2020-04-25 21:01:25,093 DEBG 'minecraft-server' stdout output:
[info] Minecraft Java process is running

 

Link to comment
5 minutes ago, luca2 said:

Hi, first things first, thx for this docker binhex. I am already using other dockers from you for a long time and they run perfect.

 

I am trying to set it up, but I am having some issues.  I get this log after the docker is started:



[20:27:26] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[20:27:26] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[20:27:26] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[20:27:26] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[20:27:26] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[20:27:26] [Server thread/INFO]: Starting minecraft server version 1.15.2
[20:27:26] [Server thread/INFO]: Loading properties
[20:27:26] [Server thread/INFO]: Default game type: SURVIVAL
[20:27:26] [Server thread/INFO]: Generating keypair
[20:27:26] [Server thread/INFO]: Starting Minecraft server on *:25565
[20:27:26] [Server thread/INFO]: Using epoll channel type
[20:27:27] [Server thread/INFO]: Preparing level "world"
[20:27:27] [Server thread/INFO]: Reloading ResourceManager: Default
[20:27:31] [Server thread/INFO]: Loaded 6 recipes
[20:27:32] [Server thread/INFO]: Loaded 825 advancements
[20:28:14] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[20:28:16] [Server thread/INFO]: Preparing spawn area: 0%
[20:28:16] [Server thread/INFO]: Preparing spawn area: 0%
[20:28:16] [Server thread/INFO]: Preparing spawn area: 0%
[20:28:16] [Server thread/INFO]: Preparing spawn area: 0%
[20:28:16] [Server thread/INFO]: Preparing spawn area: 0%
[20:28:16] [Server thread/INFO]: Preparing spawn area: 0%
[20:28:17] [Server thread/INFO]: Preparing spawn area: 16%
[20:28:21] [Server-Worker-1/INFO]: Preparing spawn area: 82%
[20:28:21] [Server thread/INFO]: Preparing spawn area: 82%
[20:28:21] [Server thread/INFO]: Preparing spawn area: 82%
[20:28:21] [Server thread/INFO]: Preparing spawn area: 82%
[20:28:21] [Server-Worker-1/INFO]: Preparing spawn area: 82%
[20:28:21] [Server thread/INFO]: Preparing spawn area: 82%
[20:28:21] [Server thread/INFO]: Preparing spawn area: 82%
[20:28:21] [Server thread/INFO]: Preparing spawn area: 82%
[20:28:21] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:22] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:22] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:23] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:23] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:24] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:24] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:25] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:25] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:26] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:26] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:27] [Server-Worker-1/INFO]: Preparing spawn area: 83%
[20:28:27] [Server-Worker-1/INFO]: Preparing spawn area: 85%

I guess the docker is not starting the minecraft server since it never reaches 100%. Or am I wrong?

 

When I try to acces the server from my lan (from a vm) the vm sees the server, but I get his error:

 

 

I have no clue what to do. Hope someone can help me.

 

 

Here is the docker config:


___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2020-04-25 21:01:23.502977 [info] System information Linux 1f663352f8cd 4.19.107-Unraid #1 SMP Thu Mar 5 13:55:57 PST 2020 x86_64 GNU/Linux
2020-04-25 21:01:23.536620 [info] PUID defined as '99'
2020-04-25 21:01:23.574185 [info] PGID defined as '100'
2020-04-25 21:01:23.618880 [info] UMASK defined as '000'
2020-04-25 21:01:23.651554 [info] Permissions already set for volume mappings
2020-04-25 21:01:23.684823 [info] MAX_BACKUPS defined as '10'
2020-04-25 21:01:23.717945 [info] JAVA_INITIAL_HEAP_SIZE defined as '2048M'
2020-04-25 21:01:23.750990 [info] JAVA_MAX_HEAP_SIZE defined as '8192M'
2020-04-25 21:01:23.784173 [info] JAVA_MAX_THREADS defined as '2'
2020-04-25 21:01:23.827189 [info] Deleting files in /tmp (non recursive)...
2020-04-25 21:01:23.858233 [info] Starting Supervisor...
2020-04-25 21:01:24,053 INFO Included extra file "/etc/supervisor/conf.d/minecraft-server.conf" during parsing
2020-04-25 21:01:24,053 INFO Set uid to user 0 succeeded
2020-04-25 21:01:24,055 INFO supervisord started with pid 11
2020-04-25 21:01:25,062 INFO spawned: 'minecraft-server' with pid 74
2020-04-25 21:01:25,063 INFO reaped unknown pid 12
2020-04-25 21:01:25,073 DEBG 'minecraft-server' stdout output:
[info] Minecraft folder '/config/minecraft' already exists, rsyncing newer files...

2020-04-25 21:01:25,079 DEBG 'minecraft-server' stdout output:
[info] Starting Minecraft Java process...

2020-04-25 21:01:25,089 DEBG 'minecraft-server' stdout output:
Starting server...
2020-04-25 21:01:25,092 DEBG 'minecraft-server' stdout output:
There are screens on:
90.minecraft (Dead ???)
83.minecraft (Dead ???)
Remove dead screens with 'screen -wipe'.
No screen session found.

2020-04-25 21:01:25,093 DEBG 'minecraft-server' stdout output:
[info] Minecraft Java process is running

 

Could it be that you are playing with a cracked Account and forgot to Switch the online Mode to Off?

Link to comment
16 hours ago, unraidnh said:

Could it be that you are playing with a cracked Account and forgot to Switch the online Mode to Off?

Hi, I am not an expert at all in MC. My little son is the one playing. He created an account in forge, so I think this is the problem. He did not install the official MC.

Thx for helping me out.

Link to comment
40 minutes ago, luca2 said:

Hi, I am not an expert at all in MC. My little son is the one playing. He created an account in forge, so I think this is the problem. He did not install the official MC.

Thx for helping me out.

Well then I assume he didn't buy the Game? I'm Not sure how cracking works nowadays. You can try to switch the online-mode to false in Server.properties and try to connect, If you haven't done it already.

Link to comment
6 hours ago, unraidnh said:

Well then I assume he didn't buy the Game? I'm Not sure how cracking works nowadays. You can try to switch the online-mode to false in Server.properties and try to connect, If you haven't done it already.

Hi, I tried a new install of the docker and installed last minecraft original server version 1.15.2. Then I installed a new version of TLauncher (2.69=last available). Only changed in the server.properties: motf=name_of_the_server and online-mode=false (since I am only playing in LAN). Now it works fine. Thx for support. I will try in the future to acces the server from the internet, but already spent too much time this weekend.

 

Just one more question, if minecraft publishes a new version, does the docker update it automatically? In this case, how can I backup what I have done so far, or it is not needed since it can work with the newer version.

 

Now, another scenario, if my son wants to play with mods, I guess he needs forge to upload them. So, I would follow KryptykHermit´s post on November 20- 2019 and it should work. In this case, what is the best way to do a backup (what files/folders)?

Link to comment
34 minutes ago, luca2 said:

Hi, I tried a new install of the docker and installed last minecraft original server version 1.15.2. Then I installed a new version of TLauncher (2.69=last available). Only changed in the server.properties: motf=name_of_the_server and online-mode=false (since I am only playing in LAN). Now it works fine. Thx for support. I will try in the future to acces the server from the internet, but already spent too much time this weekend.

 

Just one more question, if minecraft publishes a new version, does the docker update it automatically? In this case, how can I backup what I have done so far, or it is not needed since it can work with the newer version.

 

Now, another scenario, if my son wants to play with mods, I guess he needs forge to upload them. So, I would follow KryptykHermit´s post on November 20- 2019 and it should work. In this case, what is the best way to do a backup (what files/folders)?

1. yes, the container pulls afaik the new update from the AUR automatically. You only need to update the container and minecraft will update itself

2. there are two ways to update.

First use the built-in function with a cronjob in the userScripts plugin

docker exec -u nobody -t minecraft /usr/bin/minecraftd backup

this would automatically backup your minecraft server, but u need to use the restore function to restore it because it changes some pathes.(Edit: after looking into the script it seems like it does not change any pathes so you could also copy it instead of using the restore function)

 

Second possbility is to stop the container and copy the whole minecraft directory and copy it back if needed

Edited by unraidnh
looked into script
Link to comment
On 4/26/2020 at 7:55 PM, unraidnh said:

1. yes, the container pulls afaik the new update from the AUR automatically. You only need to update the container and minecraft will update itself

2. there are two ways to update.

First use the built-in function with a cronjob in the userScripts plugin


docker exec -u nobody -t minecraft /usr/bin/minecraftd backup

this would automatically backup your minecraft server, but u need to use the restore function to restore it because it changes some pathes.(Edit: after looking into the script it seems like it does not change any pathes so you could also copy it instead of using the restore function)

 

Second possbility is to stop the container and copy the whole minecraft directory and copy it back if needed

Hi again,

Regarding 1st option, when I look at /usr/bin I cannot see minecraftd:

root@sdf:/usr/bin# cd /usr/bin/m
macusers            mclasserase         memusagestat        mktemp              mshortname
makeconv            mcookie             mesg                mktemp-debianutils  mshowfat
makedb              mcopy               mformat             mlabel              mtools
masktest            mcview              migratepages        mmd                 mtoolstest
mattrib             md5sum              migspeed            mmount              mtrace
mbadblocks          mdel                minfo               mmove               mtype
mc                  mdeltree            mk_cmds             more                mv
mcat                mdir                mkdir               mpartition          mvxattr
mcd                 mdu                 mkfifo              mpicalc             mzip
mcdiff              memhog              mkmanifest          mrd
mcedit              memusage            mknod               mren

I guess I will only find minecraftd after I execute the command, right?

 

Regarding 2nd option: I guess I need to copy this folder in appdata (binhex-minecraftserver), right?:

root@shogun:/mnt/cache/appdata/binhex-minecraftserver# ls
minecraft  perms.txt  supervisord.log

Still I am a bit confused about how it works after I own a backup and minecraft publishes a new version. If then I restore back the backup, will I not erase the new installed version?

 

 

Link to comment
22 hours ago, luca2 said:

Still I am a bit confused about how it works after I own a backup and minecraft publishes a new version. If then I restore back the backup, will I not erase the new installed version?

 

You would only need to restore to the backup if the new version corrupts your minecraft server.  If everything works fine then there would be no reason to restore to the backup.  

Link to comment

Hello,

 

So I am able to connect to the Minecraft world with the default settings after adding the IP for my Unraid server.  However, when I try to migrate a Minecraft world from my Windows server to the Binhex folder and the world no longer connects.  I do not change the name of the World folder.  I just take the contents from my world folder and move it into the Binhex default world folder.  

 

Once I do that, the world no longer connects from my PC.  Any ideas on what I need to do to get this working? It seems to be something in the world folder causing this and I am not sure what. 

Edited by Armed Ferret
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.