I was planning on waiting for 0.7 at first, as EP/GP and decay supposedly will be a core feature there. Unfortunally, things changed in guild, and I had to move forward faster. Thats why I wrote this little hack.
First off all, lets be clear. This isn't a plugin, this is a hack. Instead of using EQDKP's standard ways of adding and removing points, this decay system will change your EP, GP and Adjustments right off in the database. This could in theory break your whole system, and I take no resposibility if it would do that.
This also involves changing some of the code of EQDKP, and therefor any changes will be removed come next patch (provided we have one before 0.7), and might not work with the next one.
Basicly, I would not recomend this hack at all, unless you really need a working EP/GP system, and know what you are doing.
How does it work?
It uses a modified version of the Decay plugin to work the decay magic.
Instead of just adding adjustments for the decay, it will write straight to your earned, spend and adjustment cells, adjusting all of them by whatever percentage you specify.
It will also add an adjustment note, however, this is set to a value of 0, and no rollbacks are possible. If you mess up, you have messed up.
As for the viewing part, the standard way of pulling DKP and getting member_current is: member_earned-member_spent+member_adjustment.
This have been changed in most (all that I could find) pages to the following:
This will give you a proper relational system. The +100 means that you have an inital 100 GP. This is a must, partly to make the system more fair to older players in the system, and more imporantly to avoid "division by zero".
The ROUND means that it will be rounded off to 3 decimal points.
The pages that have been changed to this format in my hack are:
I also changed the english translation to read EP for earned, and GP for spent.
Again, I take no responsibility for what may happen if you use this hack. It works for me, and might work for you. Make sure to make backups before using this!
(I hope this is alright to post like this, if not, I beg pardon)