Compare commits

...

5 Commits

3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -25,8 +25,8 @@ If rcon is disabled you can send commands by passing them as arguments to the pa
```shell ```shell
docker exec --user 1000 mc mc-send-to-console op player docker exec --user 1000 mc mc-send-to-console op player
| | | |
+- container name +- Minecraft commands start here +- container name +- Minecraft commands start here
``` ```
## Enabling interactive console ## Enabling interactive console
+3 -3
View File
@@ -1,8 +1,8 @@
To use a different Minecraft version, pass the `VERSION` environment variable (case sensitive), which can have the value To use a different Minecraft version, pass the `VERSION` environment variable (case sensitive), which can have the value
- LATEST (the default) - `LATEST` for latest release (the default)
- SNAPSHOT - `SNAPSHOT` for latest snapshot
- a specific version, such as "1.7.9" - a specific version, such as `1.7.9`, `25w35a`, `26.1`, or `26.1-snapshot-1`
- or an alpha and beta version, such as "b1.7.3" (server download might not exist) - or an alpha and beta version, such as "b1.7.3" (server download might not exist)
For example, to use the latest snapshot: For example, to use the latest snapshot:
+3 -3
View File
@@ -2,13 +2,13 @@
<Configuration status="WARN"> <Configuration status="WARN">
<Appenders> <Appenders>
<Console name="SysOut" target="SYSTEM_OUT"> <Console name="SysOut" target="SYSTEM_OUT">
<PatternLayout pattern="[%d{HH:mm:ss}] [%t/%level]: %msg%n" /> <PatternLayout pattern="[%d{yyyy-MM-dd HH:mm:ss}] [%t/%level]: %msg%n" />
</Console> </Console>
<Queue name="TerminalConsole"> <Queue name="TerminalConsole">
<PatternLayout pattern="[%d{HH:mm:ss} %level]: %msg%n" /> <PatternLayout pattern="[%d{yyyy-MM-dd HH:mm:ss} %level]: %msg%n" />
</Queue> </Queue>
<RollingRandomAccessFile name="File" fileName="logs/latest.log" filePattern="logs/%d{yyyy-MM-dd}-%i.log.gz"> <RollingRandomAccessFile name="File" fileName="logs/latest.log" filePattern="logs/%d{yyyy-MM-dd}-%i.log.gz">
<PatternLayout pattern="[%d{HH:mm:ss}] [%t/%level]: %msg%n" /> <PatternLayout pattern="[%d{yyyy-MM-dd HH:mm:ss}] [%t/%level]: %msg%n" />
<Policies> <Policies>
<!-- Based on filePattern resolution, so daily --> <!-- Based on filePattern resolution, so daily -->
<TimeBasedTriggeringPolicy /> <TimeBasedTriggeringPolicy />