Got a question that the wiki doesn't answer? Ask on the forum (preferred), or join us on IRC.

BeastNode

CommandHelper/Staged/API/all players

From EngineHub.org Wiki
Jump to: navigation, search



Vital Info

Name all_players
Returns array
Usages [world]
Throws InvalidWorldException
Since 3.0.1
Restricted
Yes
Optimizations None

Description

Returns an array of all the player names of all the online players on the server, if world is given only the name of the players in this world will be returned.

Usages

all_players([world])

Examples (How do these work?)

Sorry, there are no examples for this function! :(




Navigation menu