LunaTTvBot / LunaBot

0 stars 1 forks source link

Feature/user awards #104

Closed CapCalamity closed 8 years ago

CapCalamity commented 8 years ago

Basis for ActivityScore #43
This does not solve the issue

This is my proposed basis for the ActivityScore Plugin. Currently it hooks into the new Spam / SpamEnd events (same for emotes) to give out "awards" to users.

Awards

Awards represent things that a user has achieved, good or bad.
An Award has a type, value, and multiplier. Value is the base value of the Award and should not be changed. Multiplier shows how often the user has gained this award, everytime increasing the total Value. TotalValue gives you direct access to Value * Multiplier

You can retrieve a Users awards by calling UserAwardsPlugin.GetAwards, and the calculated total of the awards directly with UserAwardsPlugin.GetPoints.

To fully use this, we probably need more awards that we can give out, but i'm not sure how i can implement some of these

iPaat commented 8 years ago

Gj here :)