Skip to content
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

Hide Modules in ClickGUI #5081

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

machiecodes
Copy link
Contributor

@machiecodes machiecodes commented Jan 2, 2025

Type of change

  • Bug fix
  • New feature

Description

Adds a new "modules" category in the config where module search settings were moved, along with a new "hidden modules" setting. You can add modules to this list and they will be excluded from the modules screen when entering the clickgui. They are not actually removed to keep compatability with mixins, addons etc, but are simply kept out of sight. Should be useful for hiding bloat in addons or modules you don't plan to use.

I don't think there needs to be any optimization here? Just wary of o(n^2) stuff but at least in this case it only happens once when the screen is created and there's a small enough amount of modules that I don't believe it makes a difference - at least it doesn't on my laptop. Maybe Crosby will prove me wrong in the future :3

Related issues

#3454, #726

How Has This Been Tested?

8mb.video-o5X-XdN9pTfU.mp4

Checklist:

  • My code follows the style guidelines of this project.
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.

Easier than I was expecting to implement this at least, not sure if this is actually possible to optimize
Better to show modules all the time for an easy way to tweak settings without going through the hiding process
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant