Logger

Moved

Total Downloads: 3,431 - First Release: Oct 22, 2014 - Last Update: Dec 12, 2017

5/5, 24 likes
  1. Wulf

    Wulf Community Admin

    The BetterSay plugin uses the global.say command, which will be caught unless you have it in the Command Exclusions in the config.
     
  2. Code:
    {
      "Command Exclusions": [
        "help",
        "version",
        "craft.add",
        "craft.canceltask",
        "global.kill",
        "global.respawn",
        "global.respawn_sleepingbag",
        "global.status",
        "global.wakeup",
        "inventory.endloot",
        "inventory.unlockblueprint"
      ],
      "Log Chat (true/false)": true,
      "Log Commands (true/false)": true,
      "Log Connections (true/false)": true,
      "Log Disconnections (true/false)": true,
      "Log Respawns (true/false)": false,
      "Log to Console (true/false)": false
    }
    My config (i deleted the global.say)... and doesnt show up in logs! But i wrote from RustAdmin who uses global.say and replaces with [Server Admin]:

    ... and in the log (between 1st line and 2nd line it supose to be [SERVER ADMIN]: hello):
    Code:
    [02/12/2017 10:02:49] kyanfaaij (76561198305649630): WITH MY SULFUR
    [02/12/2017 10:26:50] RED (76561198242637224): hey
    [02/12/2017 10:27:26] kyanfaaij (76561198305649630): admin
    [02/12/2017 10:28:01] kyanfaaij (76561198305649630): admin
    [02/12/2017 10:28:20] kyanfaaij (76561198305649630): Animals spawn really rare can you change that?
     

    Attached Files:

  3. Wulf

    Wulf Community Admin

    Did you reload the plugin after changing the config?
     
  4. of course ! :D
     
  5. Wulf

    Wulf Community Admin

    Ah, RCON doesn't use the same methods that everything else would, so commands wouldn't be caught there. RCON would require new hooks in Oxide.
     
  6. k... so... can you do it or ... ? :)
     
  7. Wulf

    Wulf Community Admin

    It's not possible right now, but perhaps down the road if/when those hooks get added in Oxide.
     
  8. Ok. Thanks!
     
  9. I'm getting the following message now:
    Code:
    Failed to call hook 'OnServerCommand' on plugin 'Logger v2.0.3' (IOException: Too many open files)
     
  10. Wulf

    Wulf Community Admin

    That isn't related to the plugin, that's a Linux error. Google "too many open files linux" for solutions.
     
  11. thank you for the fast reply!
     
  12. Can you add the function to delete the old logs after an X amount of days?
     
  13. Wulf

    Wulf Community Admin

    No, the plugin has no access to do that.
     
  14. Any other way to achieve this?
     
  15. Wulf

    Wulf Community Admin

    External script, tool, or extension.
     
  16. (01:05:48) | Error while compiling: Logger.cs(151,123): error CS1061: Type `ConsoleSystem.Arg' does not contain a definition for `ArgsStr' and no extension method `ArgsStr' of type `ConsoleSystem.Arg' could be found. Are you missing an assembly reference?
     
  17. Wulf

    Wulf Community Admin

    You're using a fairly outdated version of the plugin.
     
  18. Hey Wulf,
    seems you're the author of yet ANOTHER indispensable plugin (awesome!). I see this logs respawns; is it possible to log kill events as well? I'd like to see how people are dying so much on our PVE server.
     
  19. Wulf

    Wulf Community Admin

    Well, it's technically a universal plugin and we do not have a hook for that yet, but I can add a special check for Rust and Hurtworld.
     
  20. As I wrote here: Logs command in log-file? | Oxide

    Game Hurtworld
    Version: Oxide 2.0.3195 for Hurtworld 0.3.8.4 (48)

    My CONFIG file now:
    Code:
    {
      "Command Exclusions": [
        "version"
      ],
      "Log Chat (true/false)": true,
      "Log Commands (true/false)": true,
      "Log Connections (true/false)": true,
      "Log Disconnections (true/false)": true,
      "Log Respawns (true/false)": true,
      "Log to Console (true/false)": true
    }
    Not logger file comands. (((
    Not logger file Respawned.

    .\common\Hurtworld Dedicated Server\oxide\logs
    Code:
    logger_chat-2017-04-18
    logger_connections-2017-04-18
    logger_disconnections-2017-04-18andlogger_chat-2017-04-19
    logger_connections-2017-04-19
    logger_disconnections-2017-04-19other
    compiler_19-04-2017
    oxide_2017-04-18
    oxide_2017-04-19