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 custom map pool support for dedicated servers #19323

Closed
wants to merge 2 commits into from

Conversation

pchote
Copy link
Member

@pchote pchote commented Apr 5, 2021

This PR implements two big usability improvements for the ladder and similarly focused servers.

The first (for server hosts) is a new Server.MapPool setting to limit the maps that are allowed to be used on the server without resorting to modifying the local files and disabling RC queries. This setting takes a comma separated list of map UIDs, which may either be local maps or queried from the RC.

The second (for players) is that the map browser on these servers will now show the map pool, including maps that aren't installed (again, queried from the RC). This removes any confusion about "Map was not found on server" errors, and allows players to install maps directly ingame instead of having to deal with manually installing map packs.

Depends on #19317.
Depends on #19322.

I think that with this PR we now also implement enough to close #3357. There are too many UI issues around searching and filtering the RC content to realistically support a full ingame browser, so relying on server hosts to curate map packs that players are able to download ingame strikes a good compromise.

@pchote
Copy link
Member Author

pchote commented Apr 5, 2021

Ping @ubitux

@pchote
Copy link
Member Author

pchote commented Apr 11, 2021

Now needs a rebase/update for #19239.

pchote added 2 commits May 9, 2021 17:18
This takes a list of map UIDs which may be locally installed or hosted
on the resource center. If any maps aren't found, startup will be
delayed by up to 10 seconds while it attempts to query the resource
center.
Maps that aren't installed are queried from the resource center.
@pchote
Copy link
Member Author

pchote commented May 9, 2021

Rebased.

@pchote
Copy link
Member Author

pchote commented May 10, 2021

I no longer have the stomach to champion this feature.

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.

Allow map chooser and replay browser to index the content site
3 participants