Online Player Count (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.3
Syntax
[the] [((real|default)|(fake|shown|displayed))] [online] player (count|amount|number)Description
The amount of online players. This can be changed in a <a href='#server_list_ping'>server list ping</a> event only to show fake online player amount. <code>real online player count</code> always return the real count of online players and can't be changed.
Examples
on server list ping:
# This will make the max players count 5 if there are 4 players online.
set the fake max players count to (online player count + 1)