Mindustry
Mindustry copied to clipboard
Community server search
Adds a searchbar to the community servers menu. If there is a search query, a server is only displayed if its displayed text contains the query on refresh (e.g. with the search button).
While there's a lot of small improvements that could be made on top (e.g. allowing searching with regex, excluding group/map/server names, highlighting matches...), I felt this is good enough for things like "all attack maps" or "just this server group" without requiring a lot of changes.
If your pull request is not translation or serverlist-related, read the list of requirements below and check each box:
- [x] I have read the contribution guidelines.
- [x] I have ensured that my code compiles, if applicable.
- [x] I have ensured that any new features in this PR function correctly in-game, if applicable.