]> jfr.im git - irc/quakenet/newserv.git/commit - chanserv/chanserv.h
ACHIEVEMENTS: Big update
authorsplidge <redacted>
Sat, 27 Mar 2010 17:53:14 +0000 (17:53 +0000)
committersplidge <redacted>
Sat, 27 Mar 2010 17:53:14 +0000 (17:53 +0000)
commit58a9529dd04cb6313514df9d66630b61f5eda7d4
tree3c772cdd0c4e4421f816a82191ac79568a41d088
parent50ce416cf4175a0bfaff43ccc852398944b97654
ACHIEVEMENTS: Big update

Some of these changes are actually included in the previous partial commits.

* Added title system
  - First title you unlock is automatically selected
  - Q command "title" lists available titles and lets you change preference
  - After April 1 is over all titles are automatically removed
* Added timekeeping system
  - Nothing works until April 1
  - On April 1, all achievements and titles are enabled for everyone
  - After April 1, titles are disabled.  Achievements are only enabled for
    users with +c set.  Channel announcements are only enabled for channels
    with +h set (couldn't use same flag sadly).
    - These flags cannot be set before April 1.
  - All commands are flagged appropriately and will automatically disable
    and enable according to the above conditions.
* Added channel announcements
  - Announcements in all channels that all account users are known in.
  - Announcements only happen for achievements worth 30 or more points.
  - After April 1 +h must be set in chanflags to see announcements.
  - #achievements is exempt from most of these restrictions - any user in
    #achievements will have their achievements announced if they are worth
    30 or more points.
* Updated external achievements.  Achievements added for triviabot and snailbot.
* Added scheduled saving of achievements database.  Also saves old file
  before saving.

--HG--
branch : achievements
chanserv/chancmds/chanflags.c
chanserv/chanserv.h
chanserv/chanserv_flags.c
chanserv/chanserv_messages.h
chanserv/chanservstdcmds.c
chanserv/usercmds/userflags.c