Skip to content

Conversation

@nergizer
Copy link
Contributor

Add compatibility with Forge's update checker (via custom property forgeUpdateJSONURL) + Added compatibility with the Catalogue modmenu (submit bug url)

The Issue

Currently, mods loaded via Connector cannot use (Neo)Forge's update checker. Moreover, the bug tracker URL doesn't seem to be set, which prevents some modmenus like Catalogue from displaying a "Sumbit bug report" button on the mod's page.

The Proposal

This pull request proposes to add support for this update checker by setting the mod's updateJSONURL to the value of a custom attribute in its fabric.mod.json named forgeUpdateJSONURL.
Also, the issueTrackerURL is set to the value of the issues field in the contact information.

Possible Side Effects

Probably none. The Forge's update checker will only be used if the mod has a forgeUpdateJSONURL custom field in its manifest.

Maybe the bug report URL should be changed to a confirmation page about this mod being loaded with Connector (maybe something like https://sinytra.org/connector_warning?redirect_to=).

Alternatives

While most players probably use launchers to manage their mods, adding compatibility with Forge's update checker will also notify players on the main menu (moreover the changes in themselves are pretty small).

Also, making Forge aware of the mod's bug report URL could maybe help in easier bug reports for players (as mentioned in Possible Side Effects maybe it should first redirect to a confirmation page).

Maybe the PR should be split in 2 (one for the Forge update checker and one for the issue tracker) ?

Additional Notes

I'm not a native English speaker, and this is my first public PR

If this PR is successful I will probably also port it to the 1.21.1 branch

…`forgeUpdateJSONURL`) + Added compatibility with the Catalogue modmenu (submit bug url)
@Su5eD Su5eD self-assigned this Aug 28, 2025
@Su5eD Su5eD moved this from 🆕 New to 👀 In review in Connector Triage Aug 28, 2025
@Su5eD Su5eD added enhancement New feature or request 1.20.1 Targets Minecraft 1.20.1 labels Aug 28, 2025
@Su5eD
Copy link
Member

Su5eD commented Sep 10, 2025

Thanks for the PR. If possible, feel free to port this to 1.21.1 as well and I'll include it in the upcoming release.

Maybe the bug report URL should be changed to a confirmation page about this mod being loaded with Connector (maybe something like https://sinytra.org/connector_warning?redirect_to=).

This is actually a good idea to add, especially now that we have a dedicated website for Connector. I'll definitely give it a shot.

@Su5eD Su5eD merged commit 98ef3f6 into Sinytra:1.20.1 Sep 10, 2025
1 check passed
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Connector Triage Sep 10, 2025
Su5eD added a commit that referenced this pull request Sep 11, 2025
Su5eD added a commit that referenced this pull request Sep 29, 2025
* Start beta 10, perform routine maintenance

* Fix ffloader impl change

* Wrap thread factory set context class loader in a try (#1771)

* Propagate issue tracker link to bridged mods.toml

Port of #1933

Co-authored-by: nergizer <[email protected]>

* Check LoadingModList#hasErrors instead of LoadingModList#getModLoadingIssues != empty (#1830)

this makes Connector only check for true mod loading errors instead of non-fatal warnings, which prevents difficult-to-debug crashes due to Connector not running early setup despite the game continuing to launch

Signed-off-by: unilock <[email protected]>

* Implement Adapter UTP transforms

Fixed issues related to Polymer

Fixes #1333
Fixes #1734

* Silence mixin errors from unused mixins

* Update adapter definition to 1.13.37

Fixes Cinderscapes

* Display Connector version in debug overlay

Update adapter definition to 1.13.38

* Update README

* Don't crash if moving module fails

* Update adapter definition to 1.13.40

Fixes #1384

* Make PLUGIN modules read connector

Fixes #1966

* Update adapter to 1.13.42

Fixes #1922

* Always show loading errors

Fixes the annoying "requires connector" error again, this time for mods that require fabric mods

* Fix lazy entity attribute replacement

Fixes #1343

---------

Signed-off-by: unilock <[email protected]>
Co-authored-by: Milkev <[email protected]>
Co-authored-by: nergizer <[email protected]>
Co-authored-by: Katherine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.20.1 Targets Minecraft 1.20.1 enhancement New feature or request

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants