mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies
https://papermc.io/
bukkitcraftbukkithacktoberfestjavaminecraftminecraft-apiminecraft-performanceminecraft-serverpaperpaper-apipapermcspigot-forktacos
ed0d75e389
If we identify an invalid offset (negative, or the header sectors), then back up the region file and erase that specific chunks offset data. This will avoid crashing the server with AIOBB errors and also avoids server owners having to consider the entire region file 'lost'. I'm not sure what leads to this state, I can only assume write cut off mid bits. In this scenario, there is absolutely no way to know where the chunk actually is in the data file without loading every single chunk in the file. And even to do that, would be quite extreme due to the fact the file isn't in some orderly fashion. Since the file is backed up, the user can use a region fixer tool externally to try to restore that single chunk. We could even add a command to restore a chunk from a backup file in a different commit later on. But this at least prevents the server from crashing. The server will just generate a new chunk and move on, after printing an error to the console about it. Also fixed the case reported in this issue about the server hanging when a corrupt chunk is encountered, so this issue is now fully closed. Resolves #1541 |
||
---|---|---|
.github/ISSUE_TEMPLATE | ||
licenses | ||
scripts | ||
Spigot-API-Patches | ||
Spigot-Server-Patches | ||
work | ||
.editorconfig | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
CONTRIBUTING.md | ||
LICENSE.md | ||
paper | ||
pom.xml | ||
README.md |
Paper
High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies.
Support and Project Discussion:
How To (Server Admins)
Paperclip is a jar file that you can download and run just like a normal jar file.
Download a copy of paperclip.jar from our build server, here.
Run the Paperclip jar directly from your server. Just like old times
- Documentation on using Paper: paper.readthedocs.io
- For a sneak peak on upcoming features, see here
How To (Plugin Developers)
- See our API patches here
- See upcoming, pending, and recently added API here
- Paper API javadocs here: papermc.io/javadocs
- Maven Repo (for paper-api):
<repository>
<id>papermc</id>
<url>https://papermc.io/repo/repository/maven-public/</url>
</repository>
- Artifact Information:
<dependency>
<groupId>com.destroystokyo.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.13.1-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
How To (Compiling Jar From Source)
To compile Paper, you need JDK 8, maven, and an internet connection.
Clone this repo, run ./paper jar
from bash, get files.
How To (Pull Request)
See Contributing
Special Thanks To:
YourKit, makers of the outstanding java profiler, support open source projects of all kinds with their full featured Java and .NET application profilers. We thank them for granting Paper an OSS license so that we can make our software the best it can be.