ElgarL/Towny

/p command bug

Opened this issue · 6 comments

When running the /p command with a singular letter after, it attempts to create the essentials data.

E.g. "/p a" will output in console:
[PLAYER_COMMAND] : /p a
Creating empty config: /plugins/Essentials/a.yml

Which then outputs ingame:
Registered: Dec 31 1969 | Last Online: December 31 @ 19:00
Owner of: 0 plots

Add q to overridden-commands: in Essentials/config.yml

@wiedzmin137 That doesn't exactly help fix the problem in hand, just a small fix to negate it. I will look through the code later today and do an actual fix to solve that problem.

This isn't a Towny bug. It's to do with Essentials not recognising aliased commands and overriding them.

But that is still something that's patchable on both ends... I will look into it more as I said.

But why we should fix it by Towny side (using ComandPreprocesEvent) when we can fix it using Essentials config?

This is a fix which will not be accepted into Towny as it's not a Towny bug or issue.
The fix needs to be in either Bukkit or Essentials.