{"id":15137964,"url":"https://github.com/projectharmonia/bevy_replicon","last_synced_at":"2025-05-14T15:00:33.143Z","repository":{"id":148518827,"uuid":"618624439","full_name":"projectharmonia/bevy_replicon","owner":"projectharmonia","description":"A server-authoritative replication crate for Bevy.","archived":false,"fork":false,"pushed_at":"2025-05-09T00:21:03.000Z","size":2037,"stargazers_count":452,"open_issues_count":14,"forks_count":33,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-09T00:24:01.214Z","etag":null,"topics":["bevy","client-server","multiplayer","netcode","networking","replication","server-authoritative"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/bevy_replicon","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/projectharmonia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-03-24T22:16:58.000Z","updated_at":"2025-05-09T00:21:07.000Z","dependencies_parsed_at":"2023-10-15T10:57:18.347Z","dependency_job_id":"8f3d9661-0d7a-4f1c-9e5a-dbc5cb1d43e0","html_url":"https://github.com/projectharmonia/bevy_replicon","commit_stats":{"total_commits":544,"total_committers":25,"mean_commits":21.76,"dds":0.15625,"last_synced_commit":"f3972dfc164bcf53380a7173e50faf78e0837057"},"previous_names":["lifescape-game/bevy_replicon","projectharmonia/bevy_replicon"],"tags_count":64,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectharmonia%2Fbevy_replicon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectharmonia%2Fbevy_replicon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectharmonia%2Fbevy_replicon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectharmonia%2Fbevy_replicon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/projectharmonia","download_url":"https://codeload.github.com/projectharmonia/bevy_replicon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254168104,"owners_count":22026084,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bevy","client-server","multiplayer","netcode","networking","replication","server-authoritative"],"created_at":"2024-09-26T07:03:53.428Z","updated_at":"2025-05-14T15:00:33.046Z","avatar_url":"https://github.com/projectharmonia.png","language":"Rust","readme":"# Bevy Replicon\n\n[![crates.io](https://img.shields.io/crates/v/bevy_replicon)](https://crates.io/crates/bevy_replicon)\n[![docs.rs](https://docs.rs/bevy_replicon/badge.svg)](https://docs.rs/bevy_replicon)\n[![license](https://img.shields.io/crates/l/bevy_replicon)](#license)\n[![codecov](https://codecov.io/gh/projectharmonia/bevy_replicon/graph/badge.svg?token=N1G28NQB1L)](https://codecov.io/gh/projectharmonia/bevy_replicon)\n\nA server-authoritative replication crate for [Bevy](https://bevyengine.org).\n\nIf you are new to networking, see [glossary](https://gist.github.com/maniwani/f92cc5d827b00163f5846ea7dcb90d44) and\n[What kind of networking should X game use?](https://github.com/bevyengine/bevy/discussions/8675).\n\n## Features\n\n- Automatic world replication.\n- Remote events and triggers.\n- Control over client visibility of entities and events.\n- Specify which entities should be replicated in sync using ECS relationships.\n- Replication into scene to save server state.\n- Customizable serialization and deserialization even for types that don't implement `serde` traits (like `Box\u003cdyn Reflect\u003e`).\n- Abstracts game logic to support singleplayer, client, dedicated server, and listen server configurations simultaneously.\n- No builtin I/O, can be used with any messaging library. See [messaging backends](#messaging-backends) for already available integrations.\n- Heavily optimized.\n- Robust, with high test coverage.\n- Supports `no_std` and environments without atomic CAS, such as thumbv6m.\n- Hackable. See [ecosystem](#ecosystem).\n\n## Getting Started\n\nCheck out the [quick start guide](https://docs.rs/bevy_replicon).\n\nFor examples navigate to the [`bevy_replicon_example_backend`](bevy_replicon_example_backend) (because you need I/O in order to run them).\n\nYou can also:\n- Watch [my talk at Bevy Meetup #9](https://www.youtube.com/watch?v=aDsVFmXD2cc)  \n- Read [this great article](https://www.hankruiger.com/posts/adding-networked-multiplayer-to-my-game-with-bevy-replicon) *(not mine)*  \n\nHave any questions? Feel free to ask in the dedicated [`bevy_replicon` channel](https://discord.com/channels/691052431525675048/1090432346907492443) in Bevy's Discord server.\n\n## Ecosystem\n\nDepending on your game, you may need additional features. We provide an API that allows external crates to integrate with Replicon or to be built on top of it.\n\n\u003e [!WARNING]\n\u003e Ensure that your `bevy_replicon` version is compatible with the used crate according to semantic versioning.\n\n#### Messaging backends\n\n- [`bevy_replicon_renet`](https://github.com/projectharmonia/bevy_replicon_renet) - integration for [`bevy_renet`](https://github.com/lucaspoffo/renet/tree/master/bevy_renet). Maintained by the authors of this crate.\n- [`bevy_replicon_renet2`](https://github.com/UkoeHB/renet2/tree/main/bevy_replicon_renet2) - integration for [`bevy_renet2`](https://github.com/UkoeHB/renet2/tree/main/bevy_renet2). Includes a WebTransport backend for browsers, and enables servers that can manage multi-platform clients simultaneously.\n- [`bevy_replicon_quinnet`](https://github.com/Henauxg/bevy_replicon_quinnet) - integration for [`bevy_quinnet`](https://github.com/Henauxg/bevy_quinnet).\n- [`aeronet_replicon`](https://github.com/aecsocket/aeronet/tree/main/crates/aeronet_replicon) - integration for [`aeronet`](https://github.com/aecsocket/aeronet). Works on any IO layer supported by `aeronet_io`, but requires `aeronet_transport`.\n\n#### Interpolation and/or rollback\n\n- [`bevy_replicon_snap`](https://github.com/Bendzae/bevy_replicon_snap) - adds snapshot interpolation and client-side prediction.\n\n#### Visibility\n\n- [`bevy_replicon_attributes`](https://github.com/UkoeHB/bevy_replicon_attributes) - adds ergonomic visibility control through client attributes and entity/event visibility conditions. An extension of this crate's raw client visibility API.\n\n#### Miscellaneous\n\n- [`bevy_replicon_repair`](https://github.com/UkoeHB/bevy_replicon_repair) - preserves replicated client state across reconnects.\n- [`bevy_bundlication`](https://github.com/NiseVoid/bevy_bundlication) - adds registration of replication groups using a bundle-like api.\n\n#### Unmaintained\n\n- [`bevy_timewarp`](https://github.com/RJ/bevy_timewarp) - a rollback library that buffers component state. See [this instruction](https://github.com/RJ/bevy_timewarp/blob/main/REPLICON_INTEGRATION.md) about how to integrate.\n\n## Bevy compatibility\n\n| bevy   | bevy_replicon |\n| ------ | ------------- |\n| 0.16.0 | 0.33          |\n| 0.15.0 | 0.29-0.32     |\n| 0.14.0 | 0.27-0.28     |\n| 0.13.0 | 0.23-0.26     |\n| 0.12.1 | 0.18-0.22     |\n| 0.11.0 | 0.6-0.17      |\n| 0.10.1 | 0.2-0.6       |\n| 0.10.0 | 0.1           |\n\n## License\n\nLicensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or [MIT License](LICENSE-MIT) at your option.\n","funding_links":[],"categories":["Networking"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprojectharmonia%2Fbevy_replicon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprojectharmonia%2Fbevy_replicon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprojectharmonia%2Fbevy_replicon/lists"}