literalplus / commandblockerultimate

Blocks commands and does it well, or at least it thinks so. Compatible with BungeeCord and Spigot!
http://j.l1t.li/cmdblk
GNU General Public License v2.0
6 stars 5 forks source link

Compatibility issue by using Essentials #49

Closed EinHecki closed 5 years ago

EinHecki commented 6 years ago

Describe the bug I'm using Essentials and I blocked the command "/tell". Now my users can't run the "/msg" or "/m" comman.

To Reproduce Steps to reproduce the behavior:

  1. Install CBU and EssentialsX on your Server
  2. Go to config of CBU and block the command "/tell"
  3. Try to run "/msg" or "/m" as normal user without permissions or op.

Expected behavior I wan't that the "/msg" and "/m" command isn't blocked while I blocked "/tell". It only should be blocked if I write it in to my config.

Offending plugin (please complete the following information):

Environment (please complete the following information):

Relevant server logs Aren't needed.

literalplus commented 5 years ago

Thanks for your detailed report! What exactly are you trying to accomplish with this? If you only want to block those literal commands (why?), you have to disable alias resolution in the config file.

By default, CBU looks at what aliases are registered for a command so that users cannot circumvent blocks by simply executing one of those. Note that if you disable this, aliases won't be resolved for other commands either, so you'll have to manually block those if desired.

If you're trying to block Minecraft's native /tell, simply block /minecraft:tell instead.

Does this solve your issue?

literalplus commented 5 years ago

Update, sorry, it can't do that yet! Duplicate of #29

literalplus commented 5 years ago

Hey, sorry for the huge delay! I was very busy with uni and work. Anyways, please try this development build where you should be able to set resolve-aliases to false in config.yml in both Spigot and BungeeCord to stop alias resolution: https://ci.l1t.li/job/public~cmdblkult/94/

literalplus commented 5 years ago

Are you still interested in this? If so, reopen the issue.