Removing a player from player count

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
@Pikachu Are you talking about this?

Message of the day, in other words, your server name shown in server list. This expression can only be used in "on server ping" event.

Thats the only thing i found related to MOTD/player count on the page you sent me.
Seriously? Just scroll down the page...
 
What's it called?!?! I still don't see it... I must be blind
 
It says it can't understand the condition even though i got the latest version of skQuery...
 
I saw that but doesn't it just fake the MAX amount of players... not the actual amount hence why it's called fake MAX players?
 
I saw that but doesn't it just fake the MAX amount of players... not the actual amount hence why it's called fake MAX players?
I mean, that's pretty much the only thing I can find for player size with SkQuery.
 
For me it doesn't even recognize it
it just says can't understand this condition: 'on server list ping'
 
Can't understand this condition/effect: set min player count to %{numGlobal}-{invis}%
 
Can't understand this condition/effect: set min player count to %{numGlobal}-{invis}%

Why are you randomly throwing non-existence expressions in your code? Why can't you just use max player expression?
 
@White Because I want the player counter to go down by 1 when i go into vanish.

code_language.skript:
on server list ping:
    set {numGlobal} to size of all bungeecord players
    set {invis} to size of {sql_.invis::*}
    set min player count to "%{numGlobal}-{invis}%"
 
Can't understand this condition/effect: set min player count to %{numGlobal}-{invis}%
My bad I misunderstood you as trying to set the max players, to fake the amount of players currently online you can use MundoSK packets (specifically the packet status_server_server_info) to edit this. End result looks like this:
1i7TKig.png
 
@Pikachu Packets are confusing.

What do I do after this?

code_language.skript:
on packet event status_server_server_info:
 
Status
Not open for further replies.