Skip to content

Add update server resources#4878

Open
omar-o22 wants to merge 2 commits intomultitheftauto:masterfrom
omar-o22:update-server-resources
Open

Add update server resources#4878
omar-o22 wants to merge 2 commits intomultitheftauto:masterfrom
omar-o22:update-server-resources

Conversation

@omar-o22
Copy link
Copy Markdown
Contributor

@omar-o22 omar-o22 commented May 2, 2026

Summary

Added an "Update server resources" button to the Local Server (Host game) menu, This allows users to download and extract the latest official mtasa-resources archive directly into their local server folder, Added new error code CC90.

Motivation

Closes #2324

Test plan

  1. Open the "Host game" menu from the main menu.
  2. Go to the General tab and click the new "Update server resources" button.
  3. The button should switch to "Downloading..."
  4. Wait for the download to finish

Checklist

  • Your code should follow the coding guidelines.
  • Smaller pull requests are easier to review. If your pull request is beefy, your pull request should be reviewable commit-by-commit.

@Fernando-A-Rocha
Copy link
Copy Markdown
Contributor

I feel like many people just click the Map Editor main menu button to launch the editor, and will never get to use Host Game and see that update button.

It would be smart to have a popup asking the user to install an update to the resources when they click the Map Editor button, if an update is available.

@Fernando-A-Rocha
Copy link
Copy Markdown
Contributor

Tbh since Map Editor main menu hutton essentially launches a Host Game with the editor resource on startup, the Map Editor button could be moved inside the Host Game panel 😁

Then people would notice the Update resources button lol

@omar-o22
Copy link
Copy Markdown
Contributor Author

omar-o22 commented May 2, 2026

Tbh since Map Editor main menu hutton essentially launches a Host Game with the editor resource on startup, the Map Editor button could be moved inside the Host Game panel 😁

Then people would notice the Update resources button lol

And delete Map editor button from main menu?

@Fernando-A-Rocha
Copy link
Copy Markdown
Contributor

I would do move the Map Editor button into Host Game yeah.

It would give more attention to host game, and reduce main menu buttons/clutter.

@qaisjp
Copy link
Copy Markdown
Member

qaisjp commented May 3, 2026

And delete Map editor button from main menu?

I would do move the Map Editor button into Host Game yeah.

The map editor is more commonly used over host game, so I don't think we should make that change.

Comment thread Client/mods/deathmatch/logic/CLocalServer.cpp
@FileEX FileEX added the enhancement New feature or request label May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "update server resources" to main menu > Host game

4 participants