Osiris-Team / AutoPlug-Client

Server manager with automatic plugin- mod- server- java- self- updater, scheduled restarts, automatic backups, shared folders, and many more handy features to automate/boost your server maintenance.
https://autoplug.one/
MIT License
56 stars 23 forks source link

Adding PandaSpigot to Server Software #263

Open Minionguyjpro opened 2 hours ago

Minionguyjpro commented 2 hours ago

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 commented 2 hours ago

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 commented 1 hour ago

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 commented 28 minutes ago

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!