| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
The docker image cubeengine/sponge sets up a sponge vanilla minecraft server containing Sponge Vanilla
This documentation only describes how to set up the docker container. Have a look at the related GitHub projects to get more details about the actual functionality:
To persist the data you must mount a few volumes which are listed below:
The container can be configured using environment variables.
One important mention is the JAVA_VM_ARGS environment variable. This helps you to specify additional arguments for the java process. By default, it doesn't contain anything. As a suggestion I advise you to set the Xmx variable, the maximum size of the memory allocation pool at least 2G or 3G. For this just write JAVA_VM_ARGS=-Xmx2G
You might have noticed that the root-volume doesn't contain the server.properties file. This file doesn't need to be persisted because it can be set up using environment variables. Below you'll find a list of the environment variable names. A description of them, supported values and default behaviours can be found on the minecraft-wiki.
Some of the Sponge plugins may need a database connection. The database can be set up with the following variables. The list also shows the default values.
When setting up your server initially you might want to give op to a list of players. Set the environment variable OPS to a space separated list of usernames to op them. This only works for the initial creation.
| Back | FazBrowse Home | New Git URL |