PurpurMC / Purpur

Purpur is a drop-in replacement for Paper servers designed for configurability, and new fun and exciting gameplay features.
https://purpurmc.org
MIT License
2.05k stars 362 forks source link

Using essentialsx /kit featuring a signed book causes an insta discconect, can be abused to duplicate items. #1556

Closed AdaptableRuben closed 4 months ago

AdaptableRuben commented 4 months ago

Spark link

https://spark.lucko.me/OJy0T4dRb0

Expected behavior

Should be able to get the book from the kit without any issues

Observed/Actual behavior

You get disconnected and the playerdata fails to save causing it rollback to the point where you last logged off

Steps/models to reproduce

  1. Install a server with purpurmc

  2. Install essentialsX and Purpurmc on the server or every plugin in this screenshot if possible 2024-07-14_09 44 58

  3. Write and sign a book

  4. create a kit with the book with /createkit (name) (time)

  5. Redeem the kit with /kit (name)

  6. See the error happened

Note: This error does not happen in a locally hosted server, you must use an offsite server for it to work.

Purpur version

Current Purpur Version: 1.21-2261-14136b8 (MC: 1.21)*

Agreements

Other

This issue might be related to other plugins like Essentialx or Procollib since im using dev version installs to update the server to 1.21 earlier.

Error from console: https://pastebin.com/T67Kwh43

granny commented 4 months ago

Known Paper issue. This has already been fixed by them, so next time I pull upstream the fix will be in Purpur.

AdaptableRuben commented 4 months ago

Great