Ban Management

Ban Management

193k Downloads

Some errors on autocomplete

JANEXLEBJAKOT opened this issue ยท 11 comments

commented

Every time i try to autocomplete with tab someone's nickname plugin spams in chat:
http://hastebin.com/vabuxasuso.avrasm

commented
commented

But #213 and #210 are closed and not fixed.

commented

Duplicate of #213

commented

Whoops, my bad!

commented

Afair because this was no issue with neither bm nor Pex. Maybe essentials or cb itself.

commented

The cause is most likely Essentials. Try and update to the latest version if you're running 1.8.

As far as a fix goes, there's not so much I can do on the BM end if other plugins interfere.

commented

I'll ask EssentialsX. Maybe they can fix this finally.

commented

@confuser Just curious, why can't you null check command#getPermission()?

commented

@SupaHam I shouldn't need to, as all BanManager commands have a permission associated with it. If the NPE throws, it means another plugin has overridden the command, but not the tab executor. This would also cause players without the permission to be able to auto complete offline player names, unless the entire thing returns an empty list at that point.

tldr; Yes, I could do, but if other plugins wish to interfere then they should know what they're doing.

commented

What command is causing this issue?

commented

Here this has been reproduced with /unban #210
At PEX I have a report with /ban PEXPlugins/PermissionsEx#1956
With /warn an example here: #213 (little to scroll down ^^)