mirror of
https://hub.spigotmc.org/stash/scm/spigot/spigot.git
synced 2025-09-18 21:33:01 +00:00
No description
![]() Minecraft ineffeciently uses OutputStreams by calling .write(int) on the stream. For Chunks, this is a DeflaterOutputStream, which allocates a single byte EVERY write. This is causing the server to allocate tons of new byte[1] objects. Additionally, this is very ineffecient for the Deflate process. By Buffering Writes the same way it already is Buffering Reads, we will write to the stream much more effeciently. Also a more effecient RegionFile zero'ing for new chunks to speed up new chunk generation. |
||
---|---|---|
Bukkit-Patches | ||
CraftBukkit-Patches | ||
.gitignore | ||
.travis.yml | ||
applyPatches.sh | ||
pom.xml | ||
README.md | ||
rebuildPatches.sh | ||
upstreamMerge.sh |
Spigot 
High performance Minecraft server implementation
How To
Init a Craftbukkit and Bukkit module : git submodule update --init
Apply Patches : ./applyPatches.sh
Create patch for server
cd Spigot-Server
Add your file for commit : git add <file>
Commit : git commit -m <msg>
cd ..
Create Patch ./rebuildPatches.sh
Create patch for API
cd Spigot-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