This module is used to manage and implement Blocklists for BACnet projects.
They allow you to filter or block content based on the Blocklist and Blocklistsettings.
This module is divided into two parts: The Blocklist and the Blocksettings.
Blocklists save blocked words and authors. You can import and export a blocklist from a json file or a bacnet feed.
Blocklistsettings save how blocking should be implemented. The settings can be saved and loaded from a json file.
Blocksettings include:
Blocklevel
- Noblock: Filtering with the help of the own blocklist is disabled.
- Softblock: Words, which are part of the blocklist, are censored without deleting the whole message. If the author is part of the blocklist, the whole message will be deleted.
- Hardblock: If words or authors are part of the blocklist, the whole message will be deleted.
Suggestion block:
Decide whether you want to consider the suggested blocking or not.
For more information check the report and the comments on each function.