Jump to content

[Support] fithwum - minecraft server


Recommended Posts

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

Link to comment

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

Link to comment
  • 2 months later...

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 by fithwum
edit
Link to comment
  • 2 months later...
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)

 

Link to comment

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

  • Like 1
Link to comment
  • 1 month later...
Posted (edited)

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 by warboy
Link to comment
  • 3 weeks later...

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.

Link to comment
  • 4 weeks later...
  • 1 month later...
  • 2 weeks later...

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 WhatsAppBild2024-09-09um21_03.43_446675e7.thumb.jpg.e296144441c5d923106b69db48981f96.jpg

Edited by Voltvol
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.

×
×
  • Create New...