cfx-server-data icon indicating copy to clipboard operation
cfx-server-data copied to clipboard

feat(chat): convar to stop console prints on msg route

Open DevBlocky opened this issue 4 years ago • 2 comments

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

DevBlocky avatar Dec 12 '20 05:12 DevBlocky

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.

blattersturm avatar Dec 12 '20 08:12 blattersturm

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?

DevBlocky avatar Dec 12 '20 20:12 DevBlocky