Add mcrcon wrapper script for ease of entering creds
This commit is contained in:
4
mcrcon/rcon.ps1
Normal file
4
mcrcon/rcon.ps1
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
$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
|
Reference in New Issue
Block a user