MinecraftServerControl / mscs

Powerful command-line control for UNIX and Linux powered Minecraft servers
https://minecraftservercontrol.github.io
BSD 2-Clause "Simplified" License
485 stars 62 forks source link

Update function should support alternative servers better #261

Open sandain opened 3 years ago

sandain commented 3 years ago

The current update function really only works well for vanilla release and snapshot servers. Other server types could be defined in mscs-version-type (e.g. bungeecord, forge, spigot, etc.) and used in the update function to allow for updating these alternative server types. This could greatly simplify our documentation and make server management much easier.

Issue noted by @Omig12. See https://github.com/MinecraftServerControl/MinecraftServerControl.github.io/issues/1

sandain commented 3 years ago

As noted in Issue #273 by @Xarius86, the PaperMC API can be found at: https://papermc.io/api/docs/swagger-ui/index.html?configUrl=/api/openapi/swagger-config

sandain commented 3 years ago

The current PaperMC API requires two https requests to download the latest server: