A Blockheads-MessageBot extension which provides basic messaging functionality


011.1.32 years ago4 years agoMinified + gzip package size for @bhmb/messages in KB



This extension provides basic support for messages for the Blockheads MessageBot.

Configuration keys (stored in the extension storage object)

Key Description Default
maxResponses The maximum number of triggers to respond to at once. 3
disableWhitespaceTrimming If the trigger should be trimmed before testing. false
regexTriggers If triggers should be parsed as regex. false
announcementDelay The delay between sending announcements. 10
rejoinCooldown If the player leaves and rejoins within this many seconds, don't re-send join messages. 30
triggerCooldown Ignore messages from players for this many seconds after a trigger. 10

Note: This package must be included in a module bundler to work correctly in the browser.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.