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

[WIP] Command + Permission Data Extraction #6083

Draft
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

JRoy
Copy link
Member

@JRoy JRoy commented Mar 8, 2025

this a wip pr for adding gradle tasks to automatically extract our command and permissions data with gradle for use by our new website to display commands and permissions.

so far commands are no problem, from the verbose command usage pr we have pretty well existing documentation of command usages and descriptions of them.

permissions are gonna require some work, we could use asm to parse any calls to isAuthorized but this will leave out more complex calls that are not just a single static string, and regardless of what we do, we still won't have descriptions of what they do. i don't know a great way to do this programmatically, maybe an enum? open to input.

@JRoy JRoy added the type: enhancement Features and feature requests. label Mar 8, 2025
@JRoy JRoy added this to the 2.22.0 milestone Mar 8, 2025
@JRoy JRoy assigned mdcfe and JRoy Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Features and feature requests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants