Post-Spawn Actions
Save the commands you type after joining, and the bot sends them in order every time it joins.
Available on all plans.
Compare plansOn this page

Overview
Post-Spawn Actions sends a list of commands for you when the bot enters the world, such as a /server command on a network or a warp to your AFK spot, and can hold sneak once the list is done. Use it for anything you would otherwise type yourself right after joining. It is off until you turn it on, and by default runs on the first join and after every reconnect; you can add other triggers.
Set it up
- Open your bot and go to Plugins. Post-Spawn Actions is the second row under Essentials, below Server Login. While it is off, the line under its name reads "Off".
- Click the Post-Spawn Actions row to open its settings.
- Click Add command and type the first command under "Commands, in order", such as
/warp afk. To add the next one, click Add command again, or pressEnterin a command field to add a row right below it. - Type the wait in seconds into the small box next to each command's number. A new row starts at 1 second.
- Click Save. The button shows up in the footer as soon as the list has changes.
- Flip the switch at the top of the panel on.
Once saved, the footer says "Saved. Applies on the next join." and the row in the list reads, for example, "2 commands after join". The switch at the top, the Run when boxes and the two switches below them save the moment you change them. The commands save with the Save button.
If you flip the switch on before a command is saved, the panel says "Add a command or turn on Sneak after joining first. Post-Spawn Actions needs one to turn on." and the footer button reads Save and turn on. Click Save and turn on to save the list and turn the plugin on in one step. Flipping the row's switch in the Plugins list with nothing saved opens the panel the same way.

