Difference between revisions of "Minecraft"

From Zombi Wiki
Jump to navigation Jump to search
(Created page with "{{Project |name = Minecraft |status = beta |description = Severs for vanilla or modded minecraft |author = Lod |maintainer = Lod |maintainer2 = Madmaurice |l...")
 
(finished tentative version)
Line 9: Line 9:
 
}}
 
}}
 
=== Setting up a server ===
 
=== Setting up a server ===
Add your reset to the Makeconfig-file as follows:<br>
+
Add your preset to the Makeconfig-file as follows:<br>
  
 
  <nowiki>
 
  <nowiki>
Line 23: Line 23:
 
make <packname>
 
make <packname>
 
</nowiki>
 
</nowiki>
The image will be named zombi/forge-modbase:<minecraft version>-<forge version>
+
The image will be named zombi/forge-modbase:<minecraft version>-<forge version><br>
 +
If there is already a preset matching your minecraft forge version combination consider using that.
 +
Running the Container:<br>
 +
# Create data directory
 +
<nowiki>
 +
mkdir /data/minecraft/<packname>
 +
</nowiki>
 +
# Run once
 +
<nowiki>
 +
docker run -ti --rm -v /data/minecraft/<packname>:/minecraft zombi/forge-modbase:<minecraft version>-<forge version>
 +
</nowiki>
 +
# Add mod pack to data directory
 +
<nowiki>
 +
cp modpackdata /data/minecraft/<packname>/mods
 +
</nowiki>

Revision as of 15:05, 26 March 2020

       
Minecraft

status: beta

Description Severs for vanilla or modded minecraft
Author  User:Lod
Maintainer  User:Lod
Maintainer  User:Madmaurice
Location  ravenholme

Setting up a server

Add your preset to the Makeconfig-file as follows:

.PHONY: <packname>
<packname>: MINECRAFT=<minecraft version>
<packname>: FORGE=<forge version>
<packname>: build

Building the image:

make <packname>

The image will be named zombi/forge-modbase:<minecraft version>-<forge version>
If there is already a preset matching your minecraft forge version combination consider using that. Running the Container:

  1. Create data directory
mkdir /data/minecraft/<packname>

  1. Run once
docker run -ti --rm -v /data/minecraft/<packname>:/minecraft zombi/forge-modbase:<minecraft version>-<forge version>

  1. Add mod pack to data directory
cp modpackdata /data/minecraft/<packname>/mods