Changed chat message that appears when server restarts a bit
pull / Save and backup minecraft world (push) Successful in 1m0s
pull / Pull repo to the mods directory (push) Successful in 2s
pull / Restart minecraft server (push) Successful in 32s

This commit is contained in:
LeterZP
2026-06-24 17:10:33 +03:00
parent 6f4a2ffc67
commit 253c782c88
+1 -1
View File
@@ -70,7 +70,7 @@ jobs:
steps:
- name: main
run: |
docker exec ${{ env.CONTAINER_NAME }} rcon-cli 'tellraw @a {"text":"Подъехала ", "extra":[{"text":"обнова", "bold":true, "color":"green", "clickEvent":{"action":"open_url", "value":"https://gitea.aklivtsov.tech/LeterZP/TeStVISt-mods-server"}}, {"text":" модов. "}, {"text":"Рестарт", "bold":true, "color":"red"}, {"text":" сервера через "}, {"text":"30 секунд!", "bold":true, "color":"red"}]}'
docker exec ${{ env.CONTAINER_NAME }} rcon-cli 'tellraw @a {"text":"Подъехала ", "extra":[{"text":"обнова", "underlined":true, "bold":true, "color":"green", "clickEvent":{"action":"open_url", "value":"https://gitea.aklivtsov.tech/LeterZP/TeStVISt-mods-server"}}, {"text":" модов. "}, {"text":"Рестарт", "bold":true, "color":"red"}, {"text":" сервера через "}, {"text":"30 секунд!", "bold":true, "color":"red"}]}'
docker exec ${{ env.CONTAINER_NAME }} rcon-cli 'title @a times 10 100 10' && docker exec mc-neoforge rcon-cli 'title @a title {"text":"Подъехала ", "extra":[{"text":"обнова", "bold":true, "color":"green"}, {"text":" модов."}]}' && docker exec mc-neoforge rcon-cli 'title @a subtitle {"text":"", "extra":[{"text":"Рестарт", "bold":true, "color":"red"}, {"text":" сервера через "}, {"text":"30 секунд!", "bold":true, "color":"red"}]}'
sleep 30
docker exec ${{ env.CONTAINER_NAME }} rcon-cli stop