pvpgn/pvpgn-server

Command logs

Kellsya opened this issue · 3 comments

First of all, it's great to see that you are developing this, HarpyWar. Thanks for that

Is it possible to add the commands log feature that has been talked about in your forum http://forums.harpywar.com/viewtopic.php?id=1194 ?

Yes, logging will be added, but not a high priority.
(Related to #43 (comment))

Cool. Hope to see it soon as logging is really useful to find if anyone is trying to abuse commands such as banning/locking accounts.

Done.
Log files size doesn't not effect on performance.

There are 4 new config options:

userlogdir  = "var/userlogs"

# Should commands from users be logged to files in the userlogdir?
log_commands = true

# Commands will be logged for users with these command groups
# (global operators and admins are included)
log_command_groups = 2345678

# List of commands that will be logged
# can be defined by connecting them with a comma (,)
# set empty to log all commands
log_command_list = ""

pvpgn_log