1
0
Fork 0
Personal fork of Cuberite
Go to file
Michael Hinz a28a93c9ca cppcheck found an out of bound array access. (#4182)
The ChunkHeader array is five unsigned chars big, they're indexed
0..4 - but in the error message (when ChunkHeader[4] isn't 2 -
indicating zlib compression, which seems to be the only allowed
compression method for chunks) the contents of ChunkHeader[5]
is printed. Maybe not so dangerous, but it'll give garbage results
in the log.
2018-02-04 20:41:49 +00:00
.github Added Server OS section pr template (#3254) 2016-07-06 23:37:49 +03:00
Install Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
Server cItemGrid: Allocate storage lazily (#4083) 2018-01-21 18:45:13 +00:00
Tools cppcheck found an out of bound array access. (#4182) 2018-02-04 20:41:49 +00:00
android Added SHA checksums for android Jenkins build; Few improvements (#3484) 2016-12-18 09:23:52 +00:00
dev-docs Removed UTF-8 BOM (#4033) 2017-09-19 10:34:08 +02:00
lib Fix android build (#4169) 2018-01-22 21:03:17 +00:00
src A player's inventory is always opened by its owner. (#4176) 2018-01-28 17:24:59 +00:00
tests CMake: Fix test builds on MSVC (#4131) 2018-01-22 09:39:41 +00:00
.editorconfig .editorconfig fixes (#4113) 2017-12-26 21:14:37 +00:00
.gitattributes Added unit test for parsing HTTP request. 2016-03-01 16:19:57 +01:00
.gitignore Rewrite cClientHandle::HandleRightClick (#4089) 2018-01-08 13:37:10 +00:00
.gitmodules Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
.travis.yml Travis: Remove gdb (#4140) 2018-01-14 15:08:08 +00:00
CIbuild.sh Travis: Remove gdb (#4140) 2018-01-14 15:08:08 +00:00
CMakeLists.txt Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
COMPILING.md Fix Travis build (#4101) 2017-12-22 18:25:46 +00:00
CONTRIBUTING.md Added Github-related rules to Contributing.md (#4076) 2017-12-21 11:25:49 +00:00
CONTRIBUTORS Rewrite cClientHandle::HandleRightClick (#4089) 2018-01-08 13:37:10 +00:00
CheckLua.cmake Use system Lua, if available, to generate bindings. 2016-07-18 22:11:41 +02:00
CoverityModel.cpp Update CoverityModel.cpp 2014-04-27 13:03:34 -07:00
Doxyfile Minor changes (#3909) 2017-08-24 11:19:40 +02:00
GETTING-STARTED.md Minor changes (#3909) 2017-08-24 11:19:40 +02:00
LICENSE Update copyright dates and contributors message (#3907) 2017-08-07 16:17:01 +01:00
README.md readme: Be explicit that Cuberite works with Java Edition Clients. (#4138) 2018-01-08 06:43:08 +00:00
SetFlags.cmake Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
TESTING.md Minor changes (#3909) 2017-08-24 11:19:40 +02:00
app.yml Update app.yml 2015-08-15 20:26:22 +02:00
appveyor.yml CMake: Fix test builds on MSVC (#4131) 2018-01-22 09:39:41 +00:00
circle.yml CircleCI: Check for missing Bindings dependencies 2016-07-02 00:30:22 +02:00
cloc-exclude.txt Update cloc-exclude.txt 2013-12-21 10:01:05 +00:00
compile.sh Updated compile.sh script (#4009) 2017-09-13 08:47:48 +01:00
easyinstall.sh Improved easyinstall.sh to support macOS and FreeBSD (#3557) 2017-02-13 21:36:23 +01:00
stats.cmd Marked stats.cmd as executable so it can be run on linux 2013-12-21 11:04:21 +00:00
uploadCoverage.sh Renamed output directory to Server 2015-09-05 22:01:21 +02:00

README.md

Cuberite

Build Status Circle CI Build Status AppVeyor Build Status

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 can run on Windows, *nix and Android operating systems. This includes Android phones and tablets as well as Raspberry Pis.

We currently support Release 1.8 - 1.12.2 Minecraft protocol versions.

Subscribe to the newsletter for important updates and project news.

Installation

There are several ways to obtain Cuberite.

Binaries

  • 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.
  • You can also obtain a binary from the buildserver archive.

The EasyInstall script

This script will download the correct binary from the project site.

curl -sSfL https://download.cuberite.org | sh

Compiling

  • You can compile automatically for Linux, macOS and FreeBSD with the compile.sh script. 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.

Using curl:

sh -c "$(curl -sSfL -o - https://compile.cuberite.org)"

Or using wget:

sh -c "$(wget -O - https://compile.cuberite.org)"

Hosted services

  • Hosted Cuberite is available via Gamocosm.

Contributing

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.

Cuberite is developed in C++ and Lua. To contribute code, please check out GETTING-STARTED.md and CONTRIBUTING.md for more details.

Plugins are written in Lua. You can contribute by developing plugins and submitting them to the plugin repository or the forum. Please check out our plugin introduction guide for more info.

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.

Other Stuff

For other stuff, check out the homepage, the Users' Manual, the forums, and the Plugin API.

Support Us on Liberapay or Bountysource