Jump to content

Complex server, always boots vanilla.


SkidzyPlayz

Recommended Posts

A few days ago I stumbled across this blog: https://blogs.oracle.com/developers/post/how-to-set-up-and-run-a-really-powerful-free-minecraft-server-in-the-cloud

Please note I am generally technically minded and when normal people have tech problems I can fix them, however, I know absolutely nothing about Linux, Ubuntu, PuTTY or FireZilla. Other than the fact they exist and they follow general computer principles (e.g I know Linux has syntax, I just don't know any of it).

I thought it was incredibly interesting so I decided to follow it. I managed to get it all up and running with a Vanilla server - Great success! However this is where my greed got me, I wanted mods. More specifically Modpacks, so i decided to have a snoop and google yeilded me this: https://youtu.be/RyC-m725uTs 

I proceeded to terminate the instance I had produced using the blog and made a new one following this Youtube tutorial (Which I found on Reddit). Anyway, I was astute enough to recognise that this tutorial uses Ubuntu and not Oracle Linux. So I knew somethings would be slightly different but I thought I could generally compensate for the differences with my computer knowledge. Right at the end of this tutorial he explains how to add a single mod, however this seems to be in one of the latest versions of minecraft. The modpack I am trying to add is this one: https://www.curseforge.com/minecraft/modpacks/dysfunctionals-tech-bombs-guns-war which uses Minecraft: 1.18.2 and Forge: 40.1.80 so I went looking and I found this, which gave me a slightly better understanding how the whole thing I am doing works: https://youtu.be/asjKcpXEXqo and although it reverts to the original Linux Arm from the blog and has no mods, I managed to use it to boot a Vanilla Server in 1.18.2 instead of 1.20.1. Which was a massive win, because as stated, I only have 80% of an idea what I am doing, I just have a vision. 

I used this video to understand FTP, FileZilla, and installing forge: https://youtu.be/5oYZVxHi0KM however when I use the method detailed of installing forge instead of Java files ending in .jar I get other stuff: https://pasteboard.co/i4OCklrBwt7C.png I have uploaded this to a new instance after terminating the other one I had going with both Java for 1.20.1 and Java for 1.18.2. On the new one I only installed just the Java version I needed and the forge files https://pasteboard.co/yw3Wgnc2WrD4.png and not even vanilla minecraft, however when that wouldn't boot I also tried it with vanilla added too but it just booted as Vanilla. 

The main thing I need to know is how do I get the server to boot as modded, but I am also concerned that the files I get from forge are different to the video. 

The commands I have used in different instances to boot are:

1) cd minecraft

    screen ./run.sh

2)  java -Xmx1024M -Xms1024M -jar server.jar nogui

Some images of my things I have from this process:

https://pasteboard.co/rYTbBAeC5D07.png

https://pasteboard.co/TP1tezmF4d3b.png

Please help anyway you can even if it is just clarifying on the Forge files, but if anyone has any insight as to why the server is booting as Vanilla I would be eternally grateful, I have been working on this for over 4 days now and I am tearing my hair out.

 

 

 

Link to comment
Share on other sites

That's a long post with very little useful information.

 

Posting videos of what other people have done is no replacement for explaining what you actually did.

Those other people got it  to work, you did not. So you did something different.

Images and videos are usually worthless anyway compared with showing logs and the output from commands.

 

Installing the server is explained in the FAQ at the top of the forum.

Explain how what you did deviates from that and/or what errors you get when trying to follow it.

 

NOTE: If you don't have access to XWindows or similar to run the GUI of the installer, you can from the command line run:

java -jar forge-xxx-installer.jar --installServer

in the folder where you want the server.

Edited by warjort

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

6 minutes ago, warjort said:

Explain how what you did deviates from that and/or what errors you get when trying to follow it.

 

Okay well: i did exactly what was in the forge install tutorial here: https://youtu.be/5oYZVxHi0KM and I got this https://pasteboard.co/i4OCklrBwt7C.png which differs from the video as I do not get .jar java files. Which is definitely wrong, and the error I am getting is the server booting in Vanilla, so not technically an error. Just not what is supposed to happen. As shown in the Putty screenshot, the server loads, but vanilla. https://pasteboard.co/TP1tezmF4d3b.png :(

Edited by SkidzyPlayz
Link to comment
Share on other sites

From the FAQ:

Quote

Open the folder you installed Forge to and double click the "run.bat" file on Windows, "run.sh" on macOS or Linux.

