mirror of
https://github.com/Tiiffi/mcrcon.git
synced 2025-10-27 11:21:07 -04:00
Added support for setting basic options with environment variables.
This commit is contained in:
@ -33,6 +33,12 @@ Option:
|
||||
-v Output version information
|
||||
```
|
||||
|
||||
Server address, port and password can be set using following environment variables:
|
||||
MCRCON_HOST
|
||||
MCRCON_PORT
|
||||
MCRCON_PASS
|
||||
|
||||
Command-line options will override environment variables.
|
||||
Commands with arguments must be enclosed in quotes.
|
||||
|
||||
Example:
|
||||
|
||||
Reference in New Issue
Block a user