Cuberite Forum
Capture Console? - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html)
+--- Thread: Capture Console? (/thread-33.html)



Capture Console? - Dys0n - 02-28-2011

Is there a way to capute the console so basicly anything that is inputed/outputed to console i can capture to a string?


RE: Capture Console? - FakeTruth - 02-28-2011

I can understand if you want input, but you also want output? O.o what for?

And no, you can't get either right now.


RE: Capture Console? - Dys0n - 02-28-2011

(02-28-2011, 08:20 AM)FakeTruth Wrote: I can understand if you want input, but you also want output? O.o what for?

And no, you can't get either right now.

Basicly im making an IRC Plugin, To be able to control the server remotely.


RE: Capture Console? - Cappibara - 03-01-2011

Like a wrapper?


RE: Capture Console? - Dys0n - 03-01-2011

(03-01-2011, 02:34 PM)Cappibara Wrote: Like a wrapper?

Exactly like a wrapper.


RE: Capture Console? - FakeTruth - 03-02-2011

You might be able to grab the server output from the log file, not sure though; it might be in use. You can send commands to the console by using a plugin and calling cRoot:ServerCommand( YourCommandHere )