LOGS

Koja Trucker posts clean Discord embeds for key events across four channels, plus an anti-cheat channel for suspicious activity.

Channels

Channel
Logs

orders

Completed deliveries β€” driver, route, category, reward, XP, distance, time, company.

companies

New companies β€” name, tag, owner, identity.

skills

Skill purchases β€” player, skill, level, cost.

anticheat

Suspicious activity β€” reason, detail, full player identity.

Setting webhook URLs

Webhook URLs are kept server-side (never sent to clients). Set them either in server.cfg via convars (recommended β€” keeps secrets out of the resource) or in data/config.json. A convar always overrides the config value.

setr koja_trucker_webhook_orders    "https://discord.com/api/webhooks/..."
setr koja_trucker_webhook_companies "https://discord.com/api/webhooks/..."
setr koja_trucker_webhook_skills    "https://discord.com/api/webhooks/..."
setr koja_trucker_webhook_anticheat "https://discord.com/api/webhooks/..."
setr koja_trucker_webhook_default   "https://discord.com/api/webhooks/..."

If a channel's URL is empty, the default webhook is used as a fallback. If both are empty, that log is silently skipped.

Toggling logs

In Admin β†’ Settings β†’ Discord logging you can:

  • turn all logging on/off,

  • turn anti-cheat alerts on/off,

  • tune the anti-cheat thresholds.

Anti-cheat heuristics

A flag is raised (and an alert posted) when a player:

Heuristic
Default trigger

Completes away from the drop-off

Position check fails (also blocks the payout)

Finishes a real route too fast

< min_seconds_per_order (20 s)

Completes too many orders

> max_orders_per_10min (8) in 10 min

Levels up too fast

> max_levels_per_min (5) in 60 s

Last updated