Jump to content

Mineccraft moded fabric server help


Recommended Posts

hi all. I'm new to unraid and pretty much all server os. and i am confused about all the configuration and starting up the moded Minecraft server if there is any one that could help me that would be much appreciated.  act like Im a clueless guy. *like what apps to get for the port-forwarding and file editing and plugins and such.

Link to comment
Posted (edited)

all comes down to how you want to interact and mess with it.

Using unraid as the server to run your games we have a few options.

step 1 which system:

Docker / VM / LXC

Each has pros and cons

To mod minecraft, usually java code/lua code have to be added to a mods folder to a minecraft server jar file
To run the minecraft server, we usually implement a java environment. see
https://www.minecraft.net/en-us/download/server

or tekkit modpack servers: https://www.technicpack.net/modpack/tekkitmain.552547

Due to how mojang and Microsoft auction of minecraft, many mods and variant version of minecraft exist.
Java edition / bedrock / story mode. Your client and server file will need to match up.

Do you have a version in mind?

I would recommend docker to run:
Unraid has 69 results to chose from depending on the minecraft server you are trying to create:
https://unraid.net/community/apps?q=minecraft#r

Otherwise, I would highly recommend a ich777 minecraft server:
image.thumb.png.ee1f2607302ae4d86ca01a385feadb76.png

 

image.thumb.png.5822f643701e3005f8e5fb124a8f5a48.png

https://github.com/ich777/docker-minecraft-basic-server

 

Edited by bmartino1
Link to comment
Posted (edited)

So now that we have a system and service in mind, let setup and install a docker.
 

 

image.png.a2468423581a98d5c3e12de46f488776.png

 

lets enable bond, disable bridging. and set a static IP. This will be important latter for internet access to your minecraft server access with freinds.
Next lets setup and configure some docker settings:

image.thumb.png.236856177ab66a1aa54e13b30b89e960.png

 

lets enable docker, set disk size to be atleast 20 GB, use XFS, enable log rotation, use custom networks to macvlan
and host access custom network. (this will be important later to have at home devices talk to and connect to your server when at home!)

With docker running, let's find our minecraft server. go to apps: and find ICH777 minecraft server:
click install and be taken to the minecraft server template for docker.

image.thumb.png.aa228738cafc21a3fc4314b919d52620.png

lets review his template:
 

Quote

This is a Basic Minecraft Server, with the basic configuration it will download and install a Vanilla Minecraft.

You can also install a FTB (FeedTheBeast), Bukkit, Spigot,... server.

