Use content.luanti.org (#15360)

This commit is contained in:
rubenwardy 2024-11-02 20:40:33 +00:00 committed by GitHub
parent 5c5538685e
commit ba370d9841
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 10 additions and 7 deletions

@ -6,8 +6,9 @@ body:
attributes: attributes:
value: | value: |
Please note the following: Please note the following:
1. **Please update Luanti to the latest stable or dev version** before submitting bug reports. Make sure the bug is still reproducible on the latest version. 1. **Please update Luanti to the latest stable or dev version** before submitting bug reports. Make sure the bug is still reproducible on the latest version.
2. This page is for reporting the bugs of **the engine itself**. For bugs in a particular game, please [search for the game in the ContentDB](https://content.minetest.net/packages/?type=game) and submit a bug report in their issue trackers. 2. This page is for reporting the bugs of **the engine itself**. For bugs in a particular game, please [search for the game in the ContentDB](https://content.luanti.org/packages/?type=game) and submit a bug report in their issue trackers.
* For example, you can submit issues about the Minetest Game [in its own repository](https://github.com/minetest/minetest_game/issues). * For example, you can submit issues about the Minetest Game [in its own repository](https://github.com/minetest/minetest_game/issues).
3. Please provide as many details as possible for us to spot the problem quicker. 3. Please provide as many details as possible for us to spot the problem quicker.
- type: textarea - type: textarea

@ -4,5 +4,5 @@ contact_links:
url: https://github.com/minetest/minetest_game/issues/new/choose url: https://github.com/minetest/minetest_game/issues/new/choose
about: Only submit issues of the engine in this repository's issue tracker. Submit those of Minetest Game in its own issue tracker. about: Only submit issues of the engine in this repository's issue tracker. Submit those of Minetest Game in its own issue tracker.
- name: Search for issue trackers of third-party games - name: Search for issue trackers of third-party games
url: https://content.minetest.net/packages/?type=game url: https://content.luanti.org/packages/?type=game
about: For issues of third-party games, search for the game in the ContentDB and then submit an issue in their issue tracker. about: For issues of third-party games, search for the game in the ContentDB and then submit an issue in their issue tracker.

@ -7,7 +7,7 @@ body:
value: | value: |
Please note the following: Please note the following:
1. Only submit a feature request if the feature does not exist on the latest dev version. 1. Only submit a feature request if the feature does not exist on the latest dev version.
2. This page is for suggesting changes to **the engine itself**. To suggest changes to games, please [search for the game in the ContentDB](https://content.minetest.net/packages/?type=game) and submit a feature request in their issue trackers. 2. This page is for suggesting changes to **the engine itself**. To suggest changes to games, please [search for the game in the ContentDB](https://content.luanti.org/packages/?type=game) and submit a feature request in their issue trackers.
- type: textarea - type: textarea
attributes: attributes:
label: Problem label: Problem

@ -762,7 +762,7 @@ chat_font_size (Chat font size) int 0 0 72
[**Content Repository] [**Content Repository]
# The URL for the content repository # The URL for the content repository
contentdb_url (ContentDB URL) string https://content.minetest.net contentdb_url (ContentDB URL) string https://content.luanti.org
# If enabled and you have ContentDB packages installed, Luanti may contact ContentDB to # If enabled and you have ContentDB packages installed, Luanti may contact ContentDB to
# check for package updates when opening the mainmenu. # check for package updates when opening the mainmenu.
@ -773,7 +773,7 @@ contentdb_enable_updates_indicator (Enable updates available indicator on conten
# as defined by the Free Software Foundation. # as defined by the Free Software Foundation.
# You can also specify content ratings. # You can also specify content ratings.
# These flags are independent from Luanti versions, # These flags are independent from Luanti versions,
# so see a full list at https://content.minetest.net/help/content_flags/ # so see a full list at https://content.luanti.org/help/content_flags/
contentdb_flag_blacklist (ContentDB Flag Blacklist) string nonfree, desktop_default contentdb_flag_blacklist (ContentDB Flag Blacklist) string nonfree, desktop_default
# Maximum number of concurrent downloads. Downloads exceeding this limit will be queued. # Maximum number of concurrent downloads. Downloads exceeding this limit will be queued.

@ -397,7 +397,7 @@ void set_default_settings()
settings->setDefault("chat_font_size", "0"); // Default "font_size" settings->setDefault("chat_font_size", "0"); // Default "font_size"
// ContentDB // ContentDB
settings->setDefault("contentdb_url", "https://content.minetest.net"); settings->setDefault("contentdb_url", "https://content.luanti.org");
settings->setDefault("contentdb_enable_updates_indicator", "true"); settings->setDefault("contentdb_enable_updates_indicator", "true");
settings->setDefault("contentdb_max_concurrent_downloads", "3"); settings->setDefault("contentdb_max_concurrent_downloads", "3");

@ -1015,10 +1015,12 @@ static bool determine_subgame(GameParams *game_params)
infostream << "Using commanded gameid [" << gamespec.id << "]" << std::endl; infostream << "Using commanded gameid [" << gamespec.id << "]" << std::endl;
} else { } else {
if (game_params->is_dedicated_server) { if (game_params->is_dedicated_server) {
std::string contentdb_url = g_settings->get("contentdb_url");
// If this is a dedicated server and no gamespec has been specified, // If this is a dedicated server and no gamespec has been specified,
// print a friendly error pointing to ContentDB. // print a friendly error pointing to ContentDB.
errorstream << "To run a " PROJECT_NAME_C " server, you need to select a game using the '--gameid' argument." << std::endl errorstream << "To run a " PROJECT_NAME_C " server, you need to select a game using the '--gameid' argument." << std::endl
<< "Check out https://content.minetest.net for a selection of games to pick from and download." << std::endl; << "Check out " << contentdb_url << " for a selection of games to pick from and download." << std::endl;
} }
return false; return false;