Skip to content

Commit

Permalink
shtudown command was uinsg rcon instead of rconcli
Browse files Browse the repository at this point in the history
  • Loading branch information
ripps818 committed Feb 18, 2024
1 parent 58258cb commit bdb8a91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/rcon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function broadcast_automatic_restart() {
rconcli 'save'
rconcli 'broadcast Saving-done'
rconcli 'broadcast Creating-backup'
rcon "Shutdown 10"
rconcli "Shutdown 10"
}


Expand Down
2 changes: 1 addition & 1 deletion scripts/restart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function schedule_restart() {
rconcli 'broadcast Saving-world-before-restart...'
rconcli 'save'
rconcli 'broadcast Saving-done'
rcon "Shutdown 10"
rconcli "Shutdown 10"
if [[ -n $WEBHOOK_ENABLED ]] && [[ $WEBHOOK_ENABLED == "true" ]]; then
send_stop_notification
fi
Expand Down

0 comments on commit bdb8a91

Please sign in to comment.