mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-12 15:49:28 -08:00
Add enable/disable log query functionality (#2294)
* Add enable/disable log query functionality This change adds the ability for server owners to allow log querying from inside the client. In the event the functionality is not allowed a result is returned indicating the functionality is disabled. * Added translation Added the ability for the disabled messages to be translated.
This commit is contained in:
@@ -288,6 +288,10 @@ command_counting_interval=10
|
||||
max_command_count_per_interval=20
|
||||
|
||||
[logging]
|
||||
; Admin/Moderators can query the stored logs for information when looking up reports by various players. This
|
||||
; option can allow or disallow them from doing so.
|
||||
; !!NOTE!! Enabling this feature puts a very high CPU and DISK load on the server, enable with caution.
|
||||
enablelogquery=false
|
||||
|
||||
; Servatrice can log user messages to the database table cockatrice_log.
|
||||
; These messages can come from different sources; each source can be enabled separately.
|
||||
|
||||
Reference in New Issue
Block a user