Fix material naming
This commit is contained in:
parent
8967477f39
commit
dd0435d563
7 changed files with 126 additions and 28 deletions
|
@ -12,7 +12,7 @@ zig build -Doptimize=(ReleaseSafe|ReleaseFast) -Dmaterial_max_len=(<int>, defaul
|
|||
|
||||
## CLI options
|
||||
|
||||
- `--unix-socket`: Path to Unix socket to send block updates to
|
||||
- `--unix-socket`: Path to Unix socket to bind to and to send block updates to
|
||||
- `--queue`: Block update queue capacity (default: `1024`)
|
||||
- `--web-port`: Web server port
|
||||
- `--web-threads`: Web server thread count (default: `1`)
|
||||
|
@ -31,7 +31,9 @@ TODO: Classic Pixelflut TCP
|
|||
|
||||
This application relays and batches the received block updates and sends them as CSV data to an existing Unix socket.
|
||||
|
||||
Create a test socket with: `socat -u UNIX-LISTEN:<path>,reuseaddr,fork -`
|
||||
Connect to the socket with: `socat - UNIX:<path>`
|
||||
|
||||
TODO: Accept multiple clients
|
||||
|
||||
### Payload
|
||||
|
||||
|
@ -42,4 +44,4 @@ dimension,x,y,z,material
|
|||
<int32>,<int32>,<int32>,<int32>,<str>
|
||||
```
|
||||
|
||||
E.g.: `0,42,42,42,dirt` puts a dirt block in dimension `0` (Overworld) at coordinates `42,42,42`.
|
||||
E.g.: `0,42,42,42,DIRT` puts a dirt block in dimension `0` (Overworld) at coordinates `42,42,42`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue