Autorank

Discussion in 'Bukkit Help' started by jolbol1, Oct 30, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    jolbol1

    Hey guys, I'm trying to use AutoRank MultiWorld support, However it won't work, It keeps saying default next rank is not in the permission file. It is, and i've tested it. What am i doing wrong?

    Permission.YML
    Code:
    default: default
    groups:
      opkit:
        permissions:
        - essentials.kits.op
        groups:
        - default
        meta:
          prority: '1'
          prefix: '&7Newbee &f'
      raid:
        permissions:
        - essentials.kits.raid
        groups:
        - default
        meta:
          prority: '1'
          prefix: '&7Newbee &f'
      rankone:
        permissions: []
        groups:
        - default
        meta:
          prority: '1'
          prefix: '&1Amateur &f'
      toptodd:
        permissions: []
        groups: []
      rookie:
        permissions: []
        groups:
        - default
        meta:
          prority: '1'
          prefix: '&bRookie &f'
      iron:
        permissions:
        - essentials.kits.iron
        groups:
        - default
        meta:
          prority: '1'
          prefix: '&7Newbee &f'
      default:
        permissions:
        - autorank.check
        - essentials.afk
        - essentials.balance
        - essentials.build
        - essentials.delhome
        - essentials.help
        - essentials.home
        - essentials.kit
        - essentials.kits.halloween
        - essentials.kits.starter
        - essentials.msg
        - essentials.pay
        - essentials.rules
        - essentials.sethome
        - essentials.sethome.bed
        - essentials.signs.use.buy
        - essentials.signs.use.disposal
        - essentials.signs.use.kit
        - essentials.signs.use.warp
        - essentials.spawn
        - essentials.tpa
        - essentials.tpaccept
        - essentials.warp
        - factions.claim
        - factions.claim.radius
        - factions.create
        - factions.demote
        - factions.description
        - factions.disband
        - factions.home
        - factions.invite
        - factions.join
        - factions.leader
        - factions.leave
        - factions.map
        - factions.name
        - factions.officer
        - factions.open
        - factions.player
        - factions.promote
        - factions.sethome
        - factions.title
        - factions.unclaim
        - factions.unclaimall
        - group.default
        - random.teleport
        groups: []
        meta:
          prefix: '&7Newbee &f'
      veteran:
        permissions: []
        groups:
        - default
        meta:
          prority: '1'
          prefix: '&dVeteran &f'
      newbee:
        permissions: []
        groups: []
      starter:
        permissions:
        - essentials.kits.starterplus
        groups:
        - default
        meta:
          prority: '1'
          prefix: '&7Newbee &f'
      moderator:
        permissions:
        - essentials.deljail
        - essentials.jails
        - essentials.kick
        - essentials.msg.color
        - essentials.nick
        - essentials.nick.color
        - essentials.tempban
        - essentials.togglejail
        - essentials.tp
        - essentials.tp.others
        - essentials.tpaall
        - essentials.vanish
        - essentials.vanish.see
        groups:
        - default
        meta:
          prority: '30'
          prefix: '&b&lMod '
      legend:
        permissions: []
        groups:
        - default
        meta:
          prority: '1'
          prefix: '&6&lLegend &f'
      admin:
        permissions:
        - bukkit.command.ban
        - bukkit.command.ban.ip
        - bukkit.command.ban.player
        - bukkit.command.kick
        - group.moderator
        - villagershop.admin
        - ^group.default
        groups:
        - default
        meta:
          prority: '50'
          prefix: '&7&lAdmin '
      diamond:
        permissions:
        - essentials.kits.diamond
        groups:
        - default
        meta:
          prority: '1'
          prefix: '&7Newbee &f'
      besafe:
        permissions:
        - essentials.kits.besafe
        groups:
        - default
        meta:
          prority: '1'
          prefix: '&7Newbee &f'
      pro:
        permissions: []
        groups:
        - default
        meta:
          prority: '1'
          prefix: '&aPro &f'
      owner:
        permissions:
        - essentials.*
        - factions.*
        groups:
        - admin
        meta:
          prority: '100'
          prefix: '&4[Owner]'
      chainmail:
        permissions:
        - essentials.kits.chainmail
        groups:
        - default
        meta:
          prority: '1'
          prefix: '&7Newbee &f'
    
    AdvancedConfig.YML
    Code:
    ranks:
        default:
            requirements:
                time:
                    value: 2h
            results:
                rank change: default;rankone; world
                rank change: default;rankone; world_nether
                rank change: default;rankone; world_the_end
                rank change: default;rankone; test
                command: 'broadcast &p has played long enough to become an amateur!'
                message: '&6Congratulations, you are now an Amateur.'
            options:
                optional: false
                auto complete: true
        amateur:
            requirements:
                time:
                    value: 10h
            results:
                rank change: amateur;rookie; test
                rank change: amateur;rookie; world
                rank change: amateur;rookie; world_nether
                rank change: amateur;rookie; world_the_end
                command: 'broadcast &p has played long enough to become a rookie!'
                message: '&6Congratulations, you are now a Rookie.'
            options:
                optional: false
                auto complete: true
        rookie:
            requirements:
                time:
                    value: 48h
            results:
                rank change: rookie;pro; test
                rank change: rookie;pro; world
                rank change: rookie;pro; world_nether
                rank change: rookie;pro; world_the_end
                command: 'broadcast &p has played long enough to become a professional!'
                message: '&6Congratulations, you are now a Pro.'
            options:
                optional: false
                auto complete: true
        pro:
            requirements:
                time:
                    value: 168h
            results:
                rank change: pro;veteran; test
                rank change: pro;veteran; world
                rank change: pro;veteran; world_nether
                rank change: pro;veteran; world_the_end
                command: 'broadcast &p has played long enough to become a veteran!'
                message: '&6Congratulations, you are now a Veteran.'
            options:
                optional: false
                auto complete: true
        veteran:
            requirements:
                time:
                    value: 336h
            results:
                rank change: veteran;legend; test
                rank change: veteran;legend; world
                rank change: veteran;legend; world_nether
                rank change: veteran;legend; world_the_end
                command: 'broadcast &p has played long enough to become a legend!'
                message: '&6Congratulations, you are now a Legend.'
            options:
                optional: false
                auto complete: true
               
    # new requirements and results can be added by other plugins that hook into the Autorank API
    # these are the ones that are included in the main plugin:
    #
    #  requirements:
    #      time: 1d 1h 1m
    #      exp: 20 (level)
    #      money: 2000 (requires vault ! Player has to have at least this amount of money)
    #      world: world_nether (player has to be in this world to get ranked)
    #      gamemode: 1 (player has to have a certain gamemode, 0 = Survival mode, 1 = Creative mode, 2 = Adventure mode)
    #      has item: id(;amount;data;name) (checks the players inventory for the item, the name would be the display name of the item)
    #      blocks broken: id(;amount;data;name) (a player has to have broken x amount blocks of item id and data) (Requires Stats) (when no data or amount is given, it will check total blocks)
    #      Example: break 10 magenta wool would be: 'blocks broken: 35;10;2' 35 = itemid, 10 = amount, 2 = damagevalue
    #      blocks placed: id(;amount;data) (a player has to have placed x amount blocks of item id and data) (Requires Stats) (when no data or amount is given, it will check total blocks)
    #      votes: 10 (player has to have voted at least 10 times) (Requires Stats and Votifier)
    #      damage taken: 10 (player has to have taken 10 damage) (damage is not counted in hearts) (Requires Stats)
    #      mobs killed: 5;spider (player has to have killed 5 spiders) (if no entity is specified, then any kill counts) (Requires Stats) (for a list of entities: http://jd.bukkit.org/rb/apidocs/org/bukkit/entity/EntityType.html)
    #      location: x;y;z;world;radius (player has to be in a location or within its radius)
    #      faction power: 10 (Amount of power a faction has to have) (Requires Factions)
    #      players killed: 10 (Player has to kill at least 10 players) (Requires Stats)
    #      global time: 10d 1h 5m (Player has to be online for at least 10 days, 1 hour and 5 mins) (Global time is the accumulated time over all servers you have connected the MySQL database with)
    #      total time: 50d 1h (Player has to be with this server for at least 50 days and 1 hour) (The time from when the player joined for the first time is the reference point. This means that when a player has joined 3 weeks ago, his 'total time' = 3 weeks)
    #      blocks moved: 1000;0 (Player has to move at least an x amount of blocks. Second argument is what kind of movement: 0=walk, 1=boat, 2=train, 3=pig, 4=pig in train, 5=horse) (Need Stats for this)
    #      worldguard region: TestRegion (Player has to be in a certain WorldGuard region) (requires WorldGuard)
    #      mcmmo skill level: 100;mining (Player has to have at least level 100 in mining) (requires McMMO)
    #      mcmmo power level: 100 (Player has to have at least power level 100) (requires McMMO)
    #      permission: i.need.a.permission (Player has to have this permission)
    #      fish caught: 10 (Player has to have caught at least 10 fish) (requires Stats)
    #      items crafted: 7 (Player has to have crafted at least 7 items) (requires Stats)
    #      times sheared: 15 (Player has to have sheared at least 15 sheep) (requires Stats)
    #
    #  results:
    #      rank change: new-rank
    #      rank change: old-rank; new-rank
    #      rank change: old-rank; new-rank; world (only works for permissions plugins that support this)
    #      message: 'You got ranked up'
    #      command: 'say &p hi; give &p 1 100'(executes a console command. &p will be replaced by the player name) You can perform more commands with the ';' sign.
    #      effect: STEP_SOUND;8 (first argument is the effect name, second is the effect data. For a list of possible effects go to http://jd.bukkit.org/rb/doxygen/d8/db9/enumorg_1_1bukkit_1_1Effect.html)
    #      tp: x;y;z;world;yaw;pitch (tp: 0;0;0;world_nether;1.0;2.0)
    #      firework: target;power;type;R;G;B (Spawn a firework with on a player or spawn, with specified power, type and RGB colour) (target can be 'player' or 'spawn', power is an integer, type is a type (see http://jd.bukkit.org/rb/doxygen/d0/d54/enumorg_1_1bukkit_1_1FireworkEffect_1_1Type.html), R;G;B is a RGB colour code (see http://www.rapidtables.com/web/color/RGB_Color.htm))
     
  2. Offline

    AGC-Intra

    jolbol1
    You call for a rankup to amateur but I don't see that rank in your permissions file.

    Also wonder why in permissions file you have a "prority" setting.
    I'm not familiar with a 'priority' setting in permissions, maybe that spelling error is part of the coders design?
    Otherwise prority should be priority.
     
  3. Offline

    jolbol1

    Fixed that, the priority bit is a mistake, thanks for pointing that out. I changed the amateur bit to rankOne, however its just not bothering to auto update them.

    Or not, its still saying that the permission is invalid. I have tested and the group works.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 14, 2016
  4. Offline

    Winterfellhard

    jolbol1 What are you using for permissions? Also do not use the advanced config unless you absolutely have to. It requires a much deeper understanding.
     
Thread Status:
Not open for further replies.

Share This Page