UPDATE: It works now, I had to use the scheduler to delay the setting of the log block's data. Thanks, nisovin! I uploaded the completed plugin...
Separate names with a comma.