Skip to content

Commit

Permalink
Added command options and verbosity messages
Browse files Browse the repository at this point in the history
Added command line options, print-environment command, and print-var command. Removed copying icon from file, and follow-log command
  • Loading branch information
HoodedDeath committed Apr 16, 2021
1 parent 3856182 commit 7468696
Show file tree
Hide file tree
Showing 6 changed files with 252 additions and 227 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ in the `/etc/minecraft/<NAME>` file

An example configuration file is supplied as `/etc/minecraft/default` with most available properties.

Use the `-c <PATH>` or `--config <PATH>` option to use a config file in a different location or with a different name

All properties in `server.properties` are available to be set.

## Ephemeral server
Expand Down Expand Up @@ -152,4 +154,15 @@ Many thanks to both projects for making this one possible.
- Fixed an issue with copying server-icon.png that would cause an existing world to fail to restart if a server icon exists and should be copied
- When starting, the script would only check if the desired icon file exists, which would cause the script to attempt to overwrite the icon within the server directory, leading to permission denied and the script exiting due to failure
- Added SPAWN_PROTECTION option to docker call for starting server
- Reordered environment variables checks to look a bit nicer
- Reordered environment variables checks to look a bit nicer
- 1.5
- Added command line options
- `--config <PATH>` option to specify path to a config file
- `--eula <TRUE|FALSE>` option to specify eula variable regardless of config file, allowing to start a server without needing a config file
- `--follow` option to keep the log option from the docker container to print out log entries as they happen
- `--verbose` to enable verbose messages as script runs for general debugging
- `--debug` to enable more verbose messages as script runs for more detailed debugging
- Added `print-environment` and `print-var` commands to script to print out all variables or a specific variable respectively
- Removed copying server icon from file, as it was not working without changing write permissions within server directory
- Removed `follow-log` command, functionality moved to `log --follow`
- General reworking of script
Loading

0 comments on commit 7468696

Please sign in to comment.