Pl3xMap icon indicating copy to clipboard operation
Pl3xMap copied to clipboard

New command: `resume`

Open hmlendea opened this issue 9 months ago • 0 comments

Hello,

Would you consider adding a command to resume the renderer?

I know there's already a pause command that handles both pausing and resuming, but sometimes that is not enough, and it's also a bit confusing.

Here is the scenario I'm in (TL;DR below):

I'm running a small private server with a Raspberry Pi 4, using the Pl3xmap plugin for its webmap feature. However, the map has grown to 6GB, and if I keep Pl3xmap running continuously, it can crash the server while updating. To avoid this, I manually pause and resume it, which works well but is a hassle. I want to create a (scheduled bash) script that automatically resumes it at night and pauses it again after a set time. Using the current two-in-one command would be unreliable as it can sometimes accidentally resume it instead of pausing, or vice-versa. So, separate commands would be preferable in this scenario.

TL;DR: The two-in-one command we currently have is unpredictable and unintuitive, and cannot be reliably used in automation. Separate commands would solve those issues.

hmlendea avatar Sep 16 '23 13:09 hmlendea