Mughisi submitted a new resource:
Command Logger - Logs chat and commands players attempt to use to a separate file.
Read more about this resource...
Command Logger [Replaced]
Discussion in 'Plugin Support' started by Mughisi, Jun 2, 2015.
-
I've set chat false and only having command logger on true, but it still logs the chat and does not log when someone is using any commands?
{
"Settings": {
"ChatLogEnabled": false,
"CommandLogEnabled": true,
"GuildChatLogEnabled": false
}
} -
Mughisi updated Command Logger with a new update entry:
Fix
[DOUBLEPOST=1433601626][/DOUBLEPOST] -
The commandlog now works, but it is still logging the chat guild and puplic?
-
-
I've tried that, several times, the chat keeps getting logged.
-
This does not seem to work with one of the latest updates. I see nothing in the logs. It just stopped writing for some reason.
-
Mughisi updated Command Logger with a new update entry:
1.0.2
-
i have latest oxide and the new command logger 1.0.2 but the commandlog still not working
commandlogger.json:
Code:{ "Settings": { "ChatLogEnabled": true, "CommandLogEnabled": true, "GuildChatLogEnabled": true } }
I have try to install the commandloger.cs a few times. -
Wulf Community Admin
-
-
-
i reinstalling newest oxide and still not see command log
-
-
Wulf Community Admin
-
where i get oxide 1311?
-
then i have have reinstall the previous version to run the serverLast edited by a moderator: Aug 23, 2015 -
[DOUBLEPOST=1440349320][/DOUBLEPOST]looks like command log work nowthx
-
Recommendation:
The GuildChat portion of this plugin is 50% working. This only captures guild chat when you are in GuildChat mode. if you use /g [your message here] each time it will get captured by OnPlayerCommand rather than GuildChatEvent. I recommend adding:
Code:if(command.ToLower() == "g" || command.ToLower() == "guild"){ if (GuildChatLogEnabled){ Log("guild", $"[{player.GetGuild().Name}] {player.Name} : {args.JoinToString(" ")}"); } }
Code:private void OnPlayerCommand(Player player, string command, string[] args) { . . . }
I personally modified the plugin to capture OOC chat separately as well since that is a popular plugin on Role Play servers. For this I ended up re-writing the whole OnPlayerCommand to incorperate a Switch(command.ToLower()) structure to easily add new commands to log in a different manner.