FabioZumbi12 / Sponge-RankUpper

Plugin to promote players based on requeriments
GNU General Public License v3.0
5 stars 12 forks source link

[Suggestion] - ActiveTime Import #37

Open GershonR opened 5 years ago

GershonR commented 5 years ago

Is your feature request related to a problem? Please describe. I would like to use this plugin, but I would like to keep the playtime of my players.

Describe the solution you'd like I was wondering if its possible to write an importer to read the ActiveTime players.stor and save them into the RankUpper database.

Example format is as follows:

"11111111-1111-1111-1111-111111111111" {
    activetime=30
    afktime=0
    username=Test
}
"00000000-0000-0000-0000-000000000000" {
    activetime=154913
    afktime=3485
    milestones {
        money-reward=153910
        Member=86544
        SeniorMember=18013
    }
    username=Testing123
}

I believe that the format is simple enough to be able to convert to this plugins format, as it has the users UUID, username and the time they have played.