1
0
Personal fork of Cuberite
Go to file
Nate e7b552603f Handle the lapis slot separately (#4286)
This is my attempt to fix #4112. The root cause of the issue was that the lapis slot was treated exactly the same as the enchanting slot, so it on the server side it would only ever slot one item.

My fix is to check if its the second slot in the window, then check if it's lapis (it would slot whatever). If it is lapis I call the base click handler.
2018-08-17 09:08:06 +01:00
.github Added Server OS section pr template (#3254) 2016-07-06 23:37:49 +03:00
android Added SHA checksums for android Jenkins build; Few improvements (#3484) 2016-12-18 09:23:52 +00:00
dev-docs Added docs on exporting API symbols to Lua. (#4277) 2018-08-03 10:17:48 +01:00
Install Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
lib tolua++ bindings use nullptr. (#4219) 2018-04-27 23:22:41 +02:00
Server Fix use item doc error (#4279) 2018-08-03 09:11:56 +01:00
src Handle the lapis slot separately (#4286) 2018-08-17 09:08:06 +01:00
tests Optimise chunk set (#4260) 2018-07-23 19:12:51 +01:00
Tools cppcheck found an out of bound array access. (#4182) 2018-02-04 20:41:49 +00:00
.clang-tidy Use clang-tidy to check more code conventions (#4214) 2018-05-06 18:07:34 +01: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 Use clang-tidy to check more code conventions (#4214) 2018-05-06 18:07:34 +01: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
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
CheckLua.cmake Use system Lua, if available, to generate bindings. 2016-07-18 22:11:41 +02:00
CIbuild.sh Travis: Remove gdb (#4140) 2018-01-14 15:08:08 +00:00
circle.yml Use clang-tidy to check more code conventions (#4214) 2018-05-06 18:07:34 +01:00
clang-tidy.sh Use clang-tidy to check more code conventions (#4214) 2018-05-06 18:07:34 +01:00
cloc-exclude.txt cloc: Updated list of ignored files. (#4280) 2018-08-03 18:41:03 +01:00
CMakeLists.txt Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
compile.sh Update submodule's url in compile (#4204) 2018-04-02 18:44:17 +01: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 Support swap item between main hand and offhand by press key "F" (#4241) 2018-06-24 10:24:10 +01:00
CoverityModel.cpp Update CoverityModel.cpp 2014-04-27 13:03:34 -07:00
Doxyfile Stop cFunctionRef constructor from disabling default copy constructor. (#4173) 2018-07-24 22:30:05 +01:00
easyinstall.sh Improved easyinstall.sh to support macOS and FreeBSD (#3557) 2017-02-13 21:36:23 +01: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
stats.cmd Marked stats.cmd as executable so it can be run on linux 2013-12-21 11:04:21 +00:00
TESTING.md Minor changes (#3909) 2017-08-24 11:19:40 +02:00
uploadCoverage.sh Renamed output directory to Server 2015-09-05 22:01:21 +02:00

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