diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 04ece1d..6b80ed5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -109,7 +109,7 @@ restart: - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts - - ssh "$SERVER_HOST" mcrcon -H localhost -p minecraft 'minecraft:say SERVER BLABLA IN 2 MINUTES' + - ssh "$SERVER_HOST" mcrcon -H localhost -p minecraft 'tellraw @a ["",{"text":"[ANNOUNCEMENT] ","color":"light_purple","bold":true},{"text":"Server restart in 2 minutes","color":"light_purple","bold":false}]' only: refs: