# io.github.libtmux.Server.Server.messages

- **Module:** io.github.libtmux.Server.Server
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/c3517519ee799428a809ce6deb1708c8be289cd1/libtmux/src/main/java/io/github/libtmux/Server.java#L283
- **Page:** https://libtmux.org/reference/java/io-github-libtmux-server-server-messages/

```
io.github.libtmux.Server.Server.messages() -> List<String>
```

The server's own message log, newest last.

<p>Deliberately not version-gated, though tmux before 3.6 answers {@code no current client}
when nothing is attached. A gate would refuse the case that works: with a client attached the
log is readable on every supported release, and only a detached 3.2a through 3.5 cannot answer.
The failure tmux reports is accurate and says exactly what is missing, so it is left to reach
the caller.

## Raises

- `LibTmuxException` — before 3.6 when no client is attached
