Jikoo / OpenInv

Open anyone's inventory as a chest, real-time!
GNU General Public License v3.0
118 stars 38 forks source link

configurable commands #135

Closed casperwtf closed 1 year ago

casperwtf commented 1 year ago

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.

Jikoo commented 1 year ago

I appreciate the work you put into this, but it has little to no appeal to me.

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.