Sourcecode: https://github.com/meza/minecraft-fabric-server
This is not meant to be used as a standalone image, and it's heavily under development.
This will be the home for the configuration files your server uses.
The server folder contains the actual server configuration files.
This is where the server.properties file and the rest is located.
The files in this folder will be symlinked into the minecraft server's server folder. The server.properties file will be copied over to the server folder and the contents will be adjusted to match the configuration you set.
The configuration that gets set is as follows:
- server-port
- query.port
- rcon.port
- rcon.password
The datapacks folder contains the datapacks for the server. Everything in this folder will be used and will override the world/datapacks folder.
The scripts/configure.sh script will be run after the server has been configured. This is where you can add your own configuration.
TBD:
- configure.sh
You can supply the minecraft version you want as follows
docker build --build-arg MINECRAFT_VERSION=1.18.2 .
You can supply the port you want to use for RCON as follows
docker build --build-arg RCON_PORT=25575 .
You can supply the password you want to use for RCON as follows
docker build --build-arg RCON_PASSWORD=minecraft .
You can supply the port you want to use for the minecraft server as follows
docker build --build-arg MINECRAFT_PORT=25565 .
You can supply the port you want to use for the minecraft server query as follows
docker build --build-arg QUERY_PORT=25565 .
The default name of the server is minecraft
The minimum amount of memory the server can use. This is a Java argument.
The maximum amount of memory the server can use. This is a Java argument.
The minimum amount of memory the server can use for the young generation. This is a Java argument.
The maximum number of threads the server can use. This is a Java argument.
If set to true
, the server will automatically update the mods when booting up.
Requires the Minecraft Mod Manager's modlist.json
to be present in the /minecraft/config/server
directory.
The image defines the following volumes:
Contains the world data. This is where the save files are stored.
Contains the configuration files.
This has a few subfolders
This contains the vanilla server configuration files.
This contains the configuration files for the mods.
Contains the backups of the server.