Skip to content
Keramat Jokar edited this page May 13, 2024 · 1 revision

Get a realm instance

$realm = $this->realms->getRealm(ID);

Get all realm instances as an array

$realms = $this->realms->getRealms();

[Int] getOnline([$faction])

Get the amount of online players

(Optional) String $faction

[Int] getCharacterCount([$account])

Get the amount of characters that belongs to a certain account

(Optional) Int $account

[Int] getPercentage([$faction])

Get the percentage of online/cap

(Optional) String $faction

[String] getName()

Get the realm name

[Int] getId()

Get the realm id

[Int] getCap()

Get the player cap

getWorld()

getCharacters()

getEmulator()

[Boolean] isOnline([$realtime])

Check if the realm is up and running

(Optional) Boolean $realtime

[String] getConfig($key)

Get config value

String $key