1. Mughisi submitted a new resource:

    Command Logger - Logs chat and commands players attempt to use to a separate file.

    Read more about this resource...
     
  2. 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
    }
    }
     
  3. Mughisi updated Command Logger with a new update entry:

    Fix


    [DOUBLEPOST=1433601626][/DOUBLEPOST]
    Thanks for reporting this, it should be fixed in this update :)
     
  4. The commandlog now works, but it is still logging the chat guild and puplic?
     
  5. Make sure you've set them to false in the config (.json file).
     
  6. I've tried that, several times, the chat keeps getting logged.
     
  7. 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.
     
  8. Mughisi updated Command Logger with a new update entry:

    1.0.2

     
  9. 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
      }
    }
    Chat and Guildchat works fine.
    I have try to install the commandloger.cs a few times.
     
  10. Wulf

    Wulf Community Admin

    Which build of Oxide are you using? The latest plugin update only works with the Oxide snapshot currently.
     
  11. same here.no info for commands
     
  12. Check your Oxide version (/version)
     
  13. i reinstalling newest oxide and still not see command log
     
  14. i use 2.0.1307
     
  15. Wulf

    Wulf Community Admin

    Those versions do not have the fix. You'd need 1311 or higher as indicated in the update notes.
     
  16. where i get oxide 1311?
     
  17. Last edited by a moderator: Aug 23, 2015
  18. 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(" ")}");
        }
    }
    To the top of
    Code:
    private void OnPlayerCommand(Player player, string command, string[] args)
    {
    .
    .
    .
    }
    To resolve just this issue.

    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.