-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Support game rebranding #13662
Comments
Rebranding is not limited to name, but also visual identity and others - hence me not using "renaming". |
ContentDB supports changing the author of a package using a package alias. An alias is the old id of the package, when the mainmenu encounters the old id it converts it to the new id. This system is designed to allow renaming in the future (although, that does open a whole can of worms when it comes to migrating worlds and config, I hadn't decided whether I wanted to support it or not). Here's an example of what the aliases looks like. GreenDimond renamed himself to GreenXenith: {
"author": "GreenXenith",
"name": "waffles",
"aliases": [
"GreenDimond/waffles"
],
"release": 16795,
"short_description": "Waffles. That's it.",
"thumbnail": "https://content.minetest.net/thumbnails/1/df7cfbfaae.png",
"title": "Waffles",
"type": "mod"
} Another thing I've wanted is the ability to migrate users with a message - allowing them to see a modal dialog before migrating the package to the new author (and perhaps name in the future). This would have been useful in a few cases where users would have benefited from moving to a more maintained fork, but we didn't want to force the migration. This could be used for your rebranding message |
I got pointed this direction, so I'll leave my suggestion here: I think a way basic support for migrating from one gameid to another is to add a superseded_by option in game.conf that lists another game id to use. Then check that option in findSubgame() in src/content/subgames.cpp and try to findSubgame on the new id, with a recursion depth limit to keep malicious cycles from freezing clients. |
Problem
Games should be able to rebrand without side-effects like users not getting updates, or forcing them to manually updates files world.mt to the new gameid.
For instance, sharing links to the ContentDB entry should reflect the game's name. So instead of
https://content.minetest.net/packages/Wuzzy/mineclone2/
, the link should look likehttps://content.minetest.net/packages/Wuzzy/coolnewname/
. This is not for pedantic reasons, but to avoid suspiciously looking links - like a game that pretends to be named a certain thing, but with a link that says otherwise. Phishing is based on misleading URLs, so the last thing you want, other than confusing branding, is dubious URLs.Solutions
old_gameid
in ContentDB, so when a project goes through this process, the previousgameid
remains in the database as such.gameid
(without links to each release)gameid
(the old one) would be forwarded to the newgameid
, and the users will be informed that the game has been rebranded, so they know and not be surprised by any change in naming, visuals, etc.Reasons to rebrand
Limitations
What I hope to achieve here is a safe way to rebrand games as smoothly as possible for the players, without keeping old stuff in URLs or under the hood, other than
old_gameid
.The text was updated successfully, but these errors were encountered: