cfx-server-data
cfx-server-data copied to clipboard
feat(chat): convar to stop console prints on msg route
Add a convar to be able to stop console prints when a message is routed. This does not change default behavior without setting the convar to something non-zero.
Usage for note:
set chat_silent 1 # disables prints to server console
I don't believe this makes sense as a global setting on script side.
Might be better to take this along in log refactoring and add some sort of levels.
Sent from ProtonMail Mobile
On Sat, Dec 12, 2020 at 06:32, blockba5her [email protected] wrote:
Add a convar to be able to stop console prints when a message is routed. This does not change default behavior without setting the convar to something non-zero.
Usage for note:
set chat_silent 1 # disables prints to server console
You can view, comment on, or merge this pull request online at:
https://github.com/citizenfx/cfx-server-data/pull/139
Commit Summary
- feat(chat): convar to stop console prints on msg route
File Changes
Patch Links:
- https://github.com/citizenfx/cfx-server-data/pull/139.patch
- https://github.com/citizenfx/cfx-server-data/pull/139.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
That's currently the only server print as of right now, or would that refactoring also contain a new logging system for the chat resource? Also, maybe this could be a temporary solution until that's implemented?