Fix costume merging, restrict server names, add Centrix tag

- Mod merge: rebuild a merged bundle's chunk metadata the way the game
  writes it (one record per chunk, in chunk GUID order), so costumes
  from different mods built on the same game costume keep their
  textures and meshes
- Merge audit checks that layout, and there is a new unit test for it
- Server names: only letters, numbers, spaces and - _ [ ] ( ),
  1 to 64 characters; the server browser hides servers with other names
- New Centrix tag from the backend's "centrix" list: blue and white
  name, badge and item animation, ranked after Dev and before Creator
This commit is contained in:
AyeZeeBB committed 2026-10-05 23:39:16 -05:00
1 parent 0d5dfda243
commit 2cdc5ee8df
24 files changed
+645 -29

No files matched your search

+1 -1
View File
@@ -1017,7 +1017,7 @@ std::string Host::command(std::string_view line, std::uint64_t admin) {
return changed(rotation_text());
}
if (name == "name") {
if (argument.empty() || argument.size() > 64 || !valid_member_name(argument)) return "Server names are 1 to 64 characters.";
if (!valid_server_name(argument)) return std::string("Server names are ") + server_name_rule + ".";
config_.name = argument;
if (text::contains_bad_words(config_.name))
return changed("Server renamed to " + config_.name +