> ## Documentation Index
> Fetch the complete documentation index at: https://rust-co.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Admin

> The admin command and panel: every train in the world, every company and the log.

## Permission

The command is restricted. Give it to your admins in `server.cfg`:

```cfg theme={"dark"}
add_ace group.admin command.steamline allow
```

The command's name is `Config.Command` (`steamline` by default).

## Commands

| Command | What it does |
| - | - |
| `/steamline admin` | Opens the admin panel (in the game) |
| `/steamline list` | Lists the trains in the world: id, name, yard, driver and speed |
| `/steamline stop <id>` | Brakes that train to a stop |
| `/steamline delete <id>` | Removes that train from the world |

`list`, `stop` and `delete` also work from the server console.

## The admin panel

The panel updates by itself while it is open.

> [card] Trains
>
> A map with every train: the company trains and the server's trains, those far from everyone at the place their timetable gives. Pick one to see its company, owner, speed and cars, then **Emergency stop**, **Move** it to a station's yard or **Remove from the world**.

> [card] Companies
>
> Every company with its owner, till, members, train and statement. **Adjust** puts money into the till or takes it out. **Close company** takes its trains off the line first, then closes it; the till goes to the owner if he is online.

> [card] Log
>
> The last 100 events: trains called and leaving the line (and why), companies opened and closed, deliveries, track repairs and every admin action.

## What each action does to a train

| Action | Company train | Server train |
| - | - | - |
| Emergency stop | Brakes to a stop | Stops where it is; its timetable waits until it is moved or removed |
| Move | Taken off the line and parked at that station's yard | Jumps to that station of its route, at the start of its stop |
| Remove | Goes back to its company's yard as it is now | Leaves the world for a while (`Config.NpcTrain.YieldSeconds`), then comes back at its next stop |

Removing a train with passengers aboard gives them their tickets back.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.