Skip to content

Feature - Private Mod Status API - #312

Merged
ItsNature merged 2 commits into
version/1.3.0from
improvement/paginated-mod-status
Oct 7, 2026
Merged

ItsNature merged 2 commits into
version/1.3.0from
improvement/paginated-mod-status

Conversation

@ItsNature

@ItsNature ItsNature commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

Overview

Description:
Make the Mod Status API of the Mod Setting module a private feature, like the private Cosmetic module, and make it request based like installed mods.

Changes:

  • Add ModSettingModule#requestModStatus(ApolloPlayer) returning Future<ModStatusResponse>
    • ModStatusResponse is paginated; its elements are ModOptionStatus (option, value) for every option
  • Add @RestrictedAccess: documented marker
    • Marks CosmeticModule, ModSettingModule#getStatus, requestModStatus, the new request/response types and ApolloUpdateModOptionEvent

Code Example (If applicable):

this.modSettingModule.requestModStatus(apolloPlayer)
    .onSuccess(response -> {
        boolean waypointsEnabled = this.modSettingModule.getStatus(apolloPlayer, ModWaypoints.ENABLED);
    });

Related Issue (If applicable):

Screenshots and/or Videos (If applicable):


Review Request Checklist

  • Your code follows the style guidelines of this project.
  • I have performed a self-review of my code.
  • I have tested this change myself. (If applicable)
  • I have made corresponding changes to the documentation. (If applicable)
  • The branch name follows the projects naming conventions. (e.g. feature/add-module & bugfix/fix-issue)

@ItsNature ItsNature added type: Documentation Documentation improvement or issue type: Enhancement Feature improvement or addition labels Sep 29, 2026
Base automatically changed from feature/totem-counter-module to version/1.3.0 October 7, 2026 14:58
@ItsNature
ItsNature force-pushed the improvement/paginated-mod-status branch from 2aa0ecd to 9ee8fac Compare October 7, 2026 15:00
@ItsNature
ItsNature merged commit 14fabb4 into version/1.3.0 Oct 7, 2026
1 check passed
@ItsNature
ItsNature deleted the improvement/paginated-mod-status branch October 7, 2026 15:57
@ItsNature ItsNature mentioned this pull request Oct 14, 2026
ItsNature added a commit that referenced this pull request Oct 16, 2026
* Deploy as `1.3.0-SNAPSHOT`

* Add Totem Counter Module (#311)

* Feature - Private Mod Status API (#312)

* Paginate Mod Status API and mark as Restricted Access

* Remove temp deploy

* Add more staff mods (#313)

* Sync LunarClient Mods & Options (#314)

* Sync LunarClient Mods & Options

* Update version tags to 1.3.0

---------

Co-authored-by: LunarClient Bot <lc-bot@moonsworth.com>

* Bump to 1.3.0 (#315)

---------

Co-authored-by: LunarClient Bot <lc-bot@moonsworth.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: Documentation Documentation improvement or issue type: Enhancement Feature improvement or addition

Development

Successfully merging this pull request may close these issues.

2 participants