patrix87 / PowerShellGSM

A Comprehensive PowerShell Tool for Simple Automated Game Server Management.
https://github.com/patrix87/PowerShellGSM/
MIT License
111 stars 19 forks source link

Errors on first run/setup. #52

Closed Depictionx closed 8 months ago

Depictionx commented 8 months ago

When running the launcher palworld.cmd. Powershell will open and start as expected. Start installing and then error out on 'Importing Server Configuration...'

Downloading ARRCON. ARRCON Installed. Downloading SteamCMD. SteamCMD Installed. Downloading mcrcon. Mcrcon Installed. Importing Server Configuration... MaxPlayers : The term 'MaxPlayers' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\PowerShellGSM\PowerShellGSM-main\configs\palworld.psm1:32 char:3

Depictionx commented 8 months ago

Turns out if you delete your quotations on the password field, instead of just the CHANGEME within them, it causes this...

patrix87 commented 8 months ago

Yeah you need to leave the quotation marks on all strings in powershell. Otherwise it tries to interpret that as a command.

Depictionx commented 8 months ago

Yup! I had been working at some stuff for about 5-6 hours before I found your GSM. I didn't mean to delete the quotation marks.