Skip to content

Map downloading / Map Server #67

Description

@Longor1996

Add a new GUI that can download maps from a URL or a server holding a map-index.

This should be relatively easy: Paste in URL, download zip file, extract to map folder.

The map index is harder, cause it needs a server without a rate-limit, which requires money that none of the TC-Team has. This is no longer an issue. @Longor1996 has a webserver.


Steps to implement:

  • Serverside (PHP):
    • Create database for all things TaleCraft.
    • Create table to hold all the maps.
      • What data should be stored per map?
        • Name, Author, Details
        • Map & TC version, Size
        • Thumbnail?
        • Screenshots?
        • Required extra mods?
    • Create endpoint to query the table.
    • Create frontend to upload maps.
  • Clientside (Java):
    • Create a new GUIScreen.
    • Query endpoint for map downloads.
    • Somehow mark already downloaded maps.
    • Add GUIScreen to see all details of the map.
    • Make it possible to download maps in-game into a downloads directory.
    • Make it possible to delete downloaded maps from the downloads directory.
    • Make it possible to 'play' a map by copying&unpacking it from /downloads to /saves.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions