Skip to main content

Making an ER:LC program just got a whole lot easier

GuideDocumentation


Speed up your coding by 50%*

Let us focus on the API part, you focus on making the best program you can.

*Approximation based on the character count of a simple Discord bot connected to an ER:LC private server. Rounded up from 47.2%.


Easy for experts and beginners

erlc.js is object-oriented, making it easy for anybody to learn. You just need to know the basic syntax for JavaScript.


One line installation

Install erlc.js with a single command in the terminal.

npm install erlc.js

npm required (installed automatically along with Node.js)



const { Server } = require("erlc.js")

const privateServer = new Server("SERVER-KEY", "AUTHORIZATION-KEY")
privateServer.initiate()

privateServer.sendCommand("m", ["Hello World!"])

Send your first command with just 6 lines of code

Learn how in the Guide
.initiate()
.sendCommand()
.getPlayers()
.getSpawnedVehicles()
.getModerationLogs()
.getModeratorCalls()
.getKillLogs()
.getJoinLogs()
.makeRequest()

Do everything you can normally do (and more) with the API, but easier!

See what they do in the Docs