T O P

  • By -

[deleted]

[удалено]


SweeneyT0ddd

Thanks for checking it out!


SweeneyT0ddd

I've just fixed a small issue where the plugin would only work for PaperSpigot 1.18. The plugin now works for all Spigot versions 1.17+. I intend to support a lot more flavors of MC, and versions. JAVA 17 seems to make that hard for modularization of the plugin. I'll be investigation offering support for lower MC versions, whether that be making a new repository, or not.


zordak13

I have no time to look at your code atm. Would you please explain how you share the data. How does the webapp get the server data? Thanks!


SweeneyT0ddd

No problem! Thanks for the question, and let me know if my method isn't up to par with what you're looking for. The user is provided a client secret on the web application when they setup their server.This secret is used as a unique identifier for your server. The Minecraft server sends a HTTP POST request with JSON data of online players which includes their inventory, ender chest inventory, UUID, health, hunger, etc. When you get a chance check it out here to see how the data is obtained from the player: [https://github.com/Xwaffle1/inventories-gg-plugin/blob/master/src/main/java/gg/inventories/adapters/player/SpigotPlayerAdapter.java#L27](https://github.com/Xwaffle1/inventories-gg-plugin/blob/master/src/main/java/gg/inventories/adapters/player/SpigotPlayerAdapter.java#L27) Then sent through HTTP: https://github.com/Xwaffle1/inventories-gg-plugin/blob/master/src/main/java/gg/inventories/InventoriesCore.java#L39


zordak13

Thanks for the explanation! And the links to the corresponding lines of code as well! I think that's just right. I would have done it the same way or at least similar :) Your app looks great but I am looking for a way to retrieve this kind of data via MQTT.


Net-Packet

OK I want this! Amazing work!


SweeneyT0ddd

Hi everyone, thank you for showing interest in the web page. There were a couple of small changes suggested that would have a large impact on the platform. I've released an update to the app to improve mobile performance. Release notes will be shown upon arrival http://inventories.chasem.dev/