Plugin:MeshCore: Difference between revisions

From ShoutIRC RadioBot Wiki
Jump to navigation Jump to search
Created page with "MeshCore ==Plugin Info== This plugin adds support for MeshCore radios.<br> For this plugin, you will need a copy of [https://github.com/ipnet-mesh/meshcore-mqtt meshcore-mqtt] running. ==Configuration== See the Configuration page. ==Libraries in Use== [https://github.com/eclipse-mosquitto/mosquitto/tree/master/lib libmosquitto] ([https://www.eclipse.org/org/documents/edl-v10/ EDL v1.0 License]) [ht..."
 
No edit summary
Line 2: Line 2:
==Plugin Info==
==Plugin Info==
This [[plugins|plugin]] adds support for MeshCore radios.<br>
This [[plugins|plugin]] adds support for MeshCore radios.<br>
For this plugin, you will need a copy of [https://github.com/ipnet-mesh/meshcore-mqtt meshcore-mqtt] running.
For this plugin, you will need a copy of [https://github.com/ipnet-mesh/meshcore-mqtt meshcore-mqtt] running.<br />
'''Security Warning: Since anyone can use whatever nickname they want on their node, you shouldn't add channel hostmasks to users unless you are solely in private channels with trusted users since they can easily spoof it. DM/PM hostmasks should be safe.'''


==Configuration==
==Configuration==
  See the [[Configuration:MeshCore|Configuration]] page.
  See the [[Configuration:MeshCore|Configuration]] page.
==PM/Console Commands==
In MeshCore, in-channel messages only give the speaking user's node nickname and not the public key, so the bot can't reply to them via direct/private message and has to reply in-channel instead. These commands let you store a public key for a nickname so the bot can reply via DM.<br />
'''Security Warning: Since anyone can use whatever nickname they want in channels, this could be used to be a nuisance if someone uses a command to get the bot to DM the wrong person a reply.'''
{{cmd-table-start}}
{{cmd-table-entry|!meshcore-viewuserpubkey nickname|+mohd (any)|View a nickname's stored public key.}}
{{cmd-table-entry|!meshcore-saveuserpubkey nickname pubkey|+mo (any)|Save a public key for a nickname.}}
{{cmd-table-entry|!meshcore-deluserpubkey nickname|+mo (any)|Delete a nickname's saved public key.}}
{{cmd-table-end}}


==Libraries in Use==
==Libraries in Use==

Revision as of 21:37, 3 May 2026

Plugin Info

This plugin adds support for MeshCore radios.
For this plugin, you will need a copy of meshcore-mqtt running.
Security Warning: Since anyone can use whatever nickname they want on their node, you shouldn't add channel hostmasks to users unless you are solely in private channels with trusted users since they can easily spoof it. DM/PM hostmasks should be safe.

Configuration

See the Configuration page.

PM/Console Commands

In MeshCore, in-channel messages only give the speaking user's node nickname and not the public key, so the bot can't reply to them via direct/private message and has to reply in-channel instead. These commands let you store a public key for a nickname so the bot can reply via DM.
Security Warning: Since anyone can use whatever nickname they want in channels, this could be used to be a nuisance if someone uses a command to get the bot to DM the wrong person a reply.


Commands Flags Needed Description
!meshcore-viewuserpubkey nickname +mohd (any) View a nickname's stored public key.
!meshcore-saveuserpubkey nickname pubkey +mo (any) Save a public key for a nickname.
!meshcore-deluserpubkey nickname +mo (any) Delete a nickname's saved public key.

Libraries in Use

libmosquitto (EDL v1.0 License)
nlohmann JSON (MIT License)

OS Support

Operating System: Windows 32-bit Windows 64-bit Native Linux/Unix 32-bit Linux/Unix 64-bit FreeBSD 32-bit FreeBSD 64-bit
Supported: Yes Untested Yes Yes Yes Yes



RadioBot vde

RadioBot main pages
Main PageInstallationChangelogCommandsPluginsFAQConfigurationCreditsRemote ClientBuilt-In VariablesMulti Sound Server ModeUsername Character Restrictions
Auto DJ Pages
Auto DJ Main PageWebRequest SystemSchedulerMP3 EncoderVoice SupportMySQL Plugin