Autorank

Autorank

380k Downloads

Using AdvancedConfig.yml, not ranking up

Prxmium opened this issue ยท 2 comments

commented

I'm helping my friend set up the AdvancedConfig.yml, and from what I can determine, I've set it up properly, but we aren't being ranked up after meeting the time requirement, which is the only requirement.

Here is the config file: https://hastebin.com/obupodajes.coffeescript

commented

I had it like that before I started messing with other ways to go about it.
At the bottom of the config file it says rank change: new-rank would work fine.

commented

I think the problem is here.
rank change: Apprentice

You need put
rank change: old_rank; new_rank (in your case is "rank change: novice; Apprentice")

ranks:
    Novice:
        requirements:
            time:
                value: 10h
        results:
            rank change: Novice; Apprentice
            command: 'say &p just got a promotion; broadcast &p has just been promoted to Apprentice!'
            command: 'adjustbonusclaimblocks &p 100'
            message: 'Congratulations, you are now an Apprentice!'
            message: 'You have been awarded 100 claim blocks for ranking up!'
            message: 'You can now set a total of 10 homes!'
    Apprentice:
        requirements:
            time:
                value: 20h
        results:
            rank change: Apprentice; Journeyman
            command: 'say &p just got a promotion; broadcast &p has just been promoted to Journeyman!'
            command: 'adjustbonusclaimblocks &p 200'
            message: 'Congratulations, you are now a Journeyman!'
            message: 'You have been awarded 200 claim blocks for ranking up!'
            message: 'You can now set a total of 15 homes!'

I put this on my server and works good, put the right rank change in all ranks, good luck