Start the container for the first time let it do it's work and shut it down.
After that copy over your favorite server executable (don't forget to set the Serverfile name to the same as you copied over) and start the container again.

JAVA RUNTIME: Enter your prefered Runtime 'basicjre'=jre8, 'jre11'=jre11, 'jre15'=jre15 Don't change unless you are knowing what you are doing! Please keep in mind if you change the runtime you have to delete the old runtime before

UPDATE: If you set the variable GAME_V to 'latest' the container will check on every restart if there is a newer version available (if set to 'latest' the variable JAR_NAME has to be 'server').

ATTENTION: Don't forget to accept the EULA down below and don't forget to edit the 'server.properties' file the server is by default configured to be a LAN server and to be not snooped.

WEB CONSOLE: You can connect to the Minecraft console by opening your browser and go to HOSTIP:9011 (eg: 192.168.1.1:9011) or click on WebUI on the Docker page within Unraid.


first things first, lets set a custom ip to the server. (this will be needed later for router port forwards:

image.thumb.png.a58088a58754af988e19b53522f7a457.png

and change:
image.thumb.png.071174c0e88b4a7afe13e172cabf74f4.png

our server files and mods folder will be at this location:
image.thumb.png.8ad3900279120c927ef83cacb9feb98a.png

here we can add mods to our mod folder!

click apply at bottom:

then click docker then log:
image.png.0924426e15f50dbf3e96a398dd82aa97.png

with for minecraft files to finish installing:

This will be a vanila 
---Downloading Minecraft Server 1.20.6---
---Successfully downloaded Minecraft 1.20.6 Server!---

Not that all files are done the server is up and ready to conect at the sustom ip on the netwrok.
image.thumb.png.448c24f3e983bee3e09f6efaa02317c6.png

now lets add some mods
so stop the server
image.png.54ae71ddf5d2edbdeac89c9a0117b891.png

Edited by bmartino1
Link to comment

with the server stoped we will now use unraid termainl to veiw the files:

image.thumb.png.41ccc00ea7b2c92292b859a00fe3f949.png

 

image.png.c27ec1c8186d6654b9acb3664a05b19d.png

we chose the defualt folder path of "/mnt/cache/appdata/minecraft"
image.thumb.png.dcf403a1ae6f820b545fc7db233bcf2d.png

 

Here are the minecraft server files and configs.

Unraid > shares > appdata > export

image.png.8bbb33b0b802450fe45165ddbed83e58.png

image.thumb.png.735fd2572075864026c3a4f3fd80ea23.png

we can enable the appdata share and browser to them by goin to our uniraid static ip
\\192.168.1.x\appdata

image.thumb.png.416dc6d55544eda898aa103bd9ce48b9.png

 

now we can download mods and place them in the correct folder and mod our server. You can move your world folder and replace this for a minecraft world you have created.

per:


the share path: \\192.168.1.254\appdata\minecraft\versions\1.20.6
replace 1.20.6.jar with your fabric server jar file

https://fabricmc.net/2024/04/19/1205.html
https://fabricmc.net/use/server/

Download and rename it to server-1.20.6.jar and replace the file here:

image.png.d84c57ff9432c59ebaea6f4ed4654292.png
image.png.4cd8e09f4475a05b7a637b5650220ab1.png

Link to comment

I chose ich777 due to knwon experience with his works and can trust there software and codes.

now that you know how to use docker version... You may want to use a premade fabric docker:

image.png.8df4a257a1bb026efb82c8506e40465a.png

otherwise since you want fabric you could install a ubuntu vm/LXC install java and run the jar file and have it folder access else where.

All on how you want to interact with it

with the server running, you just need to port forward the minecraft custom ip in the router to be open to the world
 

Link to comment
On 5/13/2024 at 5:49 PM, bmartino1 said:

with the server stoped we will now use unraid termainl to veiw the files:

image.thumb.png.41ccc00ea7b2c92292b859a00fe3f949.png

 

image.png.c27ec1c8186d6654b9acb3664a05b19d.png

we chose the defualt folder path of "/mnt/cache/appdata/minecraft"
image.thumb.png.dcf403a1ae6f820b545fc7db233bcf2d.png

 

Here are the minecraft server files and configs.

Unraid > shares > appdata > export

image.png.8bbb33b0b802450fe45165ddbed83e58.png

image.thumb.png.735fd2572075864026c3a4f3fd80ea23.png

we can enable the appdata share and browser to them by goin to our uniraid static ip
\\192.168.1.x\appdata

image.thumb.png.416dc6d55544eda898aa103bd9ce48b9.png

 

now we can download mods and place them in the correct folder and mod our server. You can move your world folder and replace this for a minecraft world you have created.

per:


the share path: \\192.168.1.254\appdata\minecraft\versions\1.20.6
replace 1.20.6.jar with your fabric server jar file

https://fabricmc.net/2024/04/19/1205.html
https://fabricmc.net/use/server/

Download and rename it to server-1.20.6.jar and replace the file here:

image.png.d84c57ff9432c59ebaea6f4ed4654292.png
image.png.4cd8e09f4475a05b7a637b5650220ab1.png

the server started up but it wasnt a fabric server

Link to comment

Sorry if that wasn't clear:

ICH777 was documentiatoin on how to do xyz not the actual docker image you should use... Minecraft changes to much for a simple install docker to exists... which is why i recommend the vm/lxc options...

I gave you info on how to get a working docker and template to follow....

I recommend docker for fabric due to updates...
use fithwum and change the numbers in the template for the current. :/

You need to change the docker template info. To reflect the current server and data...

Using the website 

https://fabricmc.net/use/server/

image.png.3469d13f083c686350f69666e42704c5.png

fill in the template of docker:

image.thumb.png.5d74d694e59d1eec91d4146d1ae3956d.png

and 
image.thumb.png.b1a9cae4bf9dcd43fd8ecc99b24a077d.png

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...