-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #375 from SockDrawer/advertise-capabilities-#345
Advertise capabilities #345
- Loading branch information
Showing
4 changed files
with
134 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,45 @@ | ||
# Plugin Creation | ||
|
||
Coming soon: Plugin creation instructions for Sockbot 3.0! | ||
Coming soon: Plugin creation instructions for Sockbot 3.0! | ||
|
||
|
||
## Topic: Cross-Platform Support | ||
|
||
When creating a plugin that can work across platforms, it can be helpful to use the `Forum.supports()` function to query for specific capabilities your plugin needs. | ||
|
||
A plugin should refuse to activate on a platform that does not support key functionalty. If extra functionality is unsupported, it can be disabled at activation time. Plugins should use the `Formatting` capability key to determine what sort of output to produce and adjust to the platform. | ||
|
||
### Known Capabilities | ||
|
||
- Chats | ||
- PMs | ||
- Users | ||
- Avatars | ||
- Follow | ||
- URL | ||
- Seen | ||
- PostCount | ||
- Posts | ||
- Edit | ||
- Delete | ||
- Bookmark | ||
- Vote | ||
- URL | ||
- Topics | ||
- URL | ||
- Watch | ||
- Mute | ||
- Categories | ||
- Management | ||
- Notifications | ||
- URL | ||
- Formatting | ||
- Markup | ||
- Markdown | ||
- BBCode | ||
- HTML | ||
- Multiline | ||
- Colors | ||
- Links | ||
- Images | ||
- Spoilers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters