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.
|2 years ago|
|.circleci||3 years ago|
|.github||2 years ago|
|CMake||2 years ago|
|Server||2 years ago|
|Tools||2 years ago|
|android||2 years ago|
|dev-docs||3 years ago|
|lib||2 years ago|
|src||2 years ago|
|tests||2 years ago|
|.clang-format||3 years ago|
|.clang-tidy||3 years ago|
|.editorconfig||5 years ago|
|.gitattributes||7 years ago|
|.gitignore||3 years ago|
|.gitmodules||3 years ago|
|.travis.yml||2 years ago|
|BACKERS||3 years ago|
|CMakeLists.txt||2 years ago|
|COMPILING.md||3 years ago|
|CONTRIBUTING.md||3 years ago|
|CONTRIBUTORS||2 years ago|
|CheckLua.cmake||7 years ago|
|Doxyfile||5 years ago|
|GETTING-STARTED.md||3 years ago|
|LICENSE||3 years ago|
|README.md||3 years ago|
|SetFlags.cmake||2 years ago|
|TESTING.md||6 years ago|
|app.yml||8 years ago|
|appveyor.yml||3 years ago|
|clang-tidy.sh||3 years ago|
|cloc-exclude.txt||5 years ago|
|compile.sh||2 years ago|
|easyinstall.sh||3 years ago|
|jenkinsbuild.sh||2 years ago|
|stats.cmd||9 years ago|
|travisbuild.sh||3 years ago|
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