You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 20, 2025. It is now read-only.
Fin-GITHUB edited this page Apr 1, 2024
·
1 revision
Get started coding
Here is how you would get the amount of players online
importerlclib.erlcaserlcbot=erlc.ERLC(key="INSERT YOUR KEY")
status: erlc.ServerStatus=bot.get_status()
print(f"There are {status.amount_of_players} players currently online!")
Here is how you would see players:
importerlclib.erlcaserlcbot=erlc.ERLC(key="INSERT YOUR KEY")
players: list[erlc.Player] =bot.get_players()
print(f"The first player I can see is {players[0].name}.")```