Jump to content

Feature Request: Configurable XP Decay for Inactive Players

Pending 1.8.0

Mortis
Mortis

Posted

Hi,

Would it be possible to add an optional inactivity/skill decay system to Skill Tree?

What I have in mind is progression gradually decreasing when a player does not log in for a configurable number of days.

For example:

Grace period: 3 days offline

Decay: 1% of total XP/progression per additional inactive day

Maximum decay: configurable, e.g. 35%

Minimum protected level: configurable, e.g. level 10

Prestige should optionally be excluded from decay

Decay would be applied when the player next logs in

Ideally, if XP decay causes the player to lose levels, the corresponding level-earned skill points/skills would also be adjusted safely so the player cannot keep more skill points than their reduced level allows.

A few possible config options could be:

"Enable inactivity decay": true
"Grace period in days": 3
"Decay per inactive day": 0.01
"Maximum inactivity decay": 0.35
"Minimum protected level": 10
"Decay prestige": false

Skill Tree already stores the player's logged_off time for Rested XP, so I was wondering whether that existing system could also be used for inactivity decay.

The idea is to make long-term persistent progression a little more dynamic on PvE servers without completely wiping players who take a break.

Would something like this be possible to add, or is there already an API-supported way for another plugin to safely reduce XP across multiple levels and adjust the associated skill points?

Thanks!

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.1m
Total downloads
Customers
12.2k
Customers served
Files Sold
173.3k
Total sales
Payments
3.8m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.