About Loot Audit
A plugin for Rust server owners or admin that can assist in determining if a player is cheating to gain loot.
Loot Audit is used by granting the permission "uselog" to the specific player they suspect is cheating and the plugin will categorically log what the loot is and where it was looted from.
Discord integration is quickly setup by creating a webhook in discord and adding it to the Discord Webhook line in the config.
If you do not wish to use the Discord logging feature then leave that line as is in the config.
NOTE: *** Use permissions can be toggled on/off (true/false) in the config, it is highly recommended to leave it true (set by default) as the logs will add up fairly quickly and can impact server performance. ***
Permissions:
lootaudit.admin - Allows admin to clear the logs from the data file.
lootaudit.uselog - Allows the players loot to be logged.
Commands:
- /clrla - Clears the data files.
- /lasave - Manually saves the data file. (configurable for chat command, non configurable for console)
- /tiadmin - Toggles Ignore admin
- /lahelp - Lists the current set commands to the admin in chat.
- /cdebug - Toggles debug to console.
Features:
* Ignore admin, regardless of permissions.
* Detailed logs sorted by category.
* Easily configurable.
* Logs items even when stacked.
Default Config:
{ "Chat Prefix": "<color=#32CD32>Loot Audit</color>: ", "Discord Prefix": "Loot Audit: ", "Discord WebHook": "https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks", "Change Commands": { "/list Shows Help Syntax": "lahelp", "/lasave manually saves the datafile (in game chat": "lasave", "/cdebug Toggles console debug": "cdebug", "/clrla Clear's data file": "clrla", "/tiadmin Toggles Ignore Admin": "tiadmin" }, "Logging Options": { "Use data file to log": true, "Ignore Admin": false, "Use Console Debugging": true, "Clear data file on wipe": false, "Use Permissions (Recommended)": true }, "Enable or Disable Specific Logs": { "Vending Machines": true, "Item Pickups": true, "Collectible Pickups": true, "Checking Corpses": true, "Player Corpse Looting": true, "NPC Corpse Looting": true, "Looting From Containers": true, "Dispensers": true, "Growables": true, "Looting of Players": true, "Looting of Drop bags": true } }
Default Data File:
{ "Bought": [], "NPCSold": [], "Pickedup": [], "Collected": [], "Chopped": [], "Mined": [], "Hunted": [], "Farmed": [], "CheckedCorpse": [], "CheckedSleeper": [], "CheckedNPCCorpse": [], "LootedFromCorpse": [], "LootedFromNPCCorpse": [], "LootedFromPlayerInventory": [], "LootedFromContainer": [], "LootedFromPlayerDropBag": [] }
Default Lang File:
{ "perms": "You don't have permission to use this command.", "clrla": "Loot Audit Data has been cleared.", "iadmin": "Ignore admin now set.", "iadminf": "Ignore admin now disabled.", "databought": "{0} ({1}) bought {2} {3}(s) from {4} for {5} {6} from {7} ({8}) {9} UTC time.", "databoughtnpc": "{0} sold {1} {2}(s) to {3} ({4}) for {5} {6} {7} UTC time.", "databoughtnpcd": "{0} sold {1} {2}(s) to {3} ({4}) {5} UTC time.", "datalootpickup": "{0} ({1}) picked up {2} {3}(s) off the ground {4} UTC time.", "datachopped": "{0} chopped {1} {2} from a {3} {4} UTC time.", "datamined": "{0} mined {1} {2} from a {3} node {4} UTC time.", "datamined2": "{0} ({1}) mined {2} {3} from a Metal Ore node {4} UTC time.", "datahunted": "{0} carved {1} {2} from a {3} {4} UTC time.", "datafarmed": "{0} ({1}) harvested {2} {3} {4} UTC time.", "datalootcollect": "{0} ({1}) collected {2} {3}(s) off the ground {4} UTC time.", "datacheckcorpse": "{0} ({1}) checked for loot on the corpse of {2} ({3}) {4} UTC time.", "datachecksleeper": "{0} ({1}) checked for loot on sleeping body of {2} ({3}) {4} UTC time.", "datachecknpccorpse": "{0} ({1}) checked for loot on a {2} {3} UTC time.", "datalootfromcorpse": "{0} ({1}) looted {2} {3}(s) from the dead body of {4} ({5}) {6} UTC time.", "datalootfromnpccorpse": "{0} ({1}) looted {2} {3}(s) from a {4} {5} UTC time.", "datalootfromplayerinventory": "{0} ({1}) looted {2} {3}(s) from a {4} owned by {5} {6} UTC time.", "datalootfromcontainer": "{0} ({1}) looted {2} {3}(s) from a {4} {5} UTC time.", "datalootfromdropbag": "{0} ({1}) looted {2} {3}(s) from a drop bag {4} UTC time." }
Other information:
Comments, suggestions or for support message me here or on Discord: gt403cyl2