LibMinecraft is a .NET library for Minecraft clients and servers, compatible with the Minecraft 1.2.3 protocol.
Using LibMinecraft is easy - here's an example of connecting to a server:
MulitplayerClient client = new MultiplayerClient();
MinecraftServer server = new MinecraftServer("127.0.0.1");
User user = new User("username", "password");
client.Connect(server);
client.LogIn(user); // Now you're playing on the server!
But perhaps you want to run a server instead?
MinecraftServer server = new MinecraftServer();
MultiplayerServer service = new MultiplayerServer(server);
service.AddWorld(new World());
service.Start(); // Players can now connect to your server!
Questions? Join #libminecraft on irc.freenode.net
- C#
- VB.NET
- IronPython
- IronRuby
- And many more
PartyCraft is a Minecraft server built on LibMinecraft, developed by the LibMinecraft team. Check it out!
Tell us about your project, maybe we'll feature it!
Both bugs and feature requests go here.
Follow our guide: PullRequestGuide.md.
You can get Minecraft at minecraft.net
LibMinecraft depends on SharpZipLib and LibNBT.
Our documentation was created with the help of GhostDoc, who graciously provided all of our developers with free licenses.
LibMinecraft is not affiliated with or endorsed by Mojang.