The last image (please don't post text as images) shows whatever you are running

Quote

java -jar server.jar nogui

which is the vanilla server.

 

The first lines a forge server boot look something like this (which comes from the run.sh script):

Quote

REM Forge requires a configured set of both JVM and program arguments.

REM Add custom JVM arguments to the user_jvm_args.txt

REM Add custom program arguments {such as nogui} to this file in the next line before the  or

REM  pass them to this script directly

java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.18.2-40.1.68/win_args.txt

 

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

2 minutes ago, warjort said:

From the FAQ:

Open the folder you installed Forge to and double click the "run.bat" file on Windows, "run.sh" on macOS or Linux.

The last image (please don't post text as images) shows whatever you are running


C:\Users\user\OneDrive\Desktop\New Folder (2)>REM Forge requires a configured set of both JVM and program arguments.

C:\Users\user\OneDrive\Desktop\New Folder (2)>REM Add custom JVM arguments to the user_jvm_args.txt

C:\Users\user\OneDrive\Desktop\New Folder (2)>REM Add custom program arguments {such as nogui} to this file in the next line before the  or

C:\Users\user\OneDrive\Desktop\New Folder (2)>REM  pass them to this script directly

C:\Users\user\OneDrive\Desktop\New Folder (2)>java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.18.2-40.1.80/win_args.txt
Error: Could not find or load main class @user_jvm_args.txt

C:\Users\user\OneDrive\Desktop\New Folder (2)>pause

This is what i got double clicking the run.bat. Does this help?

 

Link to comment
Share on other sites

That is the windows output. You said you had linux?

Quote

Error: Could not find or load main class @user_jvm_args.txt

That error usually means you have an older version of java installed. You need java 17

If you are starting the server by double clicking the link, it will be the java in the PATH windows environment variable.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

2 minutes ago, warjort said:

That is the windows output. You said you had linux?

That error usually means you have an older version of java installed. You need java 17

If you are starting the server by double clicking the link, it will be the java in the PATH windows environment variable.

I have Linux on the server, I myself am on windows, when i upload the forge straight to the server i cant use it so I am doing it this way: https://youtu.be/5oYZVxHi0KM

then uploading to the server via fireZilla

Edited by SkidzyPlayz
Link to comment
Share on other sites

9 minutes ago, SkidzyPlayz said:

Potentially vanilla minecraft?

No. The installer downloads and modifies the vanilla server.

Quote

and how do i ensure it boots from Forge not vanilla?

It is very tedious to give an answer (especially one that is in the FAQ) and you still don't read it.

Quote

./run.sh

 

The rest of your question is not minecraft or modding related.

You want a linux sysadmin forum.

 

If it was me, I would use "wget" on linux, e.g.

Quote

gets you latest forge 1.18.2 installer.

 

Finally read this:

https://forums.minecraftforge.net/topic/91712-supported-version-directory/

We only provide support for older versions when the issue is trivial.

This issue should be trivial, but this thread has gone on way too long. Read and follow the FAQ step by step.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Quote

[16:01:59] [Server thread/INFO] [minecraft/DedicatedServer]: Done (7.537s)! For help, type "help"

That message says the server is running.

 

But...

* The log you posted is not the debug.log

* It also does now show anybody trying to connect

* You don't show the client's debug.log so we don't know what error you see.

Quote

but i couldn't connect?

"It does not work" is not a bug report or answerable support request.

 

Please read the FAQ/Rules for posting in this forum instead of wasting people's time with incomplete information.

The link is here:

https://forums.minecraftforge.net/topic/125488-rules-and-frequently-asked-questions-faq/#comment-541436

 

My guess (I shouldn't have to guess)  is you haven't configured the port the server is listening on to be open to the outside world?

But that is linux admin stuff. It's not an issue for this forum.

Edited by warjort

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

5 minutes ago, warjort said:

That message says the server is running.

 

But...

* The log you posted is not the debug.log

* It also does now show anybody trying to connect

* You don't show the client's debug.log so we don't know what error you see.

"It does not work" is not a bug report or answerable support request.

 

Please read the FAQ/Rules for posting in this forum instead of wasting people's time with incomplete information.

The link is here:

https://forums.minecraftforge.net/topic/125488-rules-and-frequently-asked-questions-faq/#comment-541436

 

My guess (I shouldn't have to guess)  is you haven't configured the port the server is listening on to be open to the outside world?

But that is linux admin stuff. It's not an issue for this forum.

https://pastebin.com/F6tRWiHa

I did not know where those FAQ were, sorry. I did say i have absolutely no idea what i am doing.

 

Link to comment
Share on other sites

Quote

[10:26:49] [Render thread/INFO]: Connecting to xxx.xxx.xxx.xxx, 25565

[10:27:15] [Server Connector #1/ERROR]: Couldn't connect to server

io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection timed out: no further information: xxx.xxx.xxx.:25565

Caused by: java.net.ConnectException: Connection timed out: no further information

Looks like 25565 is the port you need to open.

I obfuscated the ip address.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Then install the mods on the server.

And configure your server whitelist https://minecraft.fandom.com/wiki/Commands/whitelist

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Download the mods into the mod folder and restart the server.

This thread needs to stop.

You need to do some research for yourself before posting further questions when you really do get stuck.

This forum is for real problems, it's not so you can proxy the work of being your sysadmin to us.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.