Q3 Rcon Client for Powershell
Go to file
onyx-and-iris e446a45a6c upd {base}.send method.
If only a single fragment expected, don't use string array
2023-11-30 09:42:58 +00:00
examples add script entry point 2023-11-29 22:54:52 +00:00
lib upd {base}.send method. 2023-11-30 09:42:58 +00:00
.gitignore adds README for examples 2023-11-29 16:54:12 +00:00
README.md initial commit 2023-11-29 16:18:03 +00:00

Q3 Rcon client for Powershell

Send Rcon commands to your Quake-3 Engine server from Powershell!

Tested against

Currently only tested on COD servers (2, 4 and 5).

Requirements

  • Powershell 7.2+

Installation

Install-Module -Name Q3Rcon -Scope CurrentUser

Use

Import-Module Q3Rcon

try {
    $rcon = Connect-Rcon -hostname "hostname.server" -port 28960 -passwd "strongrconpassword"

    $rcon.Map()

    "Rotating the map..."
    $rcon.MapRotate()

    Start-Sleep -Milliseconds 3000 # wait for map to rotate

    $rcon.Map()
}
finally {
    Disconnect-Rcon -rcon $rcon
}