Plugins

Plugins add features to Veles: chat commands, menu items, Preferences tabs and automatic behaviour. Several ship with Veles, and you can add others.

Privacy: the Discord Relay, IRC Relay, Email Digest and (when pointed at a remote server) Ollama Chatbot plugins send chat and IM text to an outside service once you set them up and turn them on. That includes what other people say to you or near you, not only your own messages. Read each plugin’s privacy note below first, and think about whether the people you talk to would expect it.

The Plugin Manager

Open Plugins → Plugin Manager to:

  • See which plugins are loaded and whether they’re running.
  • Start, stop or reload a plugin.
  • Open Folder to find the plugins folder.
  • Rescan the folder after adding new plugin files.

Plugins with settings add a tab to File → Preferences, or a Settings window reached from their entry in the Plugins menu.

Adding a plugin

  1. Click Open Folder in the Plugin Manager.
  2. Copy the plugin’s files into that folder.
  3. Click rescan, then start the plugin.

Only install plugins from people you trust. A plugin runs with the same access as Veles itself: it can read your chat, act as your avatar and read files on your computer.

Check: On macOS the plugins folder is inside the app bundle, so an update replaces it and any added plugins are lost. Is that right? And on Linux, can the Flatpak’s plugin folder be written to at all? If not, is there a per-user plugin folder I should document instead?

Plugins that ship with Veles

Plugin What it does Sends data elsewhere?
Screen Reader Reads chat, IMs and notifications through your screen reader No
Automation AutoSit, PseudoHome, LSL Helper and a rule engine No
Macros Records and replays sequences of actions No
Import/Export Saves content to files and back No
Discord Relay Bridges a chat to a Discord channel Yes, to Discord
IRC Relay Bridges a chat to an IRC channel Yes, to the IRC network
Email Digest Emails you batches of chat and IMs Yes, to your mail server
Ollama Chatbot Answers chat with an AI model Only if the server isn’t on your computer
Demo An example for plugin writers No

The full command lists are in the Plugin Catalog. Type //help <command> in chat for help on any of them.

Screen Reader

Reads incoming text through your screen reader or your system’s speech engine. Choose what’s read in Preferences → Accessibility. See Accessibility.

Automation

Automatic behaviour for your avatar. It acts in the background, so review what you’ve set up before leaving Veles running unattended.

  • AutoSit keeps you sitting on an object. Every 10 seconds it checks and sits you back down if you’re standing. //autosit set <uuid>, //autosit on, //autosit off, //autosit status.
  • PseudoHome returns you to a saved spot if you drift too far from it. //pseudohome set [tolerance], //pseudohome on, //pseudohome off.
  • LSL Helper lets in-world scripts control parts of Veles by IM: sending IMs, saying things in chat and giving inventory. It only obeys objects owned by people you’ve allowed with //lslhelper allow <uuid>.
  • Rule engine: rules made of a trigger (someone comes near or leaves, you’re paid, you get an IM) and an action (invite to a group, send an IM or chat, give an item). Manage rules with //rule or in the plugin’s Preferences tab, where you can also import and export them. //groupinviter is a shortcut for a group-invite rule.

Macros

Record a named list of steps and play it back: say something, emote, wait, send an IM, stand, sit on an object, play a gesture, or run a chat command. Build and edit macros in Preferences → Macros or Plugins → Macros…, and run them with //macro run <name>. Macros are saved per avatar and can be shared as JSON files. Check what a macro from someone else does before running it.

Import/Export

Saves content to files on your computer and uploads it again. Nothing goes to an outside service.

  • Objects to .vobj files, and back. You can only export objects you own and created (or, on OpenSim grids, own with full permissions).
  • Animations to BVH.
  • Scripts and notecards to .lsl and .txt, and back.
  • Wearables (shape, skin, hair, eyes, clothing, physics) to .llw, and back.
  • Textures to PNG, JPG, WebP, BMP, TGA or JPEG 2000.
  • Sounds to OGG or WAV.

Every action is on the Plugins menu with a file picker, so you don’t need the chat commands. Files go to a VelesExports folder in your home folder by default.

Discord Relay

A two-way bridge between one chat in Veles (nearby chat, a group, or an IM with one person) and one Discord channel. Set it up in Preferences → Discord Relay with a Discord bot token, the channel ID, an optional webhook (so messages show the sender’s name), and which chat to relay. Connect from the Plugins menu or with //discord connect.

Privacy: while connected, everything said in the chosen chat, including by other people, goes to Discord. Treat the Discord channel as public to anyone who can read it.

IRC Relay

The same idea as Discord Relay, for one IRC channel. Set it up in Preferences → IRC Relay: server and port (irc.libera.chat:6697 by default), TLS, nickname, channel and an optional SASL login.

Privacy: while connected, everything said in the chosen chat goes to the IRC network, where channels are often logged by others.

Email Digest

Collects nearby chat, group chat and IMs, and emails them to you on a schedule. Set it up in Preferences → Email Digest with your mail server details, addresses, how often to send, and which kinds of message to include.

Privacy: the digests, including messages from other people, pass through your mail provider and land in the inbox you choose.

Ollama Chatbot

Replies to nearby chat or IMs using an AI model running in Ollama. You can limit it to a distance, to messages that mention your name, or to certain kinds of message. Set it up in Preferences → Ollama Chatbot, and turn it on with //ollama on or the Plugins menu.

Privacy: with the default address (http://localhost:11434), everything stays on your computer. If you point it at a server somewhere else, chat and IMs, including other people’s, go to that server. People talking to your avatar may not realise they’re talking to a bot, so consider saying so in your profile.

Check: Second Life’s Terms of Service and some region rules have requirements for scripted agents (bots), such as flagging the account as a bot. Do you want the guide to point readers to those rules here and in chapter 15?

Writing your own

See the Plugin Creator’s Guide.