Keep track of good (or bad) in your team!
Remember the time when you praised dev in your team, who has fixed that nagging bug by burning the midnight oil. But doing so on flock has one problem, that it gets forgotten soon. There’s no track of what all good (or bad ;) a person has done.
To tackle this problem, we’ve written a plugin using outgoing webhooks in flock. It’s pretty simple to use. In any flock group type these commands:
- To increment/decrement score of a person:
scorer <tag-person> ++
or
scorer <tag-person> —
or
scorer <tag-person> <Any Integer>

2. To get the top 5 scorers:
scorer top

3. To get the score of any individual :
scorer <tag-person>

To quickly get this running , just follow these steps :
Step 1: Setup server
To save your time, we’ve written this server using spring framework in java, which you can use. It also persists the scores using mapdb.
Just clone the project from github repository. Cd to the project directory and use maven to build the project.
mvn package
In the target folder , you’ll get the flock-scorer.jar file . Execute this jar & your server is now up & running.
java -jar flock-scorer.jar
Step 2: Configure Outgoing webhook
Configure flock outgoing webhook in all the groups for which you want this feature to be enabled. Point to your server url which would look something like this:
http://yourdomain.com:9000/scorer
If you want to avoid the hassle of setting up the server, just use this url while enabling outgoing webhook in a group:
http://www.dhiwal.com:9000/scorer
That’s it. Now scorer is all set & ready to use. Go score!