New

Make your ER:LC server respond to events

When a player runs a command, LibertyTools can reply for you. You can also send server events to your bot or your own app. Start with no code, or build with LibertyJS.

app.js
import LibertyJS from "@libertytools/libertyjs";

const LJS = new LibertyJS({
    SERVER_KEY: process.env.ERLC_SERVER_KEY,
    POLL_SUBSCRIPTION_ID: process.env.POLL_SUBSCRIPTION_ID,
    POLL_TOKEN: process.env.POLL_TOKEN
});

LJS.commands.command("help", context =>
    context.reply("How can we help?")
);
await LJS.commands.start();
No code
Build a hosted command
Poll
Let your bot read events
Forward
Send events to your app
LibertyJS
Build with JavaScript or TypeScript

One event, several ways to respond.

Connect your ER:LC server once. Then choose a hosted command, a Poll client, or a destination you control.

Webhook Gateway

Receive ERLC events through a clean webhook system with validation, retries, and structured payloads.

Developer SDK

Simple SDK to interact with ERLC APIs, handle events, and build integrations faster with minimal setup.

Drop-in Integration

Designed to plug into existing ERLC integrations without replacing your current systems or workflows.

Polling Support

No public URL? Use built-in polling to fetch events and updates without needing webhooks.

Hosted Commands or Your Own Code

Let LibertyTools host simple commands, or run your own bot or webhook receiver for custom behavior.

Validated Requests

Signed requests and verification helpers ensure events are trusted and secure.

Want your own bot to respond?

LibertyJS reads events from your Poll client and lets you write a command handler in JavaScript or TypeScript. Your bot needs to stay running; hosted commands in the dashboard do not.

  • Full TypeScript typings
  • Async/await support
  • Automatic error handling
  • Webhook & polling helpers
import LibertyJS from "@libertytools/libertyjs";

const LJS = new LibertyJS({
  SERVER_KEY: process.env.ERLC_SERVER_KEY,
  POLL_SUBSCRIPTION_ID: process.env.POLL_SUBSCRIPTION_ID,
  POLL_TOKEN: process.env.POLL_TOKEN
});