Important Files And Directories

Sometimes you may meed to manually update a configuration file or make other changes to files and directories. Below is a list of files you may need to access occasionally.

Master

The table below contains paths to the most important files and directories used by Gametron master.

 

Master Description
/var/lib/gametron/master The directory where master stores all of its files.
/var/lib/gametron/master/config/main.conf The main master configuration file. Most importantly, contains database credentials of the master.

Slave

The table below contains paths to the most important files and directories used by Gametron slave.

 

Path Description
/var/lib/gametron/slave The directory where slave stores all of its files.
/var/lib/gametron/slave/config/main.conf The main slave configuration file. Most importantly, contains the API key.
/var/lib/gametron/slave/db/app.db Internal database of the slave. You most likely don’t need to access this database manually.
/var/lib/gametron/slave/minecraft The directory where Minecraft-related files (e.g. JAR files) are stored.
/var/lib/gametron/slave/servers The directory where server files are stored. Directories inside are named after server IDs (i.e. 123456789 contains the files of server ID 123456789.
/var/lib/gametron/slave/certs A symlink to the directory where SSL certificates managed by Let’s Encrypt are stored.