Commit graph

120 commits

Author SHA1 Message Date
Video
77cc5f291f Better handling of invalid JSON components
This commit has some behavioral changes!

An issue regarding the treatment of invalid JSON components was raised this morning. This commit changes the behavior for many things using the component system to instead replace the invalid JSON with text saying "** Invalid JSON Component **". Some things will not do this (e.g. the conversion process).

Here's a list of things that are affected by this change:
- Hover event components (specifically, the show_entity action)
- NBT components
- Entity names
- Beacons
- Enchantment tables
- Scoreboard save data loading
2022-03-28 15:17:49 -06:00
ayunami2000
dbfbd9bca9 patch server side chunkbans 2022-03-28 17:07:28 -04:00
Telesphoreo
83cbb45e49 Attempt to fix security warnings 2022-03-26 23:25:45 -05:00
Telesphoreo
c2447a2967 Delete 0001-Add-getCommit-method-to-Bukkit.patch 2022-03-26 23:24:28 -05:00
Telesphoreo
a9ff8bbf56 This time it really works, trust me 2022-03-26 23:03:57 -05:00
Telesphoreo
b633a0b588 Force the exception so we do use Git 2022-03-26 22:34:10 -05:00
Telesphoreo
c50ed524ed Don't rely on Jenkins / Paper API 2022-03-26 22:13:07 -05:00
Telesphoreo
5ecc13f8e7 Create 0017-Change-version-fetcher-to-AMG.patch 2022-03-26 22:00:15 -05:00
Telesphoreo
148c864c28 Add NBT to dev imports 2022-03-26 21:31:26 -05:00
Telesphoreo
cd6898a9b0
Update README.md 2022-03-23 23:54:11 -05:00
Paldiu
de72c29550
Merge pull request #5 from LunaWasFlaggedAgain/main
Do not log invalid items in HoverEvent and ItemFrame
2022-03-22 03:59:58 -05:00
Video
d929190ea2 I'm fucking retarded 2022-03-20 11:40:17 -06:00
Luna
0afb6fef8d
Merge branch 'AtlasMediaGroup:main' into main 2022-03-20 13:43:40 -03:00
Luna
330a8ac936
t 2022-03-20 13:43:35 -03:00
Video
dcef1afe08 A better solution
Realized what they are doing. Will rename commit later
2022-03-20 08:38:11 -06:00
Video
72b2109450 Validate coordinates before attempting to get block entities when handling Creative Inventory packets 2022-03-20 07:49:57 -06:00
Video
1a748f754c Downgrades Paperclip to 2.0.1
Now you can actually create functional paperclip jars.
2022-03-20 06:32:37 -06:00
Luna
57b96d20af Do not log invalid items in HoverEvent and ItemFrame 2022-03-20 09:31:54 -03:00
Video
ca57c181e4 Fixes crash exploit related to out of bounds Axolotl variants 2022-03-20 04:41:32 -06:00
Video
529a33f1be Even more ResourceLocation validation and log spam fixes 2022-03-20 04:21:47 -06:00
Video
2b36e3b591 Even more resource location validation 2022-03-14 00:52:57 -06:00
Video
bca07e92bc Validates BlockState and SoundEvent values 2022-03-13 22:07:59 -06:00
Video
9639d51c31 Additional fixes related to Knowledge Books
Missed a spot.
2022-03-13 21:12:08 -06:00
Video
61cce5a83c Fixes Knowledge Books causing log spam when invalid data is provided
the game of whack-a-mole continues
2022-03-13 18:47:15 -06:00
Video
ac6b6f77ee
Merge pull request #4 from LunaWasFlaggedAgain/main
ItemEntity - Check if items are air before calling setItem
2022-03-13 18:28:17 -06:00
Luna
128fa39f5a ItemEntity - Check if items are air before calling setItem 2022-03-13 14:39:58 -03:00
Video
82c566c108 Ignore errors thrown when trying to remove minecart entities with content in them
Just for good measure...
2022-03-13 08:16:59 -06:00
Video
844df73f12
Merge pull request #3 from LunaWasFlaggedAgain/main
Ignore null/air bundle items in CraftMetaBundle
2022-03-13 08:11:55 -06:00
Luna
cc3776b0b4 Ignore null/air bundle items in CraftMetaBundle 2022-03-13 11:08:25 -03:00
Video
28312aba85 Removes useless spammy error logging
we're playing wack-a-mole
2022-03-13 08:00:06 -06:00
Video
347ea8905c Fixes invalid LootTables causing problems when applied to Minecart entities 2022-03-13 07:43:47 -06:00
Video
eabbb65766 Fixes log spam caused by invalid entities in beehives 2022-03-13 06:12:45 -06:00
Video
97d0a98f49 The project now builds properly
Version 1.3.4 of Paperweight does not work with 1.17.x completely. Reverting to 1.2.0, however, fixes the problem.
2022-03-13 04:52:24 -06:00
Video
8de4abc61b Fixes the Blank SkullOwner exploit 2022-03-13 04:49:46 -06:00
Video
3def4e2324
Merge pull request #2 from AtlasMediaGroup/invalid-hover-uuid
Return null when a show_entity hover event's UUID isn't valid
2022-03-13 00:27:37 -07:00
Video
b9f5db4717 Return null when a show_entity hover event's UUID isn't valid
Fixes a server-crashing exploit regarding dispensing a shulker box with specially-crafted JSON components.
2022-03-12 20:27:30 -07:00
Video
b8f1e68869
Merge pull request #1 from LunaWasFlaggedAgain/main
Downgrade to 1.17.1 + Rebrand
2022-03-12 18:50:40 -07:00
Luna
49f7f4f21d Downgrade to 1.17.1 + Rebrand 2022-03-12 22:39:38 -03:00
Jason Penilla
90efbbe385
Update gradle plugins and remapper 2022-01-27 13:24:04 -07:00
Jason Penilla
c197882df1
update paperweight, gradle wrapper, and shadow 2021-12-23 19:56:45 -08:00
Jason Penilla
74b34eec95
Lowercase project names and exclude paper-api from paper-mojangapi 2021-12-02 20:58:35 -08:00
Jason Penilla
ad960f72e1
Update upstream 2021-12-02 00:00:38 -08:00
Jason Penilla
53dbd2bc9c
Update upstream & paperweight to 1.2.0 2021-11-16 21:27:00 -08:00
Jason Penilla
4881c096bc
Add blank reobf-mappings-patch.tiny 2021-11-03 21:34:49 -07:00
Jason Penilla
a46006e2be
Update upstream & paperweight to 1.1.14 2021-11-03 20:56:54 -07:00
Jason Penilla
ec10cc7b81
Update upstream & paperweight to 1.1.13 2021-11-03 19:59:43 -07:00
Jason Penilla
1a5f02ce1b
Update upstream 2021-10-08 22:39:53 -07:00
Jason Penilla
e0a85eb4c9
Update shadow to 7.1.0 2021-10-08 22:38:07 -07:00
Jason Penilla
fe0ed1609c
Update upstream & paperweight to 1.1.12 2021-10-02 18:58:17 -07:00
Jason Penilla
a90d11e921
Update upstream 2021-09-24 19:10:14 -07:00