palworld-server-docker icon indicating copy to clipboard operation
palworld-server-docker copied to clipboard

Change rcon-cli executable

Open odakaui opened this issue 1 year ago • 1 comments
trafficstars

Context

Choices

  • This rcon client works with multiple games, not just minecraft.

Test instructions

  1. I created a separate container on my local machine.
  2. I ran all of the main rcon commands.

Notes

gorcon/rcon-cli treats spaces as multiple commands. So, docker exec palworld-server rcon-cli shutdown 1 no longer works.

The solution is to enclose single commands with quotes. docker exec palworld-server rcon-cli "shutdown 1"

This does not affect the interactive rcon-cli.

Checklist before requesting a review

  • [x] I have performed a self-review of my code
  • [x] I've added documentation about this change to the README.
  • [x] I've not introduced breaking changes.

odakaui avatar Jan 26 '24 20:01 odakaui

@odakaui Thank you for your work, will review tomorrow!

thijsvanloef avatar Jan 26 '24 20:01 thijsvanloef