#Server Player Count, Vanish

1 messages · Page 1 of 1 (latest)

faint talon
#

MC Version: 1.20.1
Skript: 2.7.2

So I made a custom vanish thing for my server, which is all done
Because I wanted to use SuperVanish, but it didnt work with inheriting permission from groups from LuckPerms
And I liked the concept of having different levels of Vanish

But one of the beta-testers told me, even though they couldn't see my avatar nor my name on tab
The player count was still the same as if I was still in there.

Anyone know the best way to approach this?

nocturne mortar
#

Is the player count with skript?

#

It depends how the vanish works

fervent laurel
#

you want tp spoof the player count?

#

if you are displaying it with skript simply size of all players = vasnishedPlayerCount

#

if you mean in the server list then im not sure its possible

faint talon
#

Well my vanish skript is simply,

command -> loop all players -> Loop-player has lower perms -> hide player from loop-player
  add player to {-Vanished}

on join -> loop {-Vanished} -> player has lower perms -> hide loop-player from player

on quit -> if vanished -> remove player from {-Vanished}

But for the server list, I meant like in this screenshot, where it says "Online Players"

#

But going off this doc, I still dont know the best way to approach it.
Should I basically do what is listed in the example?
I dont know how often on server list ping goes off

#

still doesnt tell me how often it "pings"
https://skripthub.net/docs/?id=3011

fervent laurel
#

add player to {-Vanished} this is not a list

proper gulch
faint talon
faint talon
proper gulch
#

yeah let me see the code first

#

i can fix it but let me see it

faint talon
#

Fix it? I havent added anything to it about hiding player from player count?
I was seeing if anyone knew how to do it

proper gulch
#

i do

#

but let me the code!

#

see*

#

this is the code?

faint talon
#

Yep

#

and before anyone asks why I did 2 separate commands instead of aliases its because for some reason the alias command wasnt overwriting the alias command for essentials vanish

proper gulch
#

i know

faint talon
proper gulch
#

Idk

#

I just wanted the code so I can fix it and use for myself

faint talon
#

Are you serious? if you wanted the code you could've just asked. Not say "Oh I can fix it for you" and then not

#

And for that reason alone, Im blocking them.

gentle niche