I need help to create a modded minecraft server
Hi guys, i'm actually trying to make a modded minecraft server for me and my friend on the oracle server hosting. (the one I own have 24GO of ram and 4 cores)
I've already managed to install a basic minecraft 1.20.1 session and play on it, but I don't know how to install a modpack on the server. (there's no gui to install like a normal server hosting service would(bisecthosting,aternos,scalacube.....) )
I would need to install it manually like if I were on a linux computer (the server is running on linux) and input each commands needed to install the good forge version and the modpack.
I tried to search on internet some answer but i didn't find anything really helpful.... If you think you are able to help me please mp me or answer the post to ask me further information, any help given will be of big help.(no I won't give my IP lmao)
Oh and i forgot to mention that i'm a complete noob in linux or just server management in general
366 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by mr.things#0
know that oracle has rng delete all ur server data so u should back it up/not care if it disappears one day - for linux u can most easily setup the server 2 different ways either using screen or systemd
so first you should install Java version for ur modpack(u can google and find a tutorial on whatever java version u need)
next you need to download ur mc stuff using wget or upload it through a different way
then if its a basic mc server you simply type the command java -jar serverfilename.jar
and it will boot
but u will see that if you exit out of the server console it will close or if it crashed it will NOT restart
so to solve the first problem u can use this software called screen where when you close out of the terminal it keeps running, but it does not solve the crashing issue
for that you probs need systemd file
hey wait
thanks for the infos
can you help me for some steps ?
which ones?
I already downloaded the modpack with wget
but I don't know how i can launche the start.ps1 in the modpack
and it downloaded it in .zip
what modpack is it
UniversIO
tar -xf filename.zip
thx
sorry for .zip install the unzip command througgh apt-get
Could use docker
and then use unzip
Has a mod pack feature builtin
it's free ?
Just have to give it a url and a extension
Yes
It's a Software for ur vps
bro i don't ever know what's a vps X)
Ur oracle server is a vps
so what i'm supposed to do ?
imma stay to what lobster said for now i guess
i'll try later if it doesn't work
thx anyways
the link he sent is the instructions
do i try that ?
but u can d either way I just never use docker but its probably easier
imma see later
just one thing
my powershell don't allow me to ctrl+v
paste?
right click
even tho i activated in properties
it does'nt work
hmmm
on windows bitvise is a good ssh client
okay
i'm going to install it then
it has eveything included on the side through gui
bitvise server control panel right ?
Or use terminal
Not ps
i think it does the same thing
can't paste
yea I have only used PS to ssh tunnel before
with ssh
so i've read some posts explaining a lot of thing but i still haven't understood what's ssh
can you explain it to me if it's not too hard please ?
its what allows u to access anoother PCs terminal
its also encrypted
cool
th
x
so how do i connect to my server with bitvise ?
open it up
and put in the username and IP and then hit connect and then u put in ur psswd
humm
i don't see where i can put my username and password
oops no download the one I sent
okay
mb
its the wrong one its fine
X)
if you would like we could go on a call, even tho i'm french and have a bad accent ,if you think it would be easier
I cant sorry
np np
it was just a suggestion
so i just put the name of the host ?
u put ip in host
public ?
yes unless u are patched direcrtly into the oracle private network š³
I have access to the private IP of my server
that's why i'm asking
wdym private IP
like the internal ip?
the IP u put should be the same as the MC server
there's a public IPv4 address and a private one
the public one i guess then
okie I see the public one yes
i put the port too ?
thats the MC server IP and the SSH IP
nah it doesnt matter
okay
leave it blank
and that's all ?
and put the username u used on PS
yep
and then hit connect
or login
what do i do ?
change the method to passwd
it's the only one
what did u use to login on PS
a key or passwd
private key
on my computer
ah I see
ok exit out of that and import the private key into bitvisse
ok
client one
ok
and then import
and then browse to ur private key
oh
i've seen that
it doesn't detect the file
bc it's not the right format
i need to change it, he said it on the tutorial i've seen
and then click on it
maybe it will detect it then
it's in .key format
try the all files and then click on it to see if it imports it
make sure its the private not public
it say it's not passphrase protected
is it okay ?
yea
as long as u didnt put one its fine lol
idk what's this anyways
should see something like this
it says public key in method now
ok epic see if it works
ok
huh
i think it connected
then hit terminal
like one the left
new terminal ?
yes
good
it opened
ok there u go!
so now what do i do ?
X)
forgot
go backup and continue lol what u were trying to do
okay
also the SFTP opens up a file manageer
ho yeah dl the command to unzip
so u can move files back and forth
the files in the server ?
yes
and ur desktop
cool !
bro
that's so good
thx so much
np
bruh
what
the ctrl+V doesn't work here
too
yea
u right cclick
oh
cool
u highlight text to copy
and u right click to paste
yeah did it
apt-get install unzip should install unzip if ur root levvel
then unzip file.zip
i'm root level
it says command not found
apt-get install? What type of distro u using my b
distro ?
linux os ?
idk
yea
X)
hmm im guessing its the oracle one
imma search
wait pls
Oracle Linux is shitee
thx
yea idk how to use oracle linux very much
its based on redhat no?
Check if yum exists
yea yum install unzip
i think i used yum to set my first minecraft
yep
huh
I love doing apt moo
it's saying i'm not root
but i am
sudo -i on debian
see if it works there
what ?
wydm
type sudo -i
ok
to see if it brings u to root
okay
i'm in
thx
that's fun to do tho
did it
now what's the command to unzip ?
alright now leave root lol
first
how ?
cntrl c
i say that bc file permissions
u cant right to root files as a non root user
cntrl c don't work
i'm still root
so ur mc server might have issues if u move between root and non root without checking permissions
ok
just close the terminal and reopen it on bitvise then lol
bruh sorry to be dumb
oh no its fine lol I just dunno redhad
okay
so now the command ?
yea
unzip on ur file
yay
so how do i launch start.ps1 ?
do u see any .sh files
nope
i have a .ssh tho
with authorized_keys in it
oh
oh ps1
yes i have one
start.sh
sry i'm blind too
ok then first u need to make it executable
i'm quite nerfed ain't i ?
how ?
sudo chmod +x file.sh
ok
you talk about the start.sh right ?
yes
but why i can't use the ps1 ?
bc otherwise it doesnt have permission to run
thats windows
ok
then ./start.sh should start the server
huh
the command
it hasn't done anything ?
./start.sh
wdym
what hasnt done anything
yep understood that
to make the .sh executable
yea
iit shouldnt say anything
if it worked
ok
then it worked i guess X)
so i do /start.sh -Xmx24G -Xmx16G
youll know if ./start.sh works lol
that's good ?
no
dont do that
ok
do ./start.sh
ok
./start.sh
yes
or without the point ?
with
ok
you've been doing that for how long ?
doing what
idk learning server management
oh idk not long
i dont take any classes on it or anything I just study math
oh
cool
so i guess it worked
do u see a minecraft like terminak thing
terminal*
i'm not sure to understand wdym
like is the minecraft server up
imma see
i'm launching the modpack rn
or send a picture of the termminal
screenshot
well it started
but then it exited
so there was an error with the modpack
unless u used ctrl c or something
wrong java version i guess
nope
it did start tho
so ur very close
it doesn't start the server
it only install the parameter from what i've seen
do u see install.sh
somewhere
some modpacks u have to do that first
no
i think it's this one
the install
do ls
and then send a screenshot of the files u have
hmm looks okie so far
i guess i can just start the server.jar no ?
depends on the moddpack u can try tho
do nano eula.txt
and accept the eula too
yep
already true
then imma start it
yea try the server.jar
okay
i think the server.jar is the vanilla server i already created
yep
it's vanilla plus 1.20.1
so i guess you were right
there's a problem and the start.sh don't work
the mod pack is in 1.19
so i guess it's right if i have the 21th version of java on the server no ?
delete everything u have and just redowwnload the modpack and unzip it and then redo chmod and run it again
u probably shouldnt have anything already there before doing start.sh
it downloads the installer and stuff and server jar file
its ok but its probably the previous server files giving errors
ok
you're probably right
i'm goin' to try this
hey even if u mess up some stuff at least u know some basic redhat linux commands now lol
thx
so i need to reinstall java to right ?
shouldnt what did u do
wut
like what did u do did u just remove the files?
Java is a program so it shouldnt be effected
unless u removed it using a seperate command
ok
nope
i just erase everything in the server
ok yea just make sure there arent any files there
with the file manager
ok that works
yea so when u do ls what do u see
it's taking so much time wtf
oh the file manager
yea
it is sending a command for each file
bruh
so i wait or do the command to erase the file myself ?
might take a hot minute unless u use the command rm -r directory and rm file
those are probablt faster
what's that ?
oh
it ended
ok now do ls
too make sure its all gone
i did ls and there's nothing
ok now just redo everything (should only take like 5 minutes) and see if it works
yep
it exited again
with what
after starting the .sh
yea but did it say the error
no ?
i mean there's still some errors
but it happen evertime when i launch minecraft modpack
so i can't tell if it's normal or not
did it download any files
using ls
i don't think so
well it generated the eula.txt no?
also what version of Java did u install
21
i think
We have uploaded your file to a paste service for better readability
Paste services are more mobile friendly and easier to read than just posting a file
latest.log
Requested by mr.things#0
too new java
yes
okay
java 17
how to i desinstall ?
yum remove whatever java package u installed
huh
yum remove "java name here"
ye
or sudo yum remove "java name"
but how do i know the exact name ?
where can i see it
honestly i don't remember
im guessing sudo yum list installed
because on debian its apt list installed
i think i got it but i need to but root
how do i do i forgot
sudo -i
thx
done
so now i need the right package
let's take it
i take the rpm package ?
did u find the java u installed
it shoud show in the list
removed it
ok
now
wget with the right java
what do i take ?
dnf install -y jdk-17-headful
or yum instead of dnf
from the Oracle Linux documentation lol
let's gooo
let's try now
make sure
no root
oh
yeah
X)
it say java 21
basically with oracle:
- get java 17 installed
- create a folder for ur mc server
- wget the download or SFTP upload
- unzip it
- ls the files to see what you're working with
- you likely gotta install forge or if its fabric u just need to run the server jar fine
it's normal or i wrongly desinstalled java 21 ?
did it start tho
let's see
nope
š
do java --version
yea u have a java issue
bruh
it's the 21
also i assume ur defo using oracle linux
yea we are on the java isssu part everything else with the server is fine I think
yeah i'm just stupid
dw
X)
I just dunno oracle linux I only know debian/ubuntu based OSes lol its my bad
soooo
rpm -qa | grep jdk
show us resultsok
huh
weird
for me at least
can u copy the java 21 one?
why the fuck this guy have no head
like select it, it should auto copy
idk how can i copy ?
highlight it
jdk-21-headless-21-35.el8.aarch64
you want that ?
alright now do
yum remove jdk-21-headless-21-35.el8.aarch64
bruh
already forgot how to go root
sudo
sudo -i
and then repeat the command
do sudo su
then all cmds are root by default till u do exit
it's good now
so what do i do ?
now do java --version
it's uninstalled
ok
need to see if it updated
wtf
?
can't paste the screen
oh
its fine
it was just late
mb
yea
now try running server
ok
my oracle linux VM runs F@H 24/7 š
also if im being honest
i probably should have made you use
sudo update-alternatives --config java
but i doubt you'd need java 21Leaving this as a note for those who see this
but java 21 make it bug no ?
yeah. no i just realised i could have made u switch the java version that is used by default rather than uninstalling java 21
oh
np
appreciate your help anyways X)
anyways show us what happens when u run the server
it's still starting
if u dont mind can u just do ls to show us all the files in your server folder if it fails
yep
ur running it via the .sh file right?
yes
alr good
thank you for the help in fixing the Java isue lmao
.sh is for linux
.ps1 is for windows powershell
.bat is for windows cmd prompt
it's saying sending reload packet to clients and it made me go one line down
thx for the data X)
hm, not sure about that msg. is it an error or just a lil note/warning?
no
i just needed to wait
yeah
you know there's just the >
and not the minecraft server with the $
okay
the mc server terminal is showing? It should be up now, at least locally.
it's definitely taking a long time to launch so i guess it's good now
let's just wait
Also for oracle just know they rando delete sometimes
you mean all the commands line saying how the launching go ?
soo make sure to back stuff up
I misunderstood what u meant
ok
can i setup an automatic backup on the server ?
there's plugin for that no ?
yea there are ways
is there simple ones ?
X)
probs
well ur modded
so you cant use plugins
:thonk:
so what can i do ?
there is rclone
it's been stuck here for 4-5 minutes
I guess starting a modded minecraft server takes time
id just wait
same
X)
what's rclone ?
modded mc defo takes a while sadly
rclone is a tool that lets you copy or download stuff from multiple locations
but is it using all the ram that is on the server to start ?
for example i could backup my world to google drive with a cmd
maybe it's using just a little bit and that's why it's taking time
oh, rclone is a command ?
it is like a file management software
is it automatic ?
if u have like an iphone ur phone syncs with icloud or whatever so u can use rclone to do the same
with any file
with like google drive or whatecer
@ProGamingDK you're pretty familiar with it
would it be just a script to stop server, create zip of the stuff with unique name, start server and upload via rclone. Cron tab to run script at certain intervals?
I dont use it*
oh
oops that came out wrong
X)
do you have any idea of what i could do ?
i mean theory is sound
i use a storage box, pterodactyl panel and mount it, is my usual setup
ye wasnt sure if i should recommend ptero for a simple server idk
damn you're talking in alien language
haha pterodactyl is a panel
panel ?
i don't even know what's this X)
yea its like a gui for managing one or more MC servers
oh
cool
or other game servers
servers in general
ive installed it before it takes longer than a default mc server installation tho lol
its not hard but its also a longer process
thats true, i usually do this setup because im usually the one who setup the panel lmao
if i can automate something i'll do it, and if it's manual anyways i'll just download the world save every days
it's been 10 minutes it's on the same command line
is it normal ?
nochatreports.mixins.json into net.minecraft.network.protocol.status.ServerStatus$Serializerapparently some peoples get stuck on that when they try to launch their servers and need to update properties ? or launch multiple times i'm going to do something else for 20-30 minutes i'll see later Thanks for you help guys ! huum i got impatient and restarted bitvise but when i try to login it does something weird it ask me for a first authentification with my private key and then it ask me with gssapi with mic oh i'm fine i'm going to try to solve this problem myself Hello, (it's 5 am in france if you're wondering) so the "problem" I had wasn't one, i can just launch my minecraft modpack and then join the server without a problem so now i can play ! I'm going to work until 3-4pm so i was wondering if i should close the question/post after i come back ?
Keep it open for as long as the issue is a thing
Yeah. Modpack always throw random errors in comsole
Nope it's solved
Thx to you guys
Soo
I close it ?
Yes
Ok,see ya !
!close
post closed!
The post/thread has been closed!
Requested by discount_milk#0