Replies: 1 comment 1 reply
-
|
All the source is available on the repo. In the modern version of IRP data is first encoded using Mojang's NBT store, then gzip compressed, then base64 encoded for storage. It seems you have made it back to the NBT encoding. To decode that you will need to interface with an actual mojang based server (paper, spigot, etc will work). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
First of all, thank you for your work on the IRP plugin - it's really useful!
I'm currently working on a small project that displays player inventories on a web interface using data from the MySQL database where IRP stores them. However, I'm having trouble decoding the inventory data correctly.
Could you please explain to me how the inventory is stored, or maybe share how I could convert the stored inventory data into something more readable, like JSON?
Even just an idea of the serialization or compression used would really help. I've tried a lot and haven't been very successful, I've even created an API with spigot-api in Java to help but still nothing.
Thanks in advance for any help you can offer me!
Best regards,

Hanis03
Beta Was this translation helpful? Give feedback.
All reactions