Discord Setup
Setup commands connect the Nitrado token, assign the Discord server, create the starting channel layout and activate log downloading for the selected DayZ service.
Owner setup and server control
These commands are the control layer behind Legion: connect the Nitrado server, assign Discord, route channels, configure feed output, manage restarts and make supported file edits without asking owners to hand-edit every path.
Setup commands connect the Nitrado token, assign the Discord server, create the starting channel layout and activate log downloading for the selected DayZ service.
Settings commands control server name, logo, embed colour, channel routing, location output, players-online output, glitch feed routing and other database-backed choices Legion uses when posting feeds.
Scheduler commands handle restart-related gameplay edits and timing-dependent actions so changes can be applied in the right server window instead of during active play.
Nitrado commands work through the saved token to read server state, dashboard settings and file paths without owners needing to copy the same Nitrado details into every feature.
Event spawner helpers generate supported event/object files from owner-provided values so admins can add events without rebuilding XML by hand.
File helpers download, edit and upload supported server files for known folders and gameplay sections, including supported damage toggles and base file edits.
Legion stores the server service ID, token, map, Discord guild, channels and owner settings. When a feed or command runs, it uses those saved details to know which Nitrado server to read, which file path belongs to that map and which Discord channel should receive the output.
The point is to remove repeated manual file hunting. Owners still choose what changes are allowed, but the bot handles the correct service selection, Nitrado API call, supported folder target and Discord response.
| Area | Controls | Result |
|---|---|---|
| Setup | /setup token, /setup assign discord,
/setup channels, /setup activate |
Adds the server, links it to Discord, creates channels and turns log download processing on. |
| Channel routing | /settings channel assign and
/settings channel create |
Decides where feeds, maps, economy, logs, status and moderation output posts. |
| Feed output | /settings configure locations,
/settings configure glitchfeed, /settings playersonline |
Controls location detail, watched placement groups and players-online output. |
| Server actions | /server restart, /server stop,
/server delete stop, /server break loop |
Lets permitted staff handle restart and stop-file issues through Discord. |
| Files and generated helpers | /file download, /file gameplay edit,
/file base, /generate teleports file, /generate qrcode sign
|
Downloads, edits or generates supported files using the right Nitrado path for the server. |
| Command | Options | Use |
|---|---|---|
/setup token |
Nitrado token flow. | Adds the server connection Legion uses for logs and server files. |
/setup assign discord |
Discord assignment. | Links the selected Nitrado server to the Discord guild. |
/settings view |
Server selection. | Shows the current settings and channel routing. |
/settings channel assign |
Feed/status/economy/log channel and target channel. | Routes output to the correct Discord channel. |
/settings configure locations |
Per-feed location visibility options. | Controls exact, near and link-style location output. |
/server restart |
Selected server. | Restarts the Nitrado server through Discord permissions. |
/scheduler gameplay edits |
Supported gameplay edit and scheduling flow. | Schedules supported gameplay changes around restart timing. |
/file gameplay edit |
Supported gameplay edit type and values. | Applies supported gameplay.json edits without manual path hunting. |
/generate teleports file |
Object Spawner input and marker names. | Generates supported teleporter files. |
/generate qrcode sign |
URL, coordinate and orientation fields. | Generates an Object Spawner QR sign file. |