API Docs - fin-github/erlcpy GitHub Wiki

ERLC(key: str)

ERLC.get_status()

Gets the status on the server.

Returns -> ServerStatus

ERLC.get_amount_of_players()

Gets the amount of players, in the server.

Returns -> int

ERLC.get_players()

Gets every single player in the server.

Returns -> list[Player]

ERLC.get_join_logs()

Gets all join logs that it CAN get.

Returns -> list[JoinLog]

ERLC.get_command_logs()

Gets all command logs it can.

Returns -> list[CommandLog]

ERLC.run_command(command: str)

Runs the command on the server. Heavily ratelimited!

Returns -> True (on success)