Skip to content

AnyBananaGAME/ZigRaknet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

43 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ZNET ๐Ÿš€

Language License

A fast, reliable, and easy-to-use RakNet implementation in Zig. Perfect for game networking, especially for Minecraft Bedrock Edition clients.

โœจ Features

  • ๐Ÿ”ฅ Zig implementation - no external dependencies
  • ๐Ÿš€ High-performance networking with non-blocking I/O
  • ๐Ÿ›ก๏ธ Reliable and ordered packet delivery
  • ๐ŸŽฎ Minecraft Bedrock Edition compatible

๐Ÿš€ Installation

git clone https://github.com/AnyBananaGAME/ZigRaknet.git
cd ZigRaknet
zig build

๐Ÿ“š Usage

Here's a simple example of how to create a client and connect to a RakNet server:

const Client = @import("./src/client/client.zig").Client;
const std = @import("std");

var client = try Client.init("127.0.0.1", 19132);
defer client.deinit();
try client.connect();

while (true) {
    std.time.sleep(50 * std.time.ns_per_ms);
    try client.tick();
}

๐Ÿค Contributing

Contributions are welcome! Feel free to:

  • Report bugs
  • Suggest new features
  • Submit pull requests

๐Ÿ“ License

This project is licensed under the Apache-2.0 License.

๐Ÿ’– Credits

  • Thanks to a user on Discord (akashic_records_of_the_abyss) for the name suggestion
  • Inspired by the RakNet protocol

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages