Difference between revisions of "Minecraft"
Jump to navigation
Jump to search
m |
m |
||
Line 27: | Line 27: | ||
<br> | <br> | ||
Running the Container:<br> | Running the Container:<br> | ||
− | + | ; 1.Create data directory | |
<nowiki> | <nowiki> | ||
mkdir /data/minecraft/<packname> | mkdir /data/minecraft/<packname> | ||
</nowiki> | </nowiki> | ||
− | + | ; 2.Run once | |
<nowiki> | <nowiki> | ||
docker run -ti --rm -v /data/minecraft/<packname>:/minecraft zombi/forge-modbase:<minecraft version>-<forge version> | docker run -ti --rm -v /data/minecraft/<packname>:/minecraft zombi/forge-modbase:<minecraft version>-<forge version> | ||
</nowiki> | </nowiki> | ||
− | + | ; 3.Add mod pack to data directory | |
<nowiki> | <nowiki> | ||
cp modpackdata /data/minecraft/<packname>/mods | cp modpackdata /data/minecraft/<packname>/mods | ||
</nowiki> | </nowiki> |
Revision as of 15:20, 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>
- 2.Run once
docker run -ti --rm -v /data/minecraft/<packname>:/minecraft zombi/forge-modbase:<minecraft version>-<forge version>
- 3.Add mod pack to data directory
cp modpackdata /data/minecraft/<packname>/mods