Skip to content

Commit 7468696

Browse files
committed
Added command options and verbosity messages
Added command line options, print-environment command, and print-var command. Removed copying icon from file, and follow-log command
1 parent 3856182 commit 7468696

File tree

6 files changed

+252
-227
lines changed

6 files changed

+252
-227
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ in the `/etc/minecraft/<NAME>` file
7474

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

77+
Use the `-c <PATH>` or `--config <PATH>` option to use a config file in a different location or with a different name
78+
7779
All properties in `server.properties` are available to be set.
7880

7981
## Ephemeral server
@@ -152,4 +154,15 @@ Many thanks to both projects for making this one possible.
152154
- 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
153155
- 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
154156
- Added SPAWN_PROTECTION option to docker call for starting server
155-
- Reordered environment variables checks to look a bit nicer
157+
- Reordered environment variables checks to look a bit nicer
158+
- 1.5
159+
- Added command line options
160+
- `--config <PATH>` option to specify path to a config file
161+
- `--eula <TRUE|FALSE>` option to specify eula variable regardless of config file, allowing to start a server without needing a config file
162+
- `--follow` option to keep the log option from the docker container to print out log entries as they happen
163+
- `--verbose` to enable verbose messages as script runs for general debugging
164+
- `--debug` to enable more verbose messages as script runs for more detailed debugging
165+
- Added `print-environment` and `print-var` commands to script to print out all variables or a specific variable respectively
166+
- Removed copying server icon from file, as it was not working without changing write permissions within server directory
167+
- Removed `follow-log` command, functionality moved to `log --follow`
168+
- General reworking of script

0 commit comments

Comments
 (0)