High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies https://papermc.io/
Find a file
PepperCode1 9f4055d993 Fix harming potion dupe
EntityLiving#applyInstantEffect() immediately kills the player and drops their inventory.
Before this patch, instant effects would be applied before the potion ItemStack is removed and replaced with a glass bottle. This caused the potion ItemStack to be dropped before it was supposed to be removed from the inventory. It also caused the glass bottle to be put into a dead player's inventory.
This patch makes it so that instant effects are applied after the potion ItemStack is removed, and the glass bottle is only put into the player's inventory if the player is not dead. Otherwise, the glass bottle is dropped on the ground.
2020-12-31 18:43:21 +01:00
.github [ci skip] add stale bot configuration 2020-12-02 12:31:32 -08:00
licenses [CI-SKIP] Clarify project licensing 2018-03-06 20:41:03 -05:00
Paper-MojangAPI Updated Upstream (Bukkit/CraftBukkit/Spigot) (#4728) 2020-11-02 20:22:15 -06:00
removed Port Eigencraft to 1.16 2020-08-28 13:38:55 +02:00
scripts Optimize Dynamic#get Missing Keys 2020-12-21 11:03:36 -05:00
Spigot-API-Patches Additional Block Material API's 2020-12-30 19:43:45 -05:00
Spigot-Server-Patches Fix harming potion dupe 2020-12-31 18:43:21 +01:00
work [Auto] Updated Upstream (CraftBukkit) 2020-12-28 16:57:08 -05:00
.editorconfig [CI-SKIP] add .editorconfig for base code style settings 2018-08-07 01:14:22 -04:00
.gitignore Fix ./paper edit continue for Windows 2020-05-19 23:14:34 -04:00
.gitmodules Cleanup and restructure the project 2016-04-01 23:15:41 -05:00
CONTRIBUTING.md [CI-SKIP] Add curl requirement for building paper. (#4768) 2020-11-15 16:42:05 -06:00
LICENSE.md Add PlayerItemCooldownEvent 2020-12-02 21:26:12 +01:00
paper 1.16.2 Release (#4123) 2020-08-24 22:40:19 -04:00
pom.xml Implement Brigadier Mojang API 2020-04-27 01:42:12 -04:00
README.md [CI-SKIP] Update IRC information in readme and config (#4751) 2020-11-10 09:15:03 +01:00
UPDATE_NOTES.md Updated Upstream (Bukkit/CraftBukkit/Spigot) (#4728) 2020-11-02 20:22:15 -06:00

Paper Build Status

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 Paper from our downloads page.

Run the Paperclip jar directly from your server. Just like old times

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.16.4-R0.1-SNAPSHOT</version>
    <scope>provided</scope>
</dependency>

Or alternatively, with Gradle:

  • Repository:
repositories {
    maven {
        url 'https://papermc.io/repo/repository/maven-public/'
    }
}
  • Artifact:
dependencies {
    compileOnly 'com.destroystokyo.paper:paper-api:1.16.4-R0.1-SNAPSHOT'
}

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-Logo

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.