Closed casperwtf closed 1 year ago
I appreciate the work you put into this, but it has little to no appeal to me.
CraftServer#getCommandMap
exists.Example commands.yml content:
aliases:
sc:
- "myotherplugin:sc $1-"
While this does have the downside of causing the /sc
alias to be visible to all users, you can mitigate that with PermissionsSetup, which has the ability to edit permissions for Bukkit-created aliases built in.
The point of this is to allow users to change the command that is registered for openinv. This is useful for cases where staff chat plugins are overridden (/sc) by openinv. This allows individual users to define their own commands.