- cross-posted to:
- projectharmonia@lemmy.ml
- cross-posted to:
- projectharmonia@lemmy.ml
It’s a crate for server-authoritative networking. We use it for Project Harmonia, but it’s general-purpose.
Probably one of the biggest releases. Here are some highlights:
- Authorization system. By default, we verify protocol compatibility between client and server by comparing hashes. You can add custom data to the hash (such as the game version) or fully customize the logic using
RepliconSharedPlugin::auth_method
. - Static rules, such as
Once
orPeriodic
. Very fast to compute, useful for deterministic replication. We plan to add opt-in, more complex dynamic rules in the next release. - New syntax for constructing replication rules. It extends the old one and allows specialization of individual components when declaring groups.
- Batched component insertion on replication. It’s much faster, and all components are available in the user’s observers.
DisconnectRequest
event to request a disconnect after sending messages. Useful for sending things such as disconnect reasons.
You must log in or register to comment.