AutoPlug-Client icon indicating copy to clipboard operation
AutoPlug-Client copied to clipboard

Adding PandaSpigot to Server Software

Open Minionguyjpro opened this issue 1 year ago • 5 comments

Importance: 7/10

Problem: I would like to use PandaSpigot along with AutoPlug, which is a well maintained fork of Paper for Minecraft 1.8.8.

Solution: Add the feature, it shouldn't be so hard since there is an API for it available at https://downloads.hpfxd.com which seems based on OpenAPI and using GET requests stuff can be retrieved.

Minionguyjpro avatar Sep 21 '24 09:09 Minionguyjpro

I will try looking into this, if you can give me the direction of the existing ones that use this maybe. I am pretty sure Paper or something itself also uses this API to retrieve stuff?

Minionguyjpro avatar Sep 21 '24 09:09 Minionguyjpro

Found out the external MCServerUpdater library is responsible for this, I will try and see if I can make changes at them and then PR them into there.

EDIT: This is very easy, the API works the exact same as the one of Paper does! Am right now making changes to the MCServerUpdater repository using the fork to add PandaSpigot.

Minionguyjpro avatar Sep 21 '24 10:09 Minionguyjpro

Changes are made and it's working! I hope it to get merged into MCServerUpdater soon. As soon as that library gets a new release, the only thing that needs to happen here is to upgrade the version of the library linked to the AutoPlug-Client project, and edit the comment of the Java code generating the updater.yml config using dyml to include the new possible value and done!

Minionguyjpro avatar Sep 21 '24 11:09 Minionguyjpro

Great! My PR got merged. Now it's pure time to wait for the next release of their library.

Minionguyjpro avatar Sep 21 '24 14:09 Minionguyjpro

@Minionguyjpro nice while you are at it, if you are interested take a look at the other open issues over there

Osiris-Team avatar Sep 21 '24 14:09 Osiris-Team

As we know this has now been integrated by #264

Minionguyjpro avatar Oct 01 '24 18:10 Minionguyjpro