I have been running a vanilla minecraft server for some time, and wanted to add a mod instance. I have setup a jail for this, and within the jail, vanilla minecraft server is working in daemon mode fine. The specific mods require 1.21.1 and Forge/Neoforge. I was able to "downgrade" from 1.21.11 to 1.21.1 by stopping the server, downloading the 1.21.1 server.jar file and putting it in the /usr/local/minecraft-server, then restarting the service.
I downloaded the appropriate Neoforge version, and ran its installer. It placed a run.sh file in the server folder, and I can run that and have the server running with all the appropriate mods. For my purposes, I want this running in daemon mode instead, and this is where I am stuck. I'm sure I can figure it out, but right now the only time I can work on this is at the end of the day when my mental power has been completely drained. Anyone have experience running a Forge or Neoforge server instance as a daemon that can point me in the right direction?
If I figure it out first, I'll reply back here with the instructions for anyone else who may want to know. FWIW, my server is running FreeBSD 14.4, but I don't think that makes any difference in the configuration.
I downloaded the appropriate Neoforge version, and ran its installer. It placed a run.sh file in the server folder, and I can run that and have the server running with all the appropriate mods. For my purposes, I want this running in daemon mode instead, and this is where I am stuck. I'm sure I can figure it out, but right now the only time I can work on this is at the end of the day when my mental power has been completely drained. Anyone have experience running a Forge or Neoforge server instance as a daemon that can point me in the right direction?
If I figure it out first, I'll reply back here with the instructions for anyone else who may want to know. FWIW, my server is running FreeBSD 14.4, but I don't think that makes any difference in the configuration.