Log only modeSuggestion
Hi,

Is there a chance this plugin could be updated to log only? It's stopping some legit ability to build into rocks but it'd be nice to be able to review logs/inspect the co-ords it gives.

I tried adding the bypass permission but it no longer logs.
I modified the plugin to reference the DiscordMessages API to do this:
// WEASELNOTE: Notify here instead of taking action
//entity.Kill();
DiscordMessages?.Call("API_SendTextMessage", webHook, $"{player.displayName} suspected of building {entity.PrefabName} at {entity.transform.position}");


Note you'll need to add the following lines toward the top of the plugin after the initial class declaration (and also have the DiscordMessages plugin installed):

private string webHook = "<URL TO DISCORD WEBHOOK URL GOES HERE>";

[PluginReference]
Plugin DiscordMessages;
 
@explodedotgg, I believe the user is asking for logging, not Discord integration.

In this case, it'd simply be a matter of disabling the actual blocking and adding a single line for log output.

So replace the line: 
entity.Kill();

With:

Puts("{player.displayName} suspected of building {entity.PrefabName} at {entity.transform.position}");