Added in 1.19.0
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:
- A reply everyone sees is posted as you, with a line above it saying which command and plugin made it: used /roll 3d6 · Dice. You can delete it like any of your messages, but not edit it: the words are the plugin’s.
- A reply only you see, or a problem (“Couldn’t read 3x6”), shows under the last message with Only you can see this. It’s gone when you switch channels or restart.
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.
- 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.
- Turn it On. A card lists what it adds and what it can do; Turn on approves that.
- 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.
- DiceRolling dice in a channel with /roll, such as 3d6 or d20+5, and the settings an admin can change.
Official pluginAdded in plugin 1.0.0
- PollsAsking the channel a question with /poll, with several picks, hidden results, anonymous votes, how long it runs and the New poll form.
Official pluginAdded in plugin 1.0.0
- Word gameGuessing the six-letter word together, by typing on the board or with !word, points, when new boards come, the leaderboard and setting it up.
Official pluginAdded in plugin 1.0.0
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.