Plugin for craftbukkit

Discussion in 'Plugin Development' started by rob4001, Jan 21, 2011.

Thread Status:
Not open for further replies.
  1. Is there a way of creating a plugin for craftbukkit so that a c# program can control it using commands like
    Craftbukkit.stop();
    Craftbukkit.give(playername,itemid,qty);
     
  2. Offline

    Archelaus

    A possible c#-text-plugin conversion might work.

    E.g.

    C# writes line "Craftbukkit.give("RightLegRed", 1, 64); to text file. 0.5 seconds later, on the automatic reload the plugin does, it reads the command and excutes it.

    Other than this, no idea. Sorry.
     
  3. That might work exept it wpuld be cpu intencive and the risk of overwriting the file
     
  4. Offline

    Archelaus

    Might do. You could also make it read from an SQL database, fill it with commands and when it executes them it removes them from the table and moves onto the next.
     
  5. UPDATE:
    I have found a way of redirecting the console thanks for all of the help
     
Thread Status:
Not open for further replies.

Share This Page