November 9, 20232 yr Author also for the fabric template if you already have it installed you will need to add more variables as you can also now pick whatever version of minecraft is supported by fabric YOU WILL NEED TO CHANGE THE DOCKER TAG TO fithwum/minecraft:fabric key: MC_VERSIONkey: INSTALLER_VERSION Edited July 3, 20251 yr by fithwum
November 10, 20232 yr Author for all running the vanilla minecraft you will also need to change your tag to latest and add the MC_VERSION variable this way you can select the version you want instead of waiting for me to add versions
November 14, 20232 yr Hi, I can't connect to the server from the local network (thus not from outside), when I look in the log, I see that the server is running and ready. In minecraft game it says Can't connect to server. I have the port and IP correct.
November 14, 20232 yr Looks like the container didn't map the ports. There is no network assigned. I don't know how to fix it. EDIT: I just added a port to container and it works. Edited November 14, 20232 yr by Aeloth Solved
November 14, 20232 yr Author sorry forgot to update post i have updated the templates for vanilla and fabric you will need to add some variables this is for added functionality if you add the size variables you will need to delete your run file. i removed the port mapping from the dockerfile so that it was possible to set the port and have it change the port in the settings file this works fine in my testing on 4 different servers so far. i made the changes as they were requested by many people. NEEDED key: GAME_PORT OPTIONAL key: XMX_SIZE key: XMS_SIZE key: XMN_SIZE
February 10, 20242 yr any changes I make to the ops.json are reverted once I restart the container, my understanding is that the restart pulls the default files. can I change this, or do I need to create a separate container? Brand New to Unraid so I am open to recommendations.
February 10, 20242 yr Author the only time it should be downloading a new file is when the file is not there at all. all my minecraft dockers are not even setup to download any ops file at all anyway i removed that as it was only there for testing to make things faster for me. the only other thing i can think of is that you dont have your data folders setup somehow. Edited February 10, 20242 yr by fithwum edit
April 26, 20242 yr On 11/9/2023 at 6:04 PM, fithwum said: also for the fabric template if you already have it installed you will need to add more variables as you can also now pick whatever version of minecraft is supported by fabric YOU WILL NEED TO CHANGE THE DOCKER TAG TO fithwum/minecraft-fabric:latest key: MC_VERSION key: INSTALLER_VERSION I updated to MC Version 1.20.5 and now I am getting java related errors, I think the java version needs to be updated. maybe update java to 22? I am not sure the best way to fix this. java.lang.RuntimeException: An exception occurred when launching the server! at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:71) at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:69) Suppressed: java.awt.AWTError: Can't connect to X11 window server using '0' as the value of the DISPLAY variable. at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at java.desktop/sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:105) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) at java.desktop/sun.awt.X11GraphicsEnvironment.initStatic(X11GraphicsEnvironment.java:64) at java.desktop/sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59) at java.desktop/sun.awt.PlatformGraphicsInfo.createGE(PlatformGraphicsInfo.java:36) at java.desktop/java.awt.GraphicsEnvironment$LocalGE.createGE(GraphicsEnvironment.java:93) at java.desktop/java.awt.GraphicsEnvironment$LocalGE.<clinit>(GraphicsEnvironment.java:84) at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:106) at java.desktop/sun.awt.X11.XToolkit.<clinit>(XToolkit.java:224) at java.desktop/sun.awt.PlatformGraphicsInfo.createToolkit(PlatformGraphicsInfo.java:40) at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:599) at java.desktop/javax.swing.UIManager.getSystemLookAndFeelClassName(UIManager.java:668) at net.fabricmc.loader.impl.gui.FabricMainWindow.open(FabricMainWindow.java:87) at net.fabricmc.loader.impl.gui.FabricGuiEntry.open(FabricGuiEntry.java:51) at net.fabricmc.loader.impl.gui.FabricGuiEntry.displayError(FabricGuiEntry.java:141) at net.fabricmc.loader.impl.gui.FabricGuiEntry.displayError(FabricGuiEntry.java:108) at net.fabricmc.loader.impl.launch.FabricLauncherBase$1.uncaughtException(FabricLauncherBase.java:108) at java.base/java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1082) at java.base/java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1077) at java.base/java.lang.Thread.dispatchUncaughtException(Thread.java:2017) Caused by: java.lang.RuntimeException: Error invoking MC server bundler: java.lang.UnsupportedClassVersionError: net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0 at net.fabricmc.loader.impl.game.minecraft.BundlerProcessor.process(BundlerProcessor.java:102) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.locateGame(MinecraftGameProvider.java:192) at net.fabricmc.loader.impl.launch.knot.Knot.createGameProvider(Knot.java:175) at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:130) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68) at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) ... 1 more Caused by: java.lang.UnsupportedClassVersionError: net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0 at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:879) at net.fabricmc.loader.impl.game.minecraft.BundlerProcessor$1.loadClass(BundlerProcessor.java:65) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:467) at net.fabricmc.loader.impl.game.minecraft.BundlerProcessor.process(BundlerProcessor.java:85)
April 27, 20242 yr Author it seems that for right now this is not possible as starting with version 1.20.5 of minecraft it now requires java 21 and at this time it is not available on linux except for unstable testing. i will be keeping an eye on this and try to work on a fix
May 28, 20242 yr I feel like I'm doing this wrong, but I've updated from your 1.20.1 image to the latest, and Im trying to add the keys for the Xmx(+etc) to my container, but it seems to be not accepting them? (Invalid maximum heap size). Theyre variables right? Figured it out, It switched from Shell to bash with that update. Corrected. But could you add paper to your support list? *edit 2* Port isnt being assigned, every time I start the server, It changes the port in the server.properties to default. Edited May 29, 20242 yr by warboy
June 19, 20242 yr Author I have been away for some time life things. i do want to look into adding paper to the options. i dont know why your port keeps setting back to default i have not been able to reproduce this also i have now updated java in the docker so now new versions of minecraft are working.
July 13, 20241 yr Does this container support plugins? I want to install Dynmap. -> https://modrinth.com/plugin/dynmap Does is work so create a folder named "plugins" and put the downloaded dynmap file inside? UPDATE: Short answer -> Yes My server is running fabric 1.21 with Dynmap and SQLite. Edited July 14, 20241 yr by AceBurn90
September 1, 20241 yr i got everything up and running, but I always get an execution error when I try to stop the container. Any ideas? thanks
September 9, 20241 yr hllo from where do i get the ip v4 address to let friends play on my minecraft server port is shared and the ip that is in the docker container is the one from the unraid system = problem friends can't play on it if i give them the ip from the unraid server that is in the docker containercan someone please help me Edited September 9, 20241 yr by Voltvol
September 9, 20241 yr Author you need to port forward in your router and if the players are outside of your network you need to give them your WAN IP (External IP) NOT the ip of the server itself as that will not work from outside the network at all
September 10, 20241 yr I Can´t can OP Players wehn i like to op a player it says to me in the server consol that op is not existing /op add *playername* Edited September 11, 20241 yr by Voltvol
September 16, 20241 yr Hi there. I have been on an incredible unlucky journey to getting a fabric server up and running. I've been running my own vanilla server for quite some time, but this is really kicking my butt. I've gotten used to using the Console by just selecting it in Docker, but your version is missing, so I'm trying to use the rcon capabililty. I've downloaded mcrcon and every time I try to connect, it says connect failed. This is on a local server with all the defaults. In the server.properties, I've left the rcon.password=minecraft and rconport=25575 defaults, but still no luck. What am I doing wrong? As silly as this is, I'm trying to give myself /op so I can run chunky commands at the server level.
September 17, 20241 yr Author I have been working on getting the console working, but i have no idea why your rcon is not working you could try connecting with putty and see if that helps. also check that the ports are forded correctly. if that still is not working what i did at one point is just make a minecraft server on my desktop and add ops that way then move the ops file over to the server
July 3, 20251 yr Author i have changed the minecraft templates and removed the minecraft-fabric template to update for the new fabric tag simply change it to gitea.fithwum.tech/fithwum/minecraft:fabric and it will update no problem Edited July 6, 20251 yr by fithwum
July 6, 20251 yr Hi i'm not able to install the new version of minecraft-server and the old one is broken (i had broke it trying to update).It seems there is something wrong with the creation of files. I'm trying to install a fabric instance, just like the old one that i really loved it.Thank you, i will appreciate any kind of help.this are the logs of the unraid docker:sed: can't read /MCserver/server.properties: No such file or directory./MCtemp/install_script.sh: line 98: /MCserver/run-1.21.4.sh: Successsed: can't read /MCserver/server.properties: No such file or directory./MCtemp/install_script.sh: line 98: /MCserver/run-1.21.4.sh: SuccessINFO ! fabric-1.21.4-.jar found starting now.INFO ! run-1.21.4.sh found ... will use existing file.INFO ! Setting game port.INFO ! Starting Minecraft Server 1.21.4INFO ! fabric-1.21.4-.jar found starting now.INFO ! run-1.21.4.sh found ... will use existing file.INFO ! Setting game port.INFO ! Starting Minecraft Server 1.21.4Press ANY KEY to close this windowafter that, it just crash. Edited July 6, 20251 yr by Calaat
July 6, 20251 yr Author you are somehow missing the fabric versionsee my earlier post on adding the key values in the templatehttps://forums.unraid.net/topic/125134-support-fithwum-minecraft-server/#findComment-1325191also you will need to update"fithwum/minecraft-fabric:latest" needs to become (without quotes) "gitea.fithwum.tech/fithwum/minecraft:fabric"as i have changed repository's
July 7, 20251 yr I've tried again and i haave this, all over again.Maybe, something is not working? i'm the only one with this? it is the new template, but i have tested with the old with the same result.I've been using your template since almost two years now. It was the first one and my prefered because of the autopause feature, and it is easy and well done. I have reinstaled it a huge amount of times and i have never seen this message before (the second shot). I'm pretty sure something is wrong with the fabric image (i'm not talking about the eula, it is the same with the eula)If i overwrite the folder with my old minecraft folder, it doesn't work neither. it says: Edited July 7, 20251 yr by Calaat
July 7, 20251 yr Author i have found the problem there was a link that i hadn't changed and it was not pulling the correct files. there will be an update shortly
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.