YouHaveTrouble / CommandWhitelist

You decide what commands players can use or tab complete on your server!
GNU General Public License v2.0
207 stars 22 forks source link

All commands with ":" are usable if you have protocollib:true #84

Closed msmanui closed 7 months ago

msmanui commented 7 months ago

So alias does not work if you dont have protocollib: true, but if i enable it, then all commands return value like if you do /lp, it will return, even its not on the command list. It does not autocomplete but they return value if you execute the command. The only way to fix is using protocollib: false, but i wont be able to use alias

alias:
  command: /bs
  type: ALIAS
  alias: /essentials:disposal
  permission-required: false
  register: true
YouHaveTrouble commented 7 months ago

what are you even using here. If you have a plugin that does aliases on protocol level, then that's SO wrong. You can register aliases with commands.yml natively. What you're doing seems completely unsupportable.

msmanui commented 7 months ago

Im using mycommand

YouHaveTrouble commented 7 months ago

Use native aliases.