Commit Graph

5927 Commits

Author SHA1 Message Date
jmp aae1c54a98 Add command line option to load extra plugin jars not in the plugins folder
ex: java -jar paperclip.jar nogui -add-plugin=/path/to/plugin.jar -add-plugin=/path/to/another/plugin_jar.jar
2021-05-18 21:37:25 -07:00
Riley Park 322886c869
Avoid NPE due to PlayerBedFailEnterEvent
fixes #5670
2021-05-18 08:58:07 -07:00
Jake Potrebic d3c9a195cb
removed duplicate ProjectileHitEvent for fireball (#5671) 2021-05-18 17:54:12 +02:00
Jake Potrebic 7989028a53
More Enchantment API (#5588) 2021-05-18 11:30:19 +02:00
Jake Potrebic c0cb5c129c
Adds methods for checking item repairability (#5651) 2021-05-18 10:57:33 +02:00
Jake Potrebic 22399b07f8
Actually use extended/ambient in BeaconEffectEvent (#5647) 2021-05-18 08:43:46 +00:00
Jake Potrebic 979135878c
Add cause and cancel message to PlayerGameModeChangeEvent (#5638) 2021-05-18 10:35:39 +02:00
LemonCaramel 51e1e58d2c
Fix Adventure support in UnknownCommandEvent (#5664) 2021-05-18 04:54:25 +00:00
Aikar 45e19ffb00
[Auto] Updated Upstream (CraftBukkit)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

CraftBukkit Changes:
cc21bae97 SPIGOT-5569: Call WorldInitEvent before any chunks are getting generated
2021-05-17 18:32:29 -04:00
Emily 1514576281
Fix Counter#decrement recursive call (#5665) 2021-05-17 18:19:02 +00:00
Aikar 21ac7dc988
[Auto] Updated Upstream (CraftBukkit)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

CraftBukkit Changes:
1e8c432cd #816: Prevent duplicate slash removal for console / block commands
2021-05-17 04:22:25 -04:00
Riley Park 18ad2c9ddb
Add environment variable (PAPER_DISABLE_SERVER_GUI) to disable server gui 2021-05-17 00:39:56 -07:00
Nassim 6ecbe57765
Rename leftover resource->datapack (#5662) 2021-05-17 07:59:20 +01:00
Riley Park ec90a78595
I give up on trying to teach people to avoid the incorrect ways. 2021-05-16 23:54:43 -07:00
Kacper Płażewski dc7b7a1600
Fix missing username console death message (#5654) (#5658) 2021-05-16 22:31:40 +00:00
Connor Linfoot c639a52a69
Add basic Datapack API (#5653) (#5653) 2021-05-16 16:09:46 -04:00
Nassim 99c1d9da6d
Updated Upstream (CraftBukkit) (#5652)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

CraftBukkit Changes:
5b0e2d2d Move additional dependencies to runtime scope
2021-05-16 16:35:49 +00:00
Jake Potrebic 2d50c17e2d
[CI-SKIP] Add PR rebasing steps (#5634) 2021-05-16 16:29:19 +00:00
Owen1212055 2c5f8085ea
Remove boat interaction event (Fixes #5539) 2021-05-16 11:08:31 +01:00
Jake Potrebic 96ee1fb8fb
fix WorldSaveEvent not firing with /save-all (#5650) 2021-05-16 04:51:19 +00:00
Jake Potrebic e90e7829ee
remove unneeded patch (#5641) 2021-05-15 23:42:36 +00:00
Riley Park d875bacc28
Activate warning by default when people are doing silly things (#5642) 2021-05-15 15:56:38 -07:00
Jake Potrebic cb896d4710
Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5643)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
146a7e4b SPIGOT-5345: Add automatic library support

CraftBukkit Changes:
b1064c69 Remove sisu annotation processor from jar
32e40866 SPIGOT-6189: Persistent data disappears when calling setFacingDirection on an item frame
d189f78b # 827: Trigger vanilla dimension advancements in non-main worlds
5bbb4a65 Add plumbing for automatic library support

Spigot Changes:
9fb885e8 Rebuild patches
2021-05-15 22:52:07 +00:00
Shane Freeder ecbf5a38e5
Revert "Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5636)"
This reverts commit 20fc4ab700.
2021-05-15 22:10:57 +01:00
Jake Potrebic 20fc4ab700
Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5636)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
146a7e4b SPIGOT-5345: Add automatic library support

CraftBukkit Changes:
b1064c69 Remove sisu annotation processor from jar
32e40866 SPIGOT-6189: Persistent data disappears when calling setFacingDirection on an item frame
d189f78b #827: Trigger vanilla dimension advancements in non-main worlds
5bbb4a65 Add plumbing for automatic library support

Spigot Changes:
9fb885e8 Rebuild patches
2021-05-15 21:36:15 +01:00
Sceri 20d8812ea5
Fix CraftPotionBrewer cache (#5632) 2021-05-14 22:35:12 +02:00
MeFisto94 cd6ae8816e
Add a "Should Burn in Sunlight" API for Phantoms and Skeletons (#5608) 2021-05-14 13:09:30 +00:00
Jake Potrebic 25edfe58b2
Remove unneeded component conversion for kick msg (#5626) 2021-05-14 12:52:03 +00:00
Jake Potrebic cec386f66c
Call PortalCreateEvent when players enter the end (#5618) 2021-05-14 12:43:41 +00:00
Jason 453c7f05c7
Add ItemStack#displayName to get the formatted display name of an ItemStack (#5628)
The display name includes formatting such as item hover event, display name (in italics if renamed in anvil), and color based on rarity.

This is what vanilla uses for give command feedback, and when an item is shown in a death message.
2021-05-12 23:16:33 -07:00
Nassim 4efe8b498b
Update Java version warning (#5621) 2021-05-12 15:58:21 +02:00
Jake Potrebic e0a021ccc6
Add ItemStack#getTranslationKey() (#5616) 2021-05-12 13:12:28 +02:00
Owen1212055 53d71b7179
Add setPotionUseTimeLeft to Witch (#5597) 2021-05-12 09:45:06 +00:00
Jake Potrebic 239935d183
Add Inventory#close (#5610) 2021-05-12 11:39:22 +02:00
Jake Potrebic 29bf6cd416 Updated Upstream (CraftBukkit)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

CraftBukkit Changes:
51e2981b #831: Reload unloaded main worlds correctly
2021-05-12 11:26:31 +02:00
Connor Linfoot ad45f316cd
Add raw address to AsyncPlayerPreLoginEvent (#5614) 2021-05-12 10:57:54 +02:00
Aikar 28865335a5
[Auto] Updated Upstream (CraftBukkit)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

CraftBukkit Changes:
59e2ce9b7 SPIGOT-6224: EntityBreedEvent getEntity location inaccuracy
2021-05-11 04:42:31 -04:00
Jason 750049fa2b
Fix incorrect colors in some log messages (#5609)
CraftChatMessage.fromComponent fails to take into account the style of TranslatableComponent args, causing any styling on args to be completely ignored.

Fixing this is relatively simple, however would cause behavior to deviate from upstream. This commit will fix the coloring in messages logged through MinecraftServer.LOGGER by simply using Adventure's legacy text serializer, which properly serializes TranslatableComponents and their arguments. Note that this doesn't do anything about the underlying issue of CraftChatMessage.fromComponent improperly serializing TranslatableComponents.
2021-05-10 20:47:51 -07:00
Alvinn8 c5fa3f0d4c
Add Adventure message to PlayerAdvancementDoneEvent (#5030)
* Add Adventure message to PlayerAdvancementDoneEvent

* Add obfuscation helpers

* Renumber patches
2021-05-10 17:56:36 -07:00
Jake Potrebic 69c09cdb00
Updated Upstream (CraftBukkit) (#5607)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

CraftBukkit Changes:
e1a6197e SPIGOT-5565: Animals still spawn from chunk gen when spawn-animals=false
2021-05-11 00:22:11 +01:00
Owen1212055 b3cc88799f
Add the ability to clear entities from block storage (#5598) 2021-05-10 07:33:39 +00:00
Jake Potrebic f50171f3bb
Add missing rarity method on ItemStack (#5594) 2021-05-10 07:25:35 +00:00
Jake Potrebic aeb6e7dd25
Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5601) 2021-05-09 21:50:09 +01:00
Gergely Sarkozi b0a4f353b9
fix cancelling block falling causing client desync (fixes #5386) (#5419) 2021-05-09 21:40:50 +01:00
Jason 8ed45920cf
Don't annotate type parameters using JetBrains annotations (#5600) 2021-05-09 02:36:53 +00:00
TwoLeggedCat d7625d926d
Add new methods from PlayerMoveEvent to EntityMoveEvent (#5591) 2021-05-08 10:25:30 +02:00
Jason 29785297b5
Allow for Component suggestion tooltips in AsyncTabCompleteEvent (#5504) 2021-05-07 23:12:03 +00:00
jmp 0aea6c2ff3 Use JsonSerializationContext#serialize instead of recursion for AdventureComponents - fixes #5580 and #5371 2021-05-07 00:49:41 -07:00
Jason 8fcef3c1f6
Return after sending empty commands (#5586) 2021-05-07 00:25:29 +01:00
Shane Freeder 2a67a9e512
Fix missing CraftMetaBook#toBuilder override 2021-05-06 17:37:09 +01:00