1
0
Personal fork of Cuberite
Go to file
Tiger Wang e7fba08e6c Major refactoring of redstone
This commit is a refactoring of the redstone code, mainly the functions
handling the removal of invalid blocks from power supplier data
structures. Its aim is to improve performance and potentially reduce the
memory footprint of the data structures.

It works to reduce the amount of GetBlock()s triggered every tick.
Before, a GetBlock() was requested for every single item in the data
lists, as well as for every single redstone block in a chunk. Following
these changes, the AddBlock() event is utilised more effectively to only
update the lists when needed (a block is changed), as well as to insert
the block type (and update it when needed) alongside the coordinates
into the main redstone simulator chunkdata list.

In short, a single GetBlock() is now cached, with this cache being
updated when the simulator is awoken due to a block change.

At least, I *hope* that this is what it does :P
2014-01-10 20:31:05 +00:00
Android Removed unneeded include. 2013-12-24 14:52:19 +01:00
docs Removed settings/webadmin.example.ini files 2013-11-04 22:06:23 +00:00
Install Made Lua compila as a standalone DLL on Windows. 2013-12-03 21:37:34 +01:00
lib Fixed FreeBSD compilition 2014-01-07 05:08:58 -08:00
MCServer Added a known working favicon. 2014-01-08 20:18:26 +01:00
src Major refactoring of redstone 2014-01-10 20:31:05 +00:00
tests Moved some files. 2013-12-21 12:59:41 +00:00
Tools ProtoProxy: Fixed favicon relaying. 2014-01-08 17:17:37 +01:00
VC2008 Undid the changes to cryptlib.cpp. 2014-01-06 10:12:40 -07:00
VC2013 Regenerated VS2013 files 2014-01-07 14:09:03 +00:00
.gitignore Fixed the Windows script for uploading Lua API to an FTP server. 2013-12-28 09:44:14 +01:00
.gitmodules Update submodule URLs so people without SSH can get them. 2013-12-19 20:15:59 +00:00
.travis.yml modified travis CI file for cmake 2013-12-19 17:21:06 +00:00
cloc-exclude.txt Update cloc-exclude.txt 2013-12-21 10:01:05 +00:00
CMakeLists.txt Fixed FreeBSD compilition 2014-01-07 05:08:58 -08:00
COMPILING.md Fixed a file name. 2013-12-21 16:23:15 +00:00
CONTRIBUTING.md Update CONTRIBUTING.md 2014-01-07 16:43:47 +01:00
CONTRIBUTORS Fixed a cPlayer::IsGameModeAdventure. It was determined based off of gmCreate rather than gmAdventure. 2013-12-30 21:30:20 -07:00
Doxyfile Doxyfile: Added exclusions for SQLite and the unused Squuirrel bindings 2013-04-28 19:37:43 +00:00
GETTING-STARTED.md Update GETTING-STARTED.md 2013-12-30 11:41:37 +00:00
LICENSE Added the license, so now it is clear for new people what it is. 2013-07-27 14:39:44 +01:00
MakeLuaAPI.cmd Fixed the Windows script for uploading Lua API to an FTP server. 2013-12-28 09:44:14 +01:00
Nightbuild2008.cmd Further updates for the win nightbuild script. 2013-12-21 19:28:00 +01:00
README.md Removed bitdeli badge - we have GitHub analytics now. 2014-01-07 18:51: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

MCServer

Current Protocol Supported: Minecraft v1.2 -> v1.7

MCServer is a performant C++ Minecraft server designed for use in memory and cpu-limited places, or just to make regular server perform better.

MCServer can run on PCs, Macs, and *nix. This includes android phones and tablets as well as Raspberry Pis.

Installation

To install MCServer, you can either download the repository and compile it, or download a pre-compiled version.

After you've cloned the repository, you probably want to pull down the submodules (core plugins, some dependencies). This can be achieved with git submodule init and then on a regular basis (to keep up to date) git submodule update.

Compilation instructions are available in the COMPILING file.

Linux builds can be downloaded from Bearbin's CI Service and Windows builds from xoft's nightly build service.

After you've extracted the files, simply run the MCServer executable.

Contributing

MCServer 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.

Other Stuff

For other stuff, including plugins and discussion, check the forums and wiki.

Earn bitcoins for commits or donate to reward the MCServer developers: tip for next commit

Travis CI: Build Status