diff --git a/PLUGINS.md b/PLUGINS.md index d8a5a00e..737d2042 100644 --- a/PLUGINS.md +++ b/PLUGINS.md @@ -106,7 +106,8 @@ If EDMC is started while the game is already running EDMC will send the last few ``` def interaction(cmdr, entry): - sys.stderr.write("Interacted: {} with Cmdr {}\n".format(', '.join(entry['Interactions']), entry['Name'].encode('utf-8')) + # Log type of interaction, Cmdr name, and local time + sys.stderr.write("{} Cmdr {}\n".format(', '.join(entry['Interactions']), entry['Name'].encode('utf-8'), , time.strftime('%Y-%m-%dT%H:%M:%S', time.localtime(entry['Epoch'] - 11644473600)))) ``` ### Getting Commander Data