Ban Management

Ban Management

193k Downloads

Name autocomplete not finding user in specific case.

mibby opened this issue ยท 5 comments

commented

BanManager dev 208

Testing out commands on a user, the autocomplete/find is not finding a user. Essentials banning system doesn't have this problem.

Player name: SuperCat

/kick Cat test
[player] is offline

/kick Super test
SuperCat has been kicked by mibby for test

commented

Did you check your console if error messages show up on trying this?

commented

No errors occurred at all.

commented

BM requires using the full name to enact commands and does not support partial name lookups. Solution is to use tab to autocomplete the name. Unless you're saying tab autocomplete is not finding the name?

commented

Ban manager does not require the full name if you use the beginning of their name for partial name banning/kicking though if the user is online. Is there no way to have partial name banning/kicking for any part of their name to be similar to how Essentials handles online player involved bans/kicks?

commented

BanManager does require the full name for banning and kicking.

Let's say I was on a server, and someone wished to enact a BM command against me.

/ban conf testing

Now how is BanManager supposed to know whether that relates to me, i.e. confuser, or someone who has the name conf?

By allowing partial name support, it adds confusion and potential bug reports.

v4 did support partial names, but that was before name changes and UUIDs were implemented.

As players change their name so often, attempting to execute commands against players via partial names, the likely hood of picking the wrong player is incredibly high.

I'm not sure I understand why pressing tab on your keyboard to automatically prefill the name in full is not possible. BM also supports offline name completions as well, which can be turned on/off within your config (on by default).