Deleting Server Packs In The Webservice
Deleting Server Packs in the Webservice
Since Server Packs generated by the webservice of ServerPackCreator are meant to be served internally, there is currently no comfortable way of deleting them from the web-ui. Such a functionality may come in a later version, though. If you have a good idea, let me know via Discord or an issue on GitHub.
That being said: You can delete a server pack by removing the corresponding file from the filesystem.
Connect to the database using your favourite software
List the entries in the
server_pack
-tableIdentify the server pack you want to remove. You may use the ID in the table in combination with the webui for this, for example.
Note down the
fileid
of the desired server packDelete the server pack from the
server-packs
-directory which has the previously noted ID as its name.Wait till the
de.griefed.serverpackcreator.spring.schedules.database.cleanup
-schedule runs. The server pack will be deleted from the database.