Unblock every server instead of only the domains on the built-in allowlist, which also removes the startup download of the extra domain list from 6b6t.org. Remove the join packet that was sent to the server on every connect, and stop inserting 6b6t into the multiplayer server list. The tracked homepage link and the Discord entry are dropped from the mod metadata.
2.0 KiB
2.0 KiB
TODO
Goal: turn AnarchyMod into a generic blocked-server-list bypass, with no telemetry and no 6b6t-specific behaviour.
Play on any server
- Make
BlockedServersMixinalways report servers as unblocked, instead of only those on the 6b6t allowlist. - Delete
Domains.java. It held the hardcoded anarchy-server allowlist and also fetched an extra list fromhttps://www.6b6t.org/api/anarchy-mod.jsonon startup. With every server unblocked there is nothing left to match against.
Remove telemetry
- Delete
JoinPayload.javaand stop registering it inAnarchyMod.onInitializeClient. - Drop the
ClientPlayConnectionEvents.JOINlistener that sent the packet to the server on every join. - The remote domain fetch is gone with
Domains.java(it was the other outbound call). - Drop the utm-tagged homepage link from
fabric.mod.json.
Do not add 6b6t to the server list
- Delete
ServerListMixin.javaand remove it fromanarchymod.mixins.json.
Metadata
- Rewrite the
fabric.mod.jsondescription; remove the 6b6t homepage and Discord links. - Add
Wokleimto the authors. - Remove the now-unused explicit
gsondependency frombuild.gradle.ktsandmodern-build.gradle.kts(onlyDomains.javaused it).
Docs
- Rewrite
README.md: state that it is based on 6b6t/AnarchyMod, link the source, and list the changes made in this fork. - Update the description in
_config.yml.
Notes / left alone on purpose
fabric-apistays a required dependency andAnarchyModstays the client entrypoint, even though the entrypoint no longer does anything. Decided against dropping it.contact.issues/contact.sourcesstill point atgithub.com/6b6t/AnarchyMod, kept as source attribution rather than as promotion.- Verified by compiling the 1.19.4, 1.20.5 and 1.21.11 modules, which covers all three Stonecutter branches the deleted code had. Not launched in a real client.