Purpur
Welcome to the official documentation source for the Purpur project.
This documentation is current to Build #2240 (c0f5e78
)
Purpur is a drop-in replacement for Paper servers that's designed for configurability, and new fun and exciting gameplay features.
Contact 🔗
Join us on Discord!
Downloads🔗
You can download Purpur from the downloads page or the downloads API.
Downloads API endpoints:
- List versions of Minecraft with builds available:
https://api.purpurmc.org/v2/purpur/
- List builds for a version of Minecraft:
https://api.purpurmc.org/v2/purpur/<version>
- Download a specific build of a specific version:
https://api.purpurmc.org/v2/purpur/<version>/<build>/download
- Download the latest build for a version of Minecraft:
https://api.purpurmc.org/v2/purpur/<version>/latest/download
License 🔗
This project licenses all patches under the MIT license, unless the patch headers note otherwise.
See PaperMC/Paper for the license of material this project uses.
bStats🔗
API🔗
Javadoc🔗
You can find the Javadocs for Purpur at: https://purpurmc.org/javadoc
Dependency Information🔗
1 2 3 4 5 6 7 8 9 |
|
1 2 3 4 5 6 7 8 9 10 |
|
1 2 3 4 5 6 7 8 |
|
1 2 3 4 5 6 7 |
|
1 2 3 4 5 6 7 8 9 10 |
|
1 2 3 4 5 6 7 |
|
Importing Purpur into your project also includes all APIs provided by Pufferfish, Paper, Spigot, and Bukkit.
Building and setting up🔗
Initial setup🔗
Run the following command in the root of the project directory:
1 |
|
Creating a patch🔗
Patches are effectively just commits in either Purpur-API
or Purpur-Server
.
To create one, just add a commit to either repo and run ./gradlew rebuildPatches
, and Gradle will
place a patch in the patches folder. Modifying commits will also modify their
corresponding patch file(s).
See CONTRIBUTING.md for more detailed information.
Compiling🔗
Use the command ./gradlew build
to build the api and server. Gradle will place compiled jars
under Purpur-API/build/libs
and Purpur-Server/build/libs
.
To get a purpurclip jar, run ./gradlew paperclip
.
To install the purpur-api
and purpur
dependencies to your local maven repo, run ./gradlew publishToMavenLocal