Practical, end-to-end walkthroughs for the client, players, commands, events, caches, and the companion packages.
| Guide | What you'll do |
|---|---|
| Getting Started | Install erlc.js and run your first script |
| Instantiating the Client | Configure polling, webhooks, and multiple servers |
| Managing Players | Read player state and run moderator actions |
| Server & Commands | Inspect server info and execute console commands |
| Handling Events | Listen to the full typed event surface |
| Accessing the Cache | Find structures and tune log cache limits |
| Migrating from v1 | Move a single-server bot to v2 |
| Map | Render a live PNG map |
| Presets | Drop in moderation callbacks |
Looking for a specific symbol?
The API reference is generated from the source and covers every public class, function, enum, and type.