Update Documentation
Build / Build (AMD64, Server) (push) Successful in 37m21s Details
Build / Build (AMD64, Client) (push) Successful in 37m26s Details
Build / Build (ARM64, Client) (push) Successful in 33m26s Details
Build / Build (ARM64, Server) (push) Successful in 40m19s Details
Build / Build (ARMHF, Client) (push) Successful in 35m14s Details
Build / Build (ARMHF, Server) (push) Successful in 29m48s Details
Build / Release (push) Has been skipped Details
Build / Test (push) Successful in 43m26s Details

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].
## 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

View File

@ -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

View File

@ -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) {