Jump to content

basic logging

Closed 1.1.62

Exploding Weasel
Exploding Weasel

Posted

FEATURE REQUEST

Hi there.  I see someone else made a request for Discord logging, but I'd be more interested in basic logging of items purchased by players so I can determine which items are most/least popular etc.  ideally these would be stored in oxide/logs.  I think this would be universally helpful so perhaps it could be merged into a future release?

David

Posted

Hey, sure it is something I can do in future version

David

Posted

Changed Status from Pending to Closed

Exploding Weasel

Posted

As a followup, I added this myself with a single line of code added to the GiveTo() function upon success state:

 // Log event to file
 LogToFile("purchases", $"{player.displayName.Sanitize()} - {player.UserIDString} received {amount} x {item.info.shortname}", this, true);

 

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.