{"id":13526075,"url":"https://github.com/Faless/godot-enet-better","last_synced_at":"2025-04-01T06:31:05.187Z","repository":{"id":146205629,"uuid":"70200681","full_name":"Faless/godot-enet-better","owner":"Faless","description":"A better ENet module for high performance multiplayer games with godot","archived":true,"fork":false,"pushed_at":"2021-08-01T12:03:00.000Z","size":594,"stargazers_count":93,"open_issues_count":2,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-02T10:34:10.011Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Faless.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2016-10-06T23:22:19.000Z","updated_at":"2024-06-28T21:02:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"f71ccaf8-56e1-439e-bd6d-ee160887c1a6","html_url":"https://github.com/Faless/godot-enet-better","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faless%2Fgodot-enet-better","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faless%2Fgodot-enet-better/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faless%2Fgodot-enet-better/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faless%2Fgodot-enet-better/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Faless","download_url":"https://codeload.github.com/Faless/godot-enet-better/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246596726,"owners_count":20802883,"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":[],"created_at":"2024-08-01T06:01:24.971Z","updated_at":"2025-04-01T06:31:04.739Z","avatar_url":"https://github.com/Faless.png","language":"C++","funding_links":[],"categories":["Modules"],"sub_categories":["3D"],"readme":"# About\nThe `benet` module for Godot is a fork of `NetworkedMultiplayerPacketPeer` (although it stays compatible) to allow access to multiple channels and the ability to run multiple clients/servers in the same scene.\n\nThe module is composed by two parts:\n\n- `ENetPacketPeer`: The fork of `NetworkedMultiplayerPacketPeer`\n  - `create_server`: Add parameter to specify max channels (default 1)\n  - `create_client`: Add parameter to specify max channels (default 1)\n  - `put_packet_channel`: New method, allow to put a packet in the specified channel\n  - `send` (`_unreliable`, `_ordered`) allow to send to specific client in reliable, unreliable, ordered way whlie selecting the channel\n  - `broadcast` (`_unreliable`, `_ordered`) allow to broadcast a packet in a reliable, unreliable, ordered way while selecting the channel\n\n- `ENetNode`: Act like `SceneTree`:\n  - Poll on idle/fixed time (must be in tree to work!)\n  - Emit signals on idle/fixed time (must be in tree to work!)\n  - Emit additional `server_packet` and `client_packet` signals when receiving packets\n  - Allow kicking clients by unique id.\n  - Will hopefully support RPC in the future\n\n# Installation\nBeing a module you will need to recompile godot from source. To do that:\n\n1. Clone the godot engine repository\n2. Copy the `benet` folder from this repository into the godot `modules` folder\n3. Recompile godot (see http://docs.godotengine.org/en/latest/reference/_compiling.html )\n\n# Usage\n\nFor usage examples please refer to the project in the `demo` folder.\n\nThe methods should be self explainatory. \n\n# Disclaimer\n\n\u003e THIS SOFTWARE IS PROVIDED \"AS IS\" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFaless%2Fgodot-enet-better","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFaless%2Fgodot-enet-better","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFaless%2Fgodot-enet-better/lists"}