Attaching to tmux
Run these commands in a terminal on the machine running the daemon, as the same
user. For a local daemon, use your desktop terminal; for a remote daemon, connect
to its machine first, for example over SSH.
The default private socket is slopworld; see Paths and files
for socket overrides. Sidecar tmux sessions run inside the container;
use the in-game terminal for those deployments.
Listing sessions
tmux -L slopworld list-sessions
This lists sessions on the SlopWorld tmux server, including host and temporary sessions.
The -L slopworld option selects the SlopWorld socket. Bare tmux commands use the
default socket and cannot find these sessions.
Attaching
Replace SESSION_NAME in the commands below with a name from the listing above.
tmux -L slopworld attach -t SESSION_NAME
This connects your terminal to the selected session’s tmux pane. Input here goes to the same pane as input in the mod’s terminal. Detach with the default tmux prefix, Ctrl+B, followed by D.
Reading without attaching
tmux -L slopworld capture-pane -t SESSION_NAME: -p
tmux -L slopworld capture-pane -t SESSION_NAME: -p -S -100
capture-pane -p prints the pane contents to standard output without attaching.
Add -S -100 to include up to 100 lines of history before the visible screen.
Add -e to include ANSI escape sequences.
Stop safely
Use the mod’s Stop action so the daemon performs its normal cleanup. See Host shells for host-tab Stop and Remove behavior, and Using slopctl for logs.