A way to intercept all the server log?Solved
Hey! Really want to know if there is some way to intercept all the messages server post in console output (not only commands, but debug warnings/save announcements/all other stuff too). Is it possible?
RustDedicated.exe -batchmode -nographics -logFile "log.txt"
In response to Orange ():
RustDedicated.exe -batchmode -nographics -logFile "log.txt"
Plugin can't get access to server folder, only oxide's
No, there is no way for plugins to intercept the server log.
In response to Wulf ():
No, there is no way for plugins to intercept the server log.
Ok, sorry to hear that. Any hooks planned for this purpose?
In response to 2CHEVSKII ():
Ok, sorry to hear that. Any hooks planned for this purpose?
Not likely since that is from Unity, which we do not hook into. We used to filter messages through our custom console, but we do not have that anymore.
In response to Wulf ():
Not likely since that is from Unity, which we do not hook into. We used to filter messages through o...
Yeah, I know about the filter is dead for a while now. R.I.P.
My general idea was about making a plugin which allows admins/or players with permission to see all the server messages in their ingame console (that would make managing server much easier, without any need to look into other rcon clients/webrcon). I also implemented filters, banned commands and made people able to see executed commands and their responces, but other logs are going silently and I can't find any way to intercept them.
It'd be a very expensive/resource intensive hook if it was added, like OnPlayerTick, OnTick, CanNetworkTo, etc.
Locked automatically