Update Documentation
This commit is contained in:
parent
97b46ad01a
commit
7296fcee83
@ -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
|
||||
|
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user