Added in 1.19.0

A server admin turns Plugins on in Server settings → Plugins. If you don’t see it in Parley, it isn’t on for your server: ask its admin.

Plugins.

Plugins add commands to a Parley server, such as /roll 3d6. Here’s how to use them, how an admin sets them up, and the plugins Parley makes.

Using a plugin’s commands

Type / at the start of a message. The list shows every command you can use in that channel: Parley’s own first, then plugins’ commands with the plugin’s name at the right. Pick one with Tab or Enter, and the bar above the message box says what each part means as you type it.

What happens next depends on the plugin:

Don’t see a command you expected? The plugin may be off, kept to certain channels or roles, or your role may not have Use commands in that channel. Ask a server admin.

Setting plugins up

This part is for server admins. Plugins are in Server settings → Plugins, for anyone with Manage plugins. Rescan and removing a plugin need Administrator.

Plugins can’t be added from the app. Parley’s official plugins, below, are reviewed before they’re published, and a server set up for them gets them, and their updates, by itself: they’re marked Official and can’t be removed, only turned off. Whoever runs the server can also add other plugins by putting the plugin’s folder in the server’s plugins folder, so ask them if you want to know where one came from.

  1. A plugin is listed, Off, once it’s on the server: official ones arrive by themselves, and for any other, press Rescan once its folder is in place.
  2. Turn it On. A card lists what it adds and what it can do; Turn on approves that.
  3. Click its name, or Configure, to choose who can use it (everyone, or some roles), where it works (every channel, or some channels and categories), and its own settings. Save with the window’s Save.

A newer version of a plugin (an official one’s update, or a folder replaced and then Rescan) keeps it on, with its settings, unless it now asks to do more: then it goes Off until you turn it on and approve that. A plugin that saves data shows how much it uses on its page, with a Data limit and Clear data.

Official plugins

Plugins Parley makes and keeps up to date. Each one is reviewed before it’s published, and servers set up for them get them by themselves. A server admin chooses which to turn on.

What a plugin can and can’t do

A plugin runs in a sandbox on the server. It only sees what one command hands it: who used it, the channel, what they typed, and the people, channels and roles the command names (their names, not more); plus its own settings and the data it saved. It can’t read message history, direct messages, anyone else’s details, or anything on the server’s disk, and it has no internet access. It can only do the things the admin approved when turning it on, and each command it runs has strict limits on time and memory.

Anything a plugin posts is checked like a message you typed, and it can’t ping @everyone, @here or a role, whoever uses it.

All help