1 - Introduction
The Action Engine lets you build automations without writing code. You place blocks on a canvas, connect them, and CADLY runs the graph whenever a matching event happens.
VIDEO: videos/action-engine-canvas | Placing blocks on the Action Engine canvas, connecting them and adding a sticky note while another editor works alongside
Every automation answers three questions: what happened, should we act, and what do we do. Those map to the three kinds of block: events, conditions and flow control, and actions.
The Action Engine is bot-wide and has its own Action Engine tab in server settings. ER:LC is still the largest source of events, but the engine does not depend on it. The Settings tab includes a short tutorial for building a first automation. Watch it there, then open the workspace and follow along with a small test rule.
Department Servers have their own Action Engine workspace for Discord and CADLY workflows. ER:LC events and actions are available only on Host Servers.
2 - How It Works
An event happens. CADLY finds every event block that matches it, then follows the connections outward and runs each block it reaches.
For example, an automation might start when a player spawns a restricted vehicle, check whether their Discord account is missing the required role, and then send a warning by private message in game and post to the staff channel.
Blocks run in the order they are connected. Branches run at the same time, so two chains that start from the same block do not wait for each other.
2.1 - Execution History
Every run is recorded. Open Execution History on the Action Engine page to see what fired, what it did, and why anything was skipped.
This is the first place to look when an automation does not behave as expected. A skipped block records its reason instead of failing silently, for example a cooldown that blocked the run, an empty value, or a condition that came out false.
3 - Variables
Variables carry data from the event into your blocks. When a player joins, you have that player. When a log is created, you have the log, who filed it, and who it is about.
3.1 - Using a Variable
Select Insert variable in any text field. The picker groups variables by what the event provided, and every row shows its current value so you can pick by recognizing the value.
The picker only shows variables that are available before the block runs. Connected blocks pass their values along automatically, so there is no separate forwarding setting. A value from a later block, a disconnected block, or only one side of a branch is not offered, because it cannot reliably exist at that point.
Rows with an arrow are objects. Select one to open it. A player, for example, contains a username, a Roblox ID, a team, and their linked Discord account.
3.2 - Whole Variables
Some fields need a whole person rather than text. Issue Infraction is one of them. These fields show a short dropdown with only the compatible options.
On a log event, the dropdown offers the log's creator and the log's target. On a kill event, it offers the killer and the victim. This is why one block works across different events without extra setup.
3.3 - Validation
If a variable is not available on the event that triggers it, the graph will not save, and the editor tells you which block is wrong. This is deliberate. An automation that saves but quietly produces blank messages is worse than one that refuses to save.
4 - Blocks
4.1 - Events
These events are available today. More sources are being added.
- Player Joined: A player enters the ER:LC server.
- Player Left: A player leaves the ER:LC server.
- Team Changed: A player switches team.
- Player Kill: A kill appears in the log. Gives you both the killer and the victim.
- Mod Call: A player calls a moderator.
- Command Used: A command appears in the ER:LC command log.
- Entered Zone: A player enters a configured play zone.
- Left Zone: A player leaves a play zone.
- Team Over Limit: A team exceeds its configured member limit.
- Vehicle Violation: A player spawns a restricted vehicle without the required roles.
- Livery Violation: A player uses a restricted livery.
- Role Violation: A player lacks the roles required for a server or team.
- Shift Started: A live shift starts in Discord or the panel. Provides the shift and the member.
Play zones, vehicle restrictions, livery restrictions, team limits, and role restrictions are configured in ER:LC settings, not here. Their events can still start Action Engine workflows. Some of them also act on their own from their settings. Vehicle restrictions load and private-message violating players. Team limits default to a bundled Wanted command, and you can choose Kick or Ban instead. Role restrictions run their configured Wanted, Kick, or Ban action before the Role Violation event fires.
4.2 - Actions
- ER:LC Command: Runs an in-game command such as
:pm,:kick, or:ban. - Discord Message: Posts a message through a Discord webhook.
- Add Role / Remove Role: Changes a member's Discord roles.
- Create Log: Creates a real CADLY log entry.
- System Notification: Writes an internal notification that staff can see in the panel.
- Issue Infraction: Issues a warning or strike against a member.
- Set Text: Builds a value you can reuse later in the graph.
- Convert User: Resolves a Roblox player to their linked Discord account.
Convert User is a separate block on purpose. Matching a Roblox player to a Discord account is a lookup that can fail. Because it is a visible step, you can see where it failed and branch on whether it worked.
Discord Message formats
Enter the destination webhook URL, then choose a message format:
- Visual editor (Components V2) builds a Discord Components V2 message with text, dividers, link buttons, images, and an accent color. Type
{{in a text field, or use its variable suggestions, to include values from earlier blocks. - Raw JSON accepts a normal webhook object, including
content,embeds, a custom username, and other Discord webhook fields. Use the Variable button to insert the same upstream values without converting or discarding your JSON.
Variables in raw JSON are filled in only inside string values. CADLY parses the JSON first, so a command or username containing quotes or new lines cannot change its structure.
4.3 - Conditions and Flow Control
- Condition: Compares one or more values, combined with ALL, ANY, or NONE. Has a true and a false output.
- Invert: Swaps true and false.
- Wait for All: Continues once every incoming branch has arrived.
- Wait for Any: Continues as soon as the first branch arrives.
- Wait for N: Continues once a set number of branches have arrived.
- Cooldown: Blocks repeat runs for a set time.
- Wait: Pauses before continuing.
- Percentage: Continues only a set percentage of the time.
- Randomize: Picks one outgoing path at random.
The comparisons offered depend on the value. Text offers contains and starts with, numbers offer greater than and less than, and lists offer contains and count. You cannot build a comparison that makes no sense for the value.
Wait for Any does not cancel the other branches. They keep running to completion. Only what comes after the block continues early.
4.4 - Cooldown Scope
A cooldown is either global, which limits the whole block, or per value, which limits each thing you choose separately.
With per value, you pick the thing to limit. On a kill event you might cool down per killer, so one player who racks up kills does not silence alerts about everyone else. If the chosen value is empty when the automation runs, the cooldown blocks the run and records why instead of letting the action through.
5 - Safety Limits
5.1 - Loop Protection
Some actions cause the events that trigger them. Create Log causes On Log Created, and Issue Infraction causes On Infraction Issued. If you connect one to the other, you have a loop.
CADLY stops this. An automation that triggers itself may chain a few levels deep, then it stops. When that happens, the workspace is disabled, and the reason is shown on the page and in Execution History.
If your workspace switches itself off, this is almost always the cause. Find the block that triggers its own event, break the cycle, and re-enable the workspace.
There is also a limit on how many times automations can run per minute. It is high enough that normal use never reaches it, and low enough that a runaway graph cannot flood your server.
5.2 - Block Limit
- Free: 50 blocks
- Server PRO: 150 blocks
The limit counts blocks across your whole canvas. Sticky notes do not count.
If Server PRO expires while you are over the limit, existing automations keep running. You can still edit and remove blocks, but you cannot add more until you are back under 50.
5.3 - Command Pacing
In-game commands from automations share the same queue as staff commands and are paced so that automation cannot crowd out a moderator who is trying to act. Automations that fire commands often will see them spread out rather than sent all at once.
For anything that punishes, add a cooldown and a Discord Message action so that a person can audit the record.
6 - Troubleshooting
6.1 - The Automation Did Not Fire
Check Execution History first. It usually tells you directly.
If there is no entry at all, the event never fired. Confirm that the event matches what you expect and that the underlying feature is configured. A zone event needs a zone, and a vehicle violation needs a restriction.
If there is an entry that stopped early, the reason is recorded on it.
6.2 - The Workspace Disabled Itself
An automation triggered itself in a loop. See Safety Limits > Loop Protection to find and break the cycle.
6.3 - A Message Came Out Blank
A variable resolved to nothing. This is recorded in Execution History instead of failing silently. A common cause is a player with no linked Discord account where the automation expected one. Add a Condition that checks the value was found before you use it.
6.4 - The Graph Will Not Save
A block references a variable that the triggering event cannot provide. The editor names the block. This most often happens after you change which event feeds a chain.
If a saved workspace contains settings that are no longer valid, CADLY stops running that automation and shows a red banner. Fix the highlighted block settings and save the workspace to turn it back on.
6.5 - Commands Are Slow
This is expected under load. See Safety Limits > Command Pacing.
7 - Getting Support and Resources
If you need help, several resources are available:
- CADLY Documentation: Detailed reference for all features.
- CADLY Support Server: Join for fast help from the team.
- CADLY Email Support: Reach out via email for direct support.