When changes apply
A saved change reaches the bot the next time it connects to the server: when you start or restart it, or when it reconnects. A bot that is online keeps the list it joined with until then, for every trigger.
Turning the plugin off keeps everything you set. The panel says "Off. Settings are kept and used once Post-Spawn Actions is turned on."
Commands
The bot sends the commands from top to bottom. A line that starts with / goes out as a command; any other line is sent as a chat message. Spaces at the start and end of a line are dropped, and blank rows are left out when you save.
The bot's chat shows what the server answers, not the lines the bot sends. A plain chat message shows up only when the server broadcasts it back, as it does for any player.
Wait before each command
The wait before the first command counts from the moment the trigger fires, such as the join. The wait before each later command counts from the command before it. Each wait is 0 to 60 whole seconds. Default for a new row: 1.
With waits of 2 and 3, the first command goes out 2 seconds after the bot joins and the second 5 seconds after.
Reorder or remove a command
- Drag the handle at the right end of a row up or down to move the command. Its wait moves with it.
- Click the X next to the handle to remove a command.
- Click Save to keep the changes.
To move a command with the keyboard, focus its handle, press Space or Enter to pick it up, move it with the arrow keys, and press Space or Enter again to drop it. Esc puts it back.
The list stays a draft until you click Save. If you leave the page with a draft, the dashboard asks "You have unsaved changes. Leave this page and lose them?"; leaving drops the draft and keeps the saved list. A command you remove and save is gone, and you have to type it again to get it back.
Login commands
Keep your password in Server Login rather than in this list. The panel says so too: "Tip: Server login can type /login for you, so passwords stay out of this list."
If a row does start with /login, /l, /register or /reg and a space, the panel hides the rest of it while you are not editing that row, and shows /login ••••••. The bot still sends the full line.
Run when
The boxes under "Run when" pick which world loads send the list. On the right, the section names the ones ticked, such as "Join", "Join, death respawn" or "All world loads".
| Trigger | When the list runs |
|---|---|
| First join & reconnect | The first join after the bot starts, and every reconnect after a kick or a lost connection. On by default. |
| Dimension change | The bot moves to another dimension, such as through a Nether or End portal. |
| Server transfer (proxy) | A proxy network moves the bot to another of its servers on the same connection. |
| Death respawn | The bot respawns after dying. Auto Respawn is built into every bot. |
Each trigger runs the list once. If a new trigger fires while an earlier run still has commands waiting, those are dropped and the list starts again from the top, so two runs never mix. A death in the Nether that respawns the bot in the Overworld counts as both a death respawn and a dimension change, and still runs the list once.
While the plugin is on, at least one box stays ticked. Unticking the last one shows "Keep at least one trigger while Post-Spawn Actions is on."
Skip on first join
When on, the first join after you start the bot sends nothing; reconnects and the other ticked triggers still run the list. The switch reads "Only run after a reconnect or a world change". Off by default. It applies to Sneak after joining as well.
Use it when you place the bot yourself at the start and want the list only to bring it back after a reconnect.
Sneak after joining
When on, the bot starts holding sneak on the same triggers as the commands, right after the last command goes out. With no commands, it starts 1 second after the trigger. Off by default.
The plugin can run on the sneak alone: turn on Sneak after joining, leave the list empty, and flip the switch at the top on. The row in the list then reads "Sneak after join". While the plugin is on with no saved command, the sneak can't be turned off; the panel footer says "Add a command first, or keep Sneak after joining on while Post-Spawn Actions is on."
The Sneak switch on Navigate
The bot holds sneak the same way as the Sneak switch on the Navigate page, so that switch shows on. The Sneak switch works on every plan; the other Navigate controls, Stop included, need Plus or Pro. Each of these releases the hold until the next trigger:
- Turning the Sneak switch off on the Navigate page, or clicking Stop there on Plus or Pro.
- The sneak control in Live View.
- A macro that takes over the bot's movement.
If a macro is running when a trigger fires, the bot does not sneak until the next trigger. Going offline releases the sneak; after a reconnect, the bot presses it again if First join & reconnect is ticked.
With Server Login and Auto-Rejoin
When Server Login logs in with /login in chat, that line always goes first. A command whose wait runs out while the login line is still waiting is held back by one second, so /login never goes out behind it, even with a wait of 0.
Auto-Rejoin works from chat: it sends its own commands when a message says the bot was moved to the lobby. Post-Spawn Actions works from world loads. The two lists are separate. On a network, Server transfer (proxy) counts every move to another server of that network, the move to the lobby included, so leave it unticked if your list should only run on a join.
Limits
- Up to 20 commands. At 20 rows, blank ones included, Add command is greyed out and
Enterno longer adds a row. - Up to 256 characters per command, counted after spaces at the start and end are dropped.
- A wait of 0 to 60 whole seconds before each command.
The panel repeats these under the list: "Up to 20 commands · 256 characters each · wait 0–60 s".
The panel shows a red message
The message names the problem, and a row with a problem has its field outlined in red. Save does nothing until it is fixed:
- "Command 3 is 270 characters. Each command can be up to 256 characters.": shorten that command. Row numbers count blank rows too, so they match the list.
- "Command 2: wait must be a whole number from 0 to 60.": type a whole number of seconds into that row's wait box.
- "Add at least one command, turn on Sneak after joining, or turn Post-Spawn Actions off.": the plugin is on and the list is empty. Add a command, turn on Sneak after joining, or flip the switch at the top off.
- "Choose a trigger first. Post-Spawn Actions needs one to turn on.": you flipped the switch on with no box ticked under Run when. Tick one, then click Save and turn on.
FAQ
Why didn't the bot run my new commands?
A change applies the next time the bot connects, as the footer says: "Saved. Applies on the next join." Restart the bot to use it now. Also check that the switch at the top is on and that a box under Run when is ticked; with Skip on first join on, the first join after a start sends nothing.
Why don't my commands run after the bot dies?
By default the list runs only on the first join and after a reconnect. Tick Death respawn under Run when to run it after every respawn too.
Why did the bot stop sneaking?
Something released the hold: the Sneak switch on the Navigate page (or Stop, on Plus and Pro), the sneak control in Live View, or a macro. The bot sneaks again on the next trigger, such as a reconnect.
Why is Add command greyed out?
The list has 20 rows, blank ones included. Remove a row with the X to add another.
Can I copy the commands to my other bots?
Yes, with Copy to other bots… at the top of the Plugins page. Commands are copied as written, and the dialog reminds you: "Commands in Post-Spawn Actions and Auto-Rejoin are copied as written. Check that they do not include a password meant for one bot."
Updated