16 lines
600 B
Markdown
16 lines
600 B
Markdown
# Development
|
|
TODO: fill this out
|
|
### Nix shell with tmux
|
|
In the nix flake there is a devshell setup with cargo and tmux.
|
|
When using tmux it uses a set tmux server path, so only this project uses it.
|
|
# Env variables:
|
|
```bash
|
|
# Address the server should bind to
|
|
# BIND_ADDR="0.0.0.0:25565"
|
|
|
|
# Filter appplied with [evalexpr](https://docs.rs/evalexpr/latest/evalexpr/)
|
|
# The "context" has the addr variable populated with the address of part of the
|
|
# handshake packet. Custom filter can be specified, and drop any
|
|
# connections which match the filter.
|
|
# FILTER_CONN='(addr == "10.100.0.1")'
|
|
```
|