This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CONTAINER_USER_ID="$(id -u minecraft_server)"
|
||||
|
||||
if docker compose exec -T beta true > /dev/null 2>&1; then
|
||||
docker compose exec -u "$CONTAINER_USER_ID" -T beta mc-send-to-console "time set 1000" > /dev/null 2>&1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user