#Modifying tab completion for vanilla commands

1 messages · Page 1 of 1 (latest)

crystal garden
#

Hey guys!

So I made a bit of a vanish plugin, but I don't want vanished players to show up on tab completion for vanilla commands.

I'm using Spigot and ProtocolLib, is there any way I could do this... perhaps with some packet magic?

Thanks!

torpid sierra
#

if you hide players with hidePlayer method (not sure how is it called exactly), it should already hide them for tab completion afaik

crystal garden
#

Yes, however my system is a bit different than that, and it doesn't use hidePlayer()...

#

With a quick check it seems as though hidePlayer() does not hide them in tab complete anyways :)

#

doesn't trigger on vanilla commands

wide briar
#

players are in fact cached locally for tab complete

#

not sure what invalidates said cache tho

#

doesnt get fired anymore

#

😔

grim egret
crystal garden
#

Alright, thanks 👍