mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-09 04:23:45 -05:00
Chat plugins are a set of functionalities and data that allows users to implement in their server additional plugins less related to the main purpose of the simulator. The plugins are to be used with chat commands and are tightly implemented with them. Plugins can be used for games or other relevant interaction of users with the chat commands.
16 lines
606 B
JavaScript
16 lines
606 B
JavaScript
/**
|
|
* Chat plug-ins
|
|
* Pokemon Showdown - http://pokemonshowdown.com/
|
|
*
|
|
* These are chat plugins - small programs to enhace the chat rooms on Pokemon Showdown.
|
|
* Plugins are objects inside the plugins object. The objects are expected to have data values and a commands object inside.
|
|
* The data object saves the data relevant to the plugin, like scores.
|
|
* The commands object is used to import the commands onto the chat commands.
|
|
* It's very important that you don't add plug-in commands with the same name as existing commands.
|
|
*
|
|
* @license MIT license
|
|
*/
|
|
|
|
var plugins = exports.plugins = {
|
|
};
|