Querz / mcaselector

A tool to select chunks from Minecraft worlds for deletion or export.
MIT License
3.07k stars 171 forks source link

CLI mode isn't headless (error: Unable to open DISPLAY) #465

Open wajrou opened 4 months ago

wajrou commented 4 months ago

Describe the bug CLI mode doesn't work on Linux without X server.

To Reproduce

java --module-path /usr/share/openjfx/lib/ --add-modules ALL-MODULE-PATH -jar ~/bin/mcaselector-2.3.jar --mode cache --world ~/paper/world --zoom-level 1 --output ~/paper/map/world

exited immediately with:

error: Unable to open DISPLAY

Environment (please complete the following information):