Construct paths relative to the Cuberite sources with PROJECT_SOURCE_DIR, instead of wherever the first CMakeLists.txt file happened to be with CMAKE_SOURCE_DIR. In Android's case, the latter was in a folder called android/ but that's not the root of the source tree, so any file path built off that root was wrong. This caused file-specific warnings exclusions to fail to apply.
Cuberite is a Minecraft-compatible multiplayer game server that is written in C++ and designed to be efficient with memory and CPU, as well as having a flexible Lua Plugin API. Cuberite is compatible with the Java Edition Minecraft client.
Cuberite runs on Windows, *nix and Android operating systems. This includes Android phones and tablets as well as Raspberry Pis.
Currently we support Release 1.8 - 1.12.2 Minecraft protocol versions.
Subscribe to the newsletter for important updates and project news.
There are several ways to obtain Cuberite.
- The easiest method is downloading for Windows or Linux from the website.
- You can use the EasyInstall script for Linux and macOS, which automatically downloads the correct binary. The script is described below.
The EasyInstall script
This script will download the correct binary from the project site.
curl -sSfL https://download.cuberite.org | sh
- You can compile automatically for Linux, macOS and FreeBSD with the
compile.shscript. The script is described below.
- You can also compile manually. See COMPILING.md.
Compiling may provide better performance (1.5-3x as fast) and it supports more operating systems.
The compile.sh script
This script downloads the source code and compiles it. The script is smart enough to notify you of missing dependencies and instructing you on how to install them. The script doesn't work for Windows.
sh -c "$(curl -sSfL -o - https://compile.cuberite.org)"
Or using wget:
sh -c "$(wget -O - https://compile.cuberite.org)"
- Hosted Cuberite is available via Gamocosm.
Cuberite is licensed under the Apache License V2, and we welcome anybody to fork and submit a Pull Request back with their changes, and if you want to join as a permanent member we can add you to the team.
If you are not a programmer, you can help by testing Cuberite and reporting bugs. See TESTING.md for details.
You can also help with documentation by contributing to the User's Manual.
Support the Cuberite development team on Liberapay