Changed chat message that appears when server restarts a bit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user