Skip to content

Commit

Permalink
fix palworld template
Browse files Browse the repository at this point in the history
  • Loading branch information
patrix87 committed Jan 26, 2024
1 parent 46eaeb3 commit e3f1062
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion functions/network/Send-Command.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ function Send-Command {
"ARRCON" {
#send ARRCON command.
$Result = Start-Process $Global.ARRCON -ArgumentList "-c -H $($Server.ManagementIP) -P $($Server.ManagementPort) -p $($Server.ManagementPassword) `"$Command $Message`"" -Wait -PassThru -NoNewWindow
Write-Host $Result
if ($Result.ExitCode -eq 0) {
$Success = $true
}
Expand Down
4 changes: 2 additions & 2 deletions templates/palworld.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,10 @@ $WarningsDetails = @{
Timers = [System.Collections.ArrayList]@(240, 50, 10) #Total wait time is 240+50+10 = 300 seconds or 5 minutes

#message that will be sent. % is a wildcard for the timer.
MessageMin = "The server will restart in % minutes !"
MessageMin = "The_server_will_restart_in_%_minutes_!"

#message that will be sent. % is a wildcard for the timer.
MessageSec = "The server will restart in % seconds !"
MessageSec = "The_server_will_restart_in_%_seconds_!"

#command to send a message.
CmdMessage = "Broadcast"
Expand Down

0 comments on commit e3f1062

Please sign in to comment.