Class ExprOnlinePlayersCount

java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<Long>
ch.njol.skript.expressions.ExprOnlinePlayersCount
All Implemented Interfaces:
Debuggable, Expression<Long>, SyntaxElement

@Name("Online Player Count") @Description({"The amount of online players. This can be changed in a","<a href=\'events.html#server_list_ping\'>server list ping</a> event only to show fake online player amount.","\'real online player count\' always returns the real count of online players and can\'t be changed.","","Fake online player count requires PaperSpigot 1.12.2+."}) @Examples({"on server list ping:","\t# This will make the max players count 5 if there are 4 players online.","\tset the fake max players count to (online players count + 1)"}) @Since("2.3") public class ExprOnlinePlayersCount extends SimpleExpression<Long>
  • Constructor Details

    • ExprOnlinePlayersCount

      public ExprOnlinePlayersCount()
  • Method Details