PluginBugs / Issues-EpicBackpacks

Repository used to keep track of issues of my plugin EpicBackpacks
1 stars 2 forks source link

Remove commands for EpicBackpacks from tab complete / command suggestion if a user misses the permission. #97

Closed ofunny closed 10 months ago

ofunny commented 11 months ago

Is your feature request related to a problem? Please describe. At the moment all EpicBackpacks commands being suggested, no matter if a user has permission or not.

Describe the solution you'd like Usually just setting up permission properly within the plugin.yml will make the Spigot/Paper server auto hide commands (unless you register them on the fly within your plugin). Right now the EpicBackpacks plugin.yml contains no permission entries.

Describe alternatives you've considered Remove them manually by unregistering them, but plugin yml makes more sense.

Additional context It's just good practice to hide commands to which a player has no permission from command suggestion in first place.

Thanks