Releases: ALH477/HydraMesh
MineCraft
Rust SDK
[nix-shell:~/Documents/dcf_rust_sdk]$ ./target/release/dcf info
╔══════════════════════════════════════════════════════════════════════════╗
║ DCF Rust Server v2.2.0 - HydraMesh Compatible ║
╚══════════════════════════════════════════════════════════════════════════╝
Quick Start for Gaming:
- dcf --config config.json start
- dcf add-peer --peer-id player2 --host 192.168.1.100 --port 7777
- dcf send-position --player-id player1 --x 100.0 --y 50.0 --z 25.0
- dcf metrics
Key Features:
- UDP with unreliable (<5ms) / reliable channels
- Binary Protobuf: 10-100x faster than JSON
- Position (12B), Audio (raw), Events (reliable)
- RTT/Jitter stats, auto-retry
- gRPC for backward compatibility
Commands:
start Start the DCF server
status Show server status
version Show version information
add-peer Add a peer
remove-peer Remove a peer
list-peers List all peers
send-position Send position update
send-audio Send audio packet
send-event Send game event
benchmark Run RTT benchmark
metrics Get metrics
begin-tx Begin transaction
commit-tx Commit transaction
rollback-tx Rollback transaction
info Show this detailed help
help Show command help (built-in)
Configuration:
--config Config file (JSON or TOML)
Example Config (dcf_config.toml):
transport = "UDP"
host = "0.0.0.0"
grpc_port = 50051
udp_port = 7777
mode = "p2p"
p2p_discovery = true
Repo: https://github.com/ALH477/DeMoD-Communication-Framework
[nix-shell:~/Documents/dcf_rust_sdk]$
Static C lib
A nix build of the static version of the DCF library in C.