# eggox publish

Publish the game as it stands. From then on the door leads here.

```
eggox publish [dir] [--json]
```

Ships the draft of the game in the folder. Copies behind the door run
this version from now on; a copy already running keeps what it had
until people leave it. Publishing needs a verified account.

Before it ships, the game is checked at publish level: what `eggox check`
reports as a warning (no spawn, rounds with no winner, a switch that
targets nothing) refuses the publish here, naming the file. The rules are
on [Check, push, publish](/project/pushing).

The MCP server has no publish tool on purpose: an agent pushes, a
person publishes.

## Examples

```
$ eggox publish
publish refused:
rooms/Arena/room.json: no SPAWN: put the spawn brick on a thing so players know where to start
```

```
$ eggox publish
Published Ninja Skybound: version 12. Copies behind its door run this from now on.
```

