diff --git a/docs/DEDICATED_SERVER.md b/docs/DEDICATED_SERVER.md index a9242fad..77e50375 100644 --- a/docs/DEDICATED_SERVER.md +++ b/docs/DEDICATED_SERVER.md @@ -4,12 +4,7 @@ The dedicated server is a version of Minecraft: Pi Edition modified to run in a This server is also compatible with MCPE Alpha v0.6.1[^1]. ## Setup - -### Debian Package -To use, install and run ``minecraft-pi-reborn-server``. It will generate the world and ``server.properties`` in the current directory. - -### Docker Image -An official Docker image is also provided: [thebrokenrail/minecraft-pi-reborn-server](https://hub.docker.com/r/thebrokenrail/minecraft-pi-reborn-server). +To use, install and run the ``minecraft-pi-reborn-server`` AppImage. It will generate the world and ``server.properties`` in the current directory. ## Server Limitations * Player data is not saved because of limitations with MCPE LAN worlds diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 51178d51..1c368978 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -5,6 +5,9 @@ Download packages [here](https://gitea.thebrokenrail.com/minecraft-pi-reborn/min ### System Requirements * Debian Buster/Ubuntu 18.04 Or Higher +* FUSE 2 + * Debian/Ubuntu: ``sudo apt install libfuse2`` + * Arch: ``sudo pacman -S fuse2`` * Client-Only Dependencies * Graphics Drivers * GTK+ 3 diff --git a/launcher/src/client/launcher.cpp b/launcher/src/client/launcher.cpp index 55457c71..0ff44cc3 100644 --- a/launcher/src/client/launcher.cpp +++ b/launcher/src/client/launcher.cpp @@ -150,6 +150,13 @@ int main(int argc, char *argv[]) { ERR("$HOME Isn't Set"); } + // Check For Display +#ifndef MCPI_HEADLESS_MODE + if (getenv("DISPLAY") == NULL || getenv("WAYLAND_DISPLAY") == NULL) { + ERR("No display attached! Make sure $DISPLAY or $WAYLAND_DISPLAY is set."); + } +#endif + // Print Features for (int i = 1; i < argc; i++) { if (strcmp(argv[i], "--print-available-feature-flags") == 0) {