NetBukkit - .Net Development For Bukkit!

Discussion in 'Plugin Development' started by Danny, Jan 20, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Danny

    TCP + .Net = NetBukkit
    This requires the following plugin:
    http://forums.bukkit.org/threads/tcp-interface-for-bukkit.746/

    This is for development of (C++,C#,Vb etc).Net plugins for bukkit.

    Install the plugin above and setup your port and password as described in the plugin.
    Add NetBukkit as a reference to your project.
    NetBukkit Requires The .Net Framework 3.5
    Heres an example application using NetBukkit:
    http://geek2.org/NetBukkit/Example.rar
    With Sause (VB.Net):
    http://geek2.org/NetBukkit/ExampleSauce.rar
    Example Setup:
    Edit Setup.ini, set values.
    Example Commands:
    !Example - an example command
    !Kick - admin only kick someone
    !About - show the about information

    Here is NetBukkit:
    http://geek2.org/NetBukkit/NetBukkit.rar
    Here is the Sauce:
    http://geek2.org/NetBukkit/NetBukkitSauce.rar

    Enjoy.
    I intend to update this later to have a custom type that automatically sorts the data into seperate events such as "log on" "log off" "message" and seperates the data into username/password, but for now it isn't too hard to do so manually.
    This will work with any .Net based language, and probably mono as well (although I havn't tested it) for best results, run NetBukkit on the same machine as you are running the minecraft server, however it will work from remote machines, just slower.

    You have to realise the features of the TCP interface are limited right now, as it is still rather new, but it is a good starting point for .Net programmers to start making basic chat-based addons, whitelists, or other things.

    NOTE:
    Due to a bug in the TCP interface plugin, ensure that your plugin is the first and only to connect to the tcp interface, if there are disconnects (due to you developing it) restart the minecraft server, or you will encounter errors.
    This would happen even if you did not use NetBukkit.
    NetBukkit has a built in keep alive, and as such there should be no disconnects if it is running on the same machine as the server.
     
Thread Status:
Not open for further replies.

Share This Page