Commit Graph

59 Commits

Author SHA1 Message Date
Aikar
41e6073ced [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:
afa0678e1 SPIGOT-6133: Chorus fruit consumption calls PlayerTeleportEvent multiple times
2021-05-24 18:37:30 -04:00
Jason
1f28e6eeb2 Fix default ChatRenderer when no plugins are installed (#5702) 2021-05-21 21:08:18 -04:00
Jason
ecb0d32cae Enhance (Async)ChatEvent with per-viewer rendering API (#5684) 2021-05-21 15:55:54 -07: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
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
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
Jake Potrebic
25edfe58b2 Remove unneeded component conversion for kick msg (#5626) 2021-05-14 12:52:03 +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
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
Jake Potrebic
aeb6e7dd25 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5601) 2021-05-09 21:50:09 +01:00
jmp
0aea6c2ff3 Use JsonSerializationContext#serialize instead of recursion for AdventureComponents - fixes #5580 and #5371 2021-05-07 00:49:41 -07:00
Shane Freeder
2a67a9e512 Fix missing CraftMetaBook#toBuilder override 2021-05-06 17:37:09 +01:00
Jake Potrebic
91ef740292 Updated Upstream (Spigot) (#5550)
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

Spigot Changes:
4225eac0 SPIGOT-6423: Improve IP forwarding
2021-04-28 00:38:35 +01:00
Aikar
d219fd642f [Auto] Updated Upstream (Bukkit/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

Bukkit Changes:
6bff9d09 #508: Add PlayerBucketFishEvent

CraftBukkit Changes:
a8d7c94a5 SPIGOT-6434: Smithing Table and Anvil inventories .getType() returns CRAFTING
c5494d195 #683: Add PlayerBucketFishEvent
2021-04-24 18:47:20 -04:00
Prof-Bloodstone
d94882043d Fix legacyComposer not using AsyncChatEvent messages (#5509) 2021-04-22 20:28:22 +02:00
Jason
711b7a80bf Expose more Adventure serializers through PaperComponents (#5443) 2021-04-22 14:48:49 +02:00
Riley Park
6574d1aa82 fix #5526 - use correct type when sending message to clients 2021-04-21 18:31:45 -07:00
MiniDigger | Martin
0fb8bdf0e0 Updated Upstream (Bukkit/CraftBukkit) (#5508)
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:
14883d6b SPIGOT-6078: Add SmithItemEvent and expand SmithingInventory API

CraftBukkit Changes:
115244c7 SPIGOT-6078: Add SmithItemEvent and expand SmithingInventory API
2021-04-18 09:02:48 +00:00
Aikar
c953e51dd7 [Auto] Updated Upstream (CraftBukkit/Spigot)
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:
221aed6cf SPIGOT-6413: Server Corruption Changing Blocks in Piston Events
721c4966b SPIGOT-6411: The PlayerEditBookEvent is not called when the player edits a book in the off-hand.
be0e94581 Add mc-dev imports

Spigot Changes:
a25e8ed2 Remove mc-dev imports
2021-04-07 01:17:32 -04:00
Professor Bloodstone
a111b13655 Send post ChatEvent messages as MessageType.CHAT
Fixes narrator issue #5450
2021-04-04 22:51:24 +02:00
Riley Park
000cec2ab2 bug #5432 - post modern event even if legacy event is cancelled
fixes #5432
2021-03-29 19:20:24 -07:00
Jason
68af93524c Use PaperAdventure.PLAIN instead of PlainComponentSerializer.plain() for AdventureComponent#getString (#5414) 2021-03-25 17:01:59 -07:00
Riley Park
de94f64850 Refactor chat message composition (#5396)
fixes #5395
2021-03-21 13:47:13 -07:00
Mariell Hoversholm
347f3a9b87 fix compile 2021-03-18 18:03:22 +01:00
Mariell Hoversholm
700e9e6a56 rebase 2021-03-18 18:03:22 +01:00
jmp
1718f61bf8 Updated Upstream (CraftBukkit/Spigot)
Doesn't compile yet.

CraftBukkit Changes:
90d6905b Repackage NMS
69cf961d Repackage patches

Spigot Changes:
79d53c28 Repackage NMS
2021-03-18 18:03:22 +01:00
Riley Park
d4532f7e70 bug #5373 - fix AsyncChatEvent not being posted when processing a legacy APCE continuation 2021-03-16 11:57:34 -07:00
Riley Park
fd3c66a913 bug #5362 - correctly pass "render type" when registering a new scoreboard objective
fixes #5362
2021-03-14 12:04:55 -07:00
Riley Park
2dcf8bff4f legacy formatting will be the death of me 2021-03-09 10:03:27 -08:00
Riley Park
f597fea0de legacy formatting is worse than walking around in wet socks 2021-03-09 09:27:12 -08:00
Riley Park
7f72c4675b Use implementation-provided legacy serializer for events 2021-03-08 17:11:17 -08:00
Riley Park
27a8d99ec4 Adventure 4.7.0 2021-03-08 16:44:40 -08:00
Mariell Hoversholm
e65bd35a12 Respect teams in legacy chat name if configured (#5321) 2021-03-08 15:14:49 -08:00
Josh Roy
b31089a929 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5325)
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:
d264e972 #591: Add option for a consumer before spawning an item
1c537fce #590: Add spawn and transform reasons for piglin zombification.

CraftBukkit Changes:
ee5006d1 #810: Add option for a consumer before spawning an item
f6a39d3c #809: Add spawn and transform reasons for piglin zombification.
0c24068a Organise imports

Spigot Changes:
bff52619 Organise imports
2021-03-08 15:12:31 -08:00
Riley Park
a52b30814f Fix title swapping fadeIn and stay 2021-03-08 12:38:00 -08:00
Josh Roy
4c9bdf53ac Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5299)
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:
9d0ad318 Fix javadoc errors in previous commits
9501daa2 #578: Add methods to modify the rate of regeneration and starvation
197d8f3d #577: Add EntityExhaustionEvent

CraftBukkit Changes:
a021e334 #795: Add methods to modify the rate of regeneration and starvation
509e523c #792: Add EntityExhaustionEvent

Spigot Changes:
db99f821 Rebuild patches
2021-03-03 14:43:45 -08:00
MiniDigger
5b5989b213 fix nullability of playerlist header/footer, closes #5290 2021-03-03 20:14:05 +01:00
Riley Park
60e92c061b fix #5292 with help from @JRoy 2021-03-02 08:39:36 -08:00
Riley Park
9907cedecb New chat events for better Adventure support (#5289)
Bump Adventure to 4.6.0

fixes #5216
fixes #5261
fixes #5287
2021-03-01 19:07:12 -08:00
Riley Park
df4c68b669 fix #5279 - clickable links again 2021-02-28 18:40:19 -08:00
Mariell Hoversholm
2dd5dccf00 Add config option for displayname in quit message (#5260)
This restores the behaviour to vanilla by default, but may be changed if
one wants to.

Fixes #5259.
2021-02-26 17:54:48 +00:00
Aikar
ca4c781d83 [Auto] Updated Upstream (Bukkit/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

Bukkit Changes:
95ff95ed #588: Add Player#sendBlockDamage()

CraftBukkit Changes:
ea050e6e9 #807: Add Player#sendBlockDamage()
2021-02-24 04:32:17 -05:00
Riley Park
6ae2121257 Display name should never be null 2021-02-23 16:48:02 -08:00
Riley Park
aa282a1a04 Don't try to deserialize a null string in legacy method 2021-02-23 13:40:49 -08:00
Jason
a2574d8f5e Replace usages of LegacyComponentSerializer.legacySection() in Paper-Server with PaperAdventure.LEGACY_SECTION_UXRC (#5233) 2021-02-23 05:45:09 -08:00
Jason
cae142b85d Enable Hex colors on PaperAdventure.LEGACY_SECTION_UXRC, and use it for sending messages to console command sender (#5230)
This fixes messages to console having colors stripped, and also fixes colors being downsampled in PlayerConnection#disconnect(String)
2021-02-22 22:43:49 -08:00