The check to find dirty itemstacks and send update packets each tick can be very intensive as it checks the entire itemstack, including the entire NBT map. To save on this, 19/20 times we will simply compare the basic count/data/type. If for some strange reason the NBT of an item already existing in an inventory is changes, it will take up to 1 second to show, with an average time of half a second. This odd 0.5 second delay is far preferable to lag every tick, and shouldn't be noticed by anyone. |
||
---|---|---|
Bukkit-Patches | ||
CraftBukkit-Patches | ||
Spigot-API-Patches | ||
Spigot-Server-Patches | ||
.gitignore | ||
applyPatches.sh | ||
pom.xml | ||
README.md | ||
rebuildPatches.sh |
PaperSpigot
![Travis Status](https://travis-ci.org/PaperSpigot/PaperSpigot.svg?branch=master)
High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies.
IRC Support and Project Discussion
How To
Download a copy of PaperTools.jar from our buildserver here: https://ci.destroystokyo.com/job/PaperSpigot-BuildTools/
Place PaperTools.jar into an empty directory and run it with java -jar PaperTools.jar
from Git-Bash/Bash
It requires you have git installed on your local system as well as JDK 7 or above.
How To (Advanced & Legacy Users)
After running the PaperTools jar, you can compile at any time. A brief overview is provided below. For more novice users, we recommend you avoid these steps and stick to the PaperTools.jar build tool.
Apply Patches : ./applyPatches.sh
Create patch for server
cd PaperSpigot-Server
Add your file for commit : git add <file>
Commit : git commit -m <msg>
cd ..
Create Patch ./rebuildPatches.sh
Create patch for API
cd Paperspigot-API
Add your file for commit : git add <file>
Commit : git commit -m <msg>
cd ..
Create Patch ./rebuildPatches.sh
Compilation
We use maven to handle our dependencies.
- Install Maven 3
- Clone this repo and:
mvn clean install