Skip to content

Add automatic permission generating #3

@Strokkur424

Description

@Strokkur424

Description

Add a new @AutoPermissions annotation which automatically adds permission requirements based on the literal path to an executor.

A.e. for /cmd run <arg:int>, with annotation @AutoPermission("custom.commands.cmd"), it would require a permission of custom.commands.cmd.run in order to be executor.

Other

Additional ideas:

  • Markdown generator for permission documentation
  • Automatically add permissions to (paper)-plugin.yml

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions