Update Documentation

This commit is contained in:
TheBrokenRail 2023-12-02 14:23:28 -05:00
parent 97b46ad01a
commit 7296fcee83
3 changed files with 11 additions and 6 deletions

View File

@ -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]. This server is also compatible with MCPE Alpha v0.6.1[^1].
## Setup ## Setup
To use, install and run the ``minecraft-pi-reborn-server`` AppImage. It will generate the world and ``server.properties`` in the current directory.
### 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).
## Server Limitations ## Server Limitations
* Player data is not saved because of limitations with MCPE LAN worlds * Player data is not saved because of limitations with MCPE LAN worlds

View File

@ -5,6 +5,9 @@ Download packages [here](https://gitea.thebrokenrail.com/minecraft-pi-reborn/min
### System Requirements ### System Requirements
* Debian Buster/Ubuntu 18.04 Or Higher * Debian Buster/Ubuntu 18.04 Or Higher
* FUSE 2
* Debian/Ubuntu: ``sudo apt install libfuse2``
* Arch: ``sudo pacman -S fuse2``
* Client-Only Dependencies * Client-Only Dependencies
* Graphics Drivers * Graphics Drivers
* GTK+ 3 * GTK+ 3

View File

@ -150,6 +150,13 @@ int main(int argc, char *argv[]) {
ERR("$HOME Isn't Set"); 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 // Print Features
for (int i = 1; i < argc; i++) { for (int i = 1; i < argc; i++) {
if (strcmp(argv[i], "--print-available-feature-flags") == 0) { if (strcmp(argv[i], "--print-available-feature-flags") == 0) {