I couldn't find anything on this issue and was hoping someone could help me figure it out.
When I start my PaperMC/Spiggot server by manually clicking on the JAR file, the whole thing starts up just fine and we're able to connect to it and play with no issues.
However, when I try to start the server via .BAT file, it starts up, loads everything the way it normally would, just like it does when manually clicking the papermc JAR. Unfortunately we have not been able to connect to the server when it is started in this manner despite it appearing to be done loading and is sitting open and visible as I would expect it to be.
I would be 100% fine with just manually clicking the server JAR but I built the server myself and it has access to 64gb of memory. I would like to be able to utilize that memory regardless of whether we have enough players to eat all that mem. This seems to be the only way to increase the memory allocation as far as I can tell but I'm open to alternative solutions if there are any.
This is the command line argument I am currently using in the .BAT file:
java -Xms32G -Xmx32G -jar paper.jar --nogui
I've tried multiple variations with the same or worse results. Like taking off the nogui, or adding a pause on the 2nd line, etc.
Any help is appreciated and thank you so much in advance! I am new to running an SMP server but I have learned a lot in a short amount of time and absolutely LOVE tinkering around with the backend of Minecraft. This has been the first hurdle I haven't been able to overcome myself.
<3
When I start my PaperMC/Spiggot server by manually clicking on the JAR file, the whole thing starts up just fine and we're able to connect to it and play with no issues.
However, when I try to start the server via .BAT file, it starts up, loads everything the way it normally would, just like it does when manually clicking the papermc JAR. Unfortunately we have not been able to connect to the server when it is started in this manner despite it appearing to be done loading and is sitting open and visible as I would expect it to be.
I would be 100% fine with just manually clicking the server JAR but I built the server myself and it has access to 64gb of memory. I would like to be able to utilize that memory regardless of whether we have enough players to eat all that mem. This seems to be the only way to increase the memory allocation as far as I can tell but I'm open to alternative solutions if there are any.
This is the command line argument I am currently using in the .BAT file:
java -Xms32G -Xmx32G -jar paper.jar --nogui
I've tried multiple variations with the same or worse results. Like taking off the nogui, or adding a pause on the 2nd line, etc.
Any help is appreciated and thank you so much in advance! I am new to running an SMP server but I have learned a lot in a short amount of time and absolutely LOVE tinkering around with the backend of Minecraft. This has been the first hurdle I haven't been able to overcome myself.
<3