shutdown via rcon

This commit is contained in:
anonoe 2025-12-15 20:14:13 +01:00
parent 92212b7361
commit a0d0c47b53
Signed by: anonoe
SSH key fingerprint: SHA256:OnAs6gNQelOnDiY5tBpDYKQiuTgBvnmIdMo5P09cdqg
3 changed files with 8 additions and 1 deletions

View file

@ -2,7 +2,7 @@ on:
workflow_dispatch: workflow_dispatch:
push: push:
tags: tags:
- 'jre-alpine*.**/v**' - 'jre-alpine*.**.*/v**'
schedule: schedule:
- cron: '0 0 1-31 1-12 1' - cron: '0 0 1-31 1-12 1'

6
server/rcon/rconrc Executable file
View file

@ -0,0 +1,6 @@
[MMS]
hostname = 0.0.0.0
port = 25565
#password is redacted
password =
minecraft = true

1
server/rcon/stop.sh Executable file
View file

@ -0,0 +1 @@
rcon -c /mnt/rcon/rconrc -s MMS stop