A lightweight Minecraft server manager. Starts a server when users join, and stops them when they leave.
gcpdocker
Hint: There's an example configuration in ./config.
First, define a configuration file for your server. The format is like so:
| Key | Description | 
|---|---|
listenAddress | 
The address to listen on. | 
servers | 
Array of all servers | 
| Key | Description | 
|---|---|
hostname | 
The hostname of the server. | 
listenAddress | 
The address to listen on. | 
gcp | 
The GCP configuration | 
docker | 
The Docker configuration | 
whitelist | 
List of users allowed to connect | 
| Key | Description | 
|---|---|
project | 
The GCP project ID | 
zone | 
The GCP zone | 
instance | 
The GCP instance name | 
| Key | Description | 
|---|---|
containerID | 
Container ID or name | 
Specifying a configuration can be done with --config, for a file path.
Or, for serverless environments, the config can be specified with the
CONFIG environment variable.
GPL-3.0