mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
In the old days, we used to try to correct this problem by adjusting the region header to match the length found at the start of the chunk payload. However, this has a very good chance to cause corruption of other chunks, since we can't do any fast overlap checks (an upsize might cause the chunk's alloocated area to overlap into another one, causing corruption when either chunk's space gets written to). This corruption risk has become more problematic since the introduction of region garbage sector reuse, since a broken location header could cause chunks to trash each others' saved data. In addition, if there is a length mismatch, there's a good chance that the oversized chunk itself will already be corrupted, so we'd just fail trying to decompress it later on. So, instead of trying to fix this automatically, we bail and hope this doesn't occur often enough for users to get upset, and allow external offline tools to attempt to repair the mess instead.
A highly customisable, open source server software for Minecraft: Bedrock Edition written in PHP
Getting started
Discussion/Help
For developers
- Building and running from source
- Latest API documentation - Doxygen documentation generated from development
- DevTools - Development tools plugin for creating plugins
- ExamplePlugin - Example plugin demonstrating some basic API features
- Contributing Guidelines
Donate
- Bitcoin Cash (BCH):
qq3r46hn6ljnhnqnfwxt5pg3g447eq9jhvw5ddfear
- Bitcoin (BTC):
171u8K9e4FtU6j3e5sqNoxKUgEw9qWQdRV
- Stellar Lumens (XLM):
GAAC5WZ33HCTE3BFJFZJXONMEIBNHFLBXM2HJVAZHXXPYA3HP5XPPS7T
- Patreon
Licensing information
This project is licensed under LGPL-3.0. Please see the LICENSE file for details.
pmmp/PocketMine are not affiliated with Mojang. All brands and trademarks belong to their respective owners. PocketMine-MP is not a Mojang-approved software, nor is it associated with Mojang.
Description
Languages
PHP
99.9%