Scripts/mcrcon/rcon.ps1

5 lines
177 B
PowerShell
Raw Normal View History

$ip = "localhost"
$ip = Read-Host -Prompt 'Enter the RCON IP (default: localhost)'
$password = Read-Host -MaskInput -Prompt 'Enter the RCON Password'
mcrcon -H $ip -p $password