Adds a CLI that will interface with the currently running instance of the player.

This commit is contained in:
Markil3
2021-09-14 23:56:47 -06:00
parent 3860353f08
commit 90f82cb05d
4 changed files with 533 additions and 117 deletions

View File

@@ -9,12 +9,18 @@ import java.io.File;
public class ConfigManager
{
/**
* The port the player will listen for connecting instances on.
*/
public static final int PORT = 3001;
private static final Logger logger = LoggerFactory
.getLogger(ConfigManager.class);
private static File dataDir;
private static File commDir;
private static File configDir;
/**
* Obtains the data storage directory for the application, creating it if
* needed.