The complete API toolkit for ERLC Integrations
Enhance your roleplay servers with webhooks, polling, and a simple SDK.
import Liberty from "@liberty/core"
const api = Liberty.init({
apiKey: "your-api-key",
gameId: game.GameId
})
// Save player data with one line
await api.savePlayerData(player, data)Everything you need to build incredible intigrations with ERLC.
Liberty Tools provides developers with a simple way to receive ERLC events, build integrations, and automate server workflows without complex infrastructure.
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 or Self-Hosted
Use our hosted service or run everything yourself. Fully flexible and open for developers.
Validated Requests
Signed requests and verification helpers ensure events are trusted and secure.
Simple APIs. Powerful results.
Our SDK makes it easy to integrate Liberty Tools into your ERLC integrations. Clean syntax, simple setup, and support for JavaScript and TypeScript with more languages coming soon.
- Full TypeScript typings
- Async/await support
- Automatic error handling
- Webhook & polling helpers
import { Liberty } from "@libertytools/sdk"
const liberty = new Liberty({
apiKey: process.env.LIBERTY_KEY
})
// Listen for ERLC events
liberty.events.on"playerJoin", (event) => {
console.log"Player joined:", event.username)
})
// Start event listener
await liberty.start)