From 7be7397ab1923cc5a8460684d3ee6321a59796a9 Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Wed, 27 Mar 2024 23:06:15 -0300 Subject: [PATCH] Add mcrcon wrapper script for ease of entering creds --- mcrcon/rcon.ps1 | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 mcrcon/rcon.ps1 diff --git a/mcrcon/rcon.ps1 b/mcrcon/rcon.ps1 new file mode 100644 index 0000000..615f9fc --- /dev/null +++ b/mcrcon/rcon.ps1 @@ -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