mirror of
https://github.com/Mibew/button-refresh-plugin.git
synced 2025-01-22 09:30:31 +03:00
1.5 KiB
1.5 KiB
Mibew Button Refresh plugin
It make the button refresents actual operator's state.
Installation
- Get the archive with the plugin sources. At the moment the only option is to build the plugin from sources.
- Untar/unzip the plugin's archive.
- Put files of the plugins to the
<Mibew root>/plugins
folder. - Add plugins definition to "plugins" structure in "
<Mibew root>
/configs/config.yml". If the "plugins" stucture looks likeplugins: []
it will become:
plugins:
-
name: "Mibew:ButtonRefresh"
config: # Plugin's configurations are described below
refresh_frequency: 3
Plugin's configurations
The plugin can be configured with values in "<Mibew root>
/configs/config.yml" file.
config.ignore_emoticons
Type: Integer
Default: 3
Specify time in seconds between button refreshes. This value is optional and can be skipped.
Build from sources
There are several actions one should do before use the latest version of the plugin from the repository:
- Obtain a copy of the repository using
git clone
, download button, or another way. - Install node.js and npm.
- Install Gulp.
- Install npm dependencies using
npm install
. - Run Gulp to build the sources using
gulp default
.
Finally .tar.gz
and .zip
archives of the ready-to-use Plugin will be available in release
directory.