YouAreBeingLogged

About

The ULTIMATE logger to keep your players and server safe!
This mod goes perfectly in hand with my other mod called YouAreBeingWatched.

Features

• Logs everything a player does on your server.
• Each player gets its own folder by their SteamID with logs.
• Each time they join a new log gets created with date and time.
• Console like monitoring via the log file.
• /pin command to log a custom message for later.
• /inventory command to manually log any player's complete inventory.
• /chest command to log all chest contents near a player.

Loggable Events

The following events can be logged:

| Login/logout events
| Crouch actions
| Inventory changes
| Skill increase/decrease
| Player pings
| Player coordinates
| General interactions
| Ward activations
| Item crafting
| Item equipment
| Item unequipping
| Item usage
| Item drops/pickups
| Item movement
| Damage dealt/received
| Creature kills
| Player deaths
| Building piece placement
| Building piece destruction
| Grave interactions
| Item usage on pieces
| Chat messages
| Pin command
| Plugin events

How to Use

1. Adjust the config to your liking.
2. When a player joins, a log will be created in their own folder.
3. All logs will be in BepInEx/CookieMilk/YouAreBeingLogged/
4. Use /pin [message] in chat or console to log a custom note.
5. Use /inventory [player] to manually log a player's complete inventory.
6. Use /chest [player] [radius] to log all chest contents near a player.
1.0.9 • Organized the configs.
      • Added a new arg, all actions can now be called in the Info Template as [Action]
      • Improved Player Info Template with new args such as [Action]
      • Added a new Template, Ping Info Template that lets you define the output for the Ping log type.
      • Added a new Template, Coords Info Template that lets you define the output for the Coords log type.
      • Added a new config setting that allows you to define the order the date is being displayed.
      • Added a new config setting that allows you to define Axis labels before coords.
      • Added a new config setting that allows you to define the order the coords are being displayed.
      • Added a new config setting that allows you to define the file name for Player log.
      • Added a new config setting that allows you to define the file name for Plugins log.
      • Added a new config setting that allows you to define the file name for Chat log.
1.0.8 • Organized the configs.
        Please delete your current config.
      • Added a new config setting that allows you to define how often it logs inventories.
        Previously was every 5 min.
      • Added a new log type, kill event.
      • Added a new log type, death event.
      • All log types now include SteamID.
      • Inventory logging now support equipped items.
      • Added a new command, /inventory
        Format: /inventory [player]
      • Added a new command, /chest
        Format: /chest [player] [radius]
1.0.7 • Internal restructure.
1.0.6 • Internal restructure.
1.0.4 • Plugin.log now only log when a player logs in.
      • Added configuration setting to set a file cap per player.
        When the cap is reached, the oldest file will be deleted/overwritten.
1.0.3 • Plugin.log will no longer be created every 5 min but instead every day like the main log file.
1.0.2 • Added config setting to re-order Player, ID, Cords but Action will always be last as well make them appear on new row.
      • Added config setting to put Action on its own row or not.
      • Added config setting to define how often ping and cords appear.
1.0.1 • Improved logging formatting.
      • Added Skill lvl Increase and Skill lvl Decrease as new logging option.
      • Added a /pin command where you can do /pin custom text to log a custom time to get back to later.
1.0.0 • Release
Requirements:
  • BepInEx 5.4.2333 or later
  • Valheim 0.221.4 or later
Installation:
  • Download the latest version from Thunderstore.
  • Extract the downloaded zip file.
  • Copy the contents to your Valheim/BepInEx/plugins folder.
  • Start the game and enjoy!
Server Installation:
  • Install the mod on your server following the same steps as above.
  • Ensure all clients have the same version installed.
  • Server-side only installation is not supported - all players need the mod.