Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Mod-Support for Server Mods #86

Merged
merged 3 commits into from
Oct 22, 2023
Merged

Conversation

Tandashi
Copy link
Contributor

The Launcher now does the following before starting the game:

  1. It clean the old installed mods from the game directory
  2. It checks if mods for the server exist
  3. If so it checks if a version.json file exists for the server
  4. It checks if the version.json mod versions match the servers AuthProxys List
  5. It downloads the mods from the AuthProxy Endpoint /mods/download
    if there is a version mismatch or nothing exists yet
  6. It copies the files into the game directory

The Launcher downloads the server files into the base directory under downloads/mods/:server-name and stores the version file in downloads/mods/:server-name/version.json.

**The Launcher now does the following before starting the game**:
1. It clean the old installed mods from the game directory
2. It checks if mods for the server exist
3. If so it checks if a `version.json` file exists for the server
4. It checks if the `version.json` mod versions match the servers AuthProxys List
5. It downloads the mods from the AuthProxy Endpoint `/mods/download`
if there is a version mismatch or nothing exists yet
6. It copies the files into the game directory

The Launcher downloads the server files into the base directory under
`downloads/mods/:server-name` and stores the version file in
`downloads/mods/:server-name/version.json`.
@Ipmake Ipmake merged commit a61556f into version2 Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants