As the title says with this plugin you can run commands on the server's console and get their output as string for use on plugins.
Probably useful for those new "chat bridge" plugins, to make your own "Fake Rcon" to the server via that bridge.
It works by using the HLDS's
condebug command and it's output file
qconsole.log, without the need of Orpheu or any other module.
Without Orpheu, signatures, sockets or .so/.dll files, just a plugin:
Compile, upload and it's ready to use
It also includes a demo plugin: an alternative to amx_showrcon (that no longer works since the new anti-slowhack updates), using this API.
F.A.Q.:
- Why?: After noticing that the Orpheu method crashes with some very specific commands (users), i did a test with condebug to see if it was capable of replace it, and this is the polished result.
- When using it, "[822]" appears on the server console: As there is no better(?) way to check if condebug is enabled, i need to send a non empty message to test if the file is created or not.
- I already have condebug enabled, will not work/delete my logfile?: The plugin already checks for it, renames the original file while working then places it back after running the command. (Can be disabled with the cvar: fakercon_keepoldlog)