Problem/Bug Autorank Issue

Discussion in 'Bukkit Help' started by melrose123, Dec 16, 2015.

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

    melrose123

    I've been having a problem setting up my AutoRank Advanced config file. I was hoping someone could take a look and see what I've done wrong.

    Advanced Config file:
    Code:
    #############################################################################
    #                                                                           #
    #                   Autorank 2 Advanced Config                              #
    #                                                                           #
    #   Please use the SimpleConfig unless you know what you are doing and      #
    #   need functionality that the SimpleConfig doesn't provide.               #
    #                                                                           #
    #############################################################################
    ranks:
        L1:
            requirements:
                time: 5h
                mcmmo skill level:
                    value: 10;woodcutting
                mcmmo skill level2:
                    value: 10;herbalism
                mcmmo skill level3:
                    value: 10;mining
                mcmmo skill level4:
                    value: 10;excavation
                mcmmo skill level5:
                    value: 10;swords
                mcmmo skill level6:
                    value: 10;archery
                mcmmo skill level7:
                    value: 15;acrobatics
            results:
                rank change: Guest; L1
                command: 'say &p has just been promoted to Level 1'
                message: '&6Congratulations, you are now Level 1!'
        L2:
            requirements:
                time: 12h
                mcmmo skill level:
                    value: 20;woodcutting
                mcmmo skill level2:
                    value: 20;herbalism
                mcmmo skill level3:
                    value: 20;mining
                mcmmo skill level4:
                    value: 20;excavation
                mcmmo skill level5:
                    value: 20;swords
                mcmmo skill level6:
                    value: 20;archery
                mcmmo skill level7:
                    value: 25;Unarmed
            results:
                rank change: L1; L2
                command: 'say &p has just been promoted to Level 2'
                message: '&6Congratulations, you are now a Level 2!'
        L3:
            requirements:
                time: 24h
                mcmmo skill level:
                    value: 30;woodcutting
                mcmmo skill level2:
                    value: 30;herbalism
                mcmmo skill level3:
                    value: 30;mining
                mcmmo skill level4:
                    value: 30;excavation
                mcmmo skill level5:
                    value: 30;swords
                mcmmo skill level6:
                    value: 30;archery
                mcmmo skill level7:
                    value: 25;Axes
            results:
                rank change: L2; L3
                command: 'say &p has just been promoted to Level 3'
                message: '&6Congratulations, you are now Level 3!'
        L4:
            requirements:
                money: 5000
                time: 1d 12h
                mcmmo skill level:
                    value: 40;woodcutting
                mcmmo skill level2:
                    value: 40;herbalism
                mcmmo skill level3:
                    value: 40;mining
                mcmmo skill level4:
                    value: 40;excavation
                mcmmo skill level5:
                    value: 40;swords
                mcmmo skill level6:
                    value: 40;archery
                mcmmo skill level7:
                    value: 25;Fishing
            results:
                rank change: L3; L4
                command: 'say &p has just been promoted to Level 4'
                message: '&6Congratulations, You are now Level 4!'
        L5:
            requirements:
                money: 10000
                time: 2d 12h
                mcmmo skill level:
                    value: 50;woodcutting
                mcmmo skill level2:
                    value: 50;herbalism
                mcmmo skill level3:
                    value: 50;mining
                mcmmo skill level4:
                    value: 50;excavation
                mcmmo skill level5:
                    value: 50;swords
                mcmmo skill level6:
                    value: 50;archery
                mcmmo skill level7:
                    value: 25;Repair
                mcmmo skill level8:
                    value: 10;Taming
            results:
                rank change: L4; L5
                command: 'say &p has just been promoted to Level 5'
                message: '&6Congratulations, You are now Level 5!'
               
    # 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;false/true) (checks the players inventory for the item, the name would be the display name of the item. When the false/true (boolean) parameter is true, the player should have the item with the given display name, if it is false, the player only needs the specific amount and material type.)
    #       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 id 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;name) (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: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html) Can also use WITHER_SKELETON,
    #       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)
    #       essentials geoip location: Netherlands (Player has to be in the area 'Netherlands') (requires Essentials GeoIP)
    #       in biome: river (Player has to be in biome 'river') (a list of all biomes: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/Biome.html)
    #       food eaten: 10;PORK (Player has to eat at least 10 Pork chops) (Food type can be omitted to include any type of food) (Stats required)
    #
    #   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))
    
    PermissionsEX:
    Code:
     Guest:
        permissions:
        - towny.wild.*
        - towny.town.*
        - towny.command.resident.*
        - towny.command.plot.*
        - essentials.afk
        - essentials.spawn
        - essentials.home
        - essentials.sethome
        - essentials.rules
        - essentials.motd
        - essentials.msg.*
        - essentials.help
        - essentials.suicide
        - essentials.signs.use.free
        - essentials.signs.use.buy
        - essentials.signs.use.sell
        - essentials.signs.use.warp
        - essentials.signs.use.disposal
        - essentials.warp
        - essentials.warp.list
        - essentials.warps.*
        - essentials.mail.*
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpadeny
        options:
          prefix: '&f[&5Member&f][L0] '
          default: true
          build: true
      L1:
        permissions:
        - essentials.tpa
        inheritance:
        - Guest
        options:
          prefix: '&f[&5Member&f][L1] '
          default: false
      L2:
        permissions:
        - essentials.tpa
        inheritance:
        - L1
        options:
          prefix: '&f[&5Member&f][L2] '
          default: false
      L3:
        permissions:
        - essentials.tpa
        inheritance:
        - L2
        options:
          prefix: '&f[&5Member&f][L3] '
          default: false
      L4:
        permissions:
        - essentials.tpa
        inheritance:
        - L3
        options:
          prefix: '&f[&5Member&f][L4] '
          default: false
      L5:
        permissions:
        - essentials.tpa
        inheritance:
        - L4
        options:
          prefix: '&f[&5Member&f][L5] '
          default: false
      Admin:
        permissions:
        - essentials.ban
        - essentials.tp
        - griefprevention.*
        - essentials.vanish
        - essentials.invsee
        - essentials.invsee.modify
        - essentials.fly
        - essentials.god
        - essentials.weather
        - towny.command.townyadmin.*
        - coreprotect.*
        inheritance:
        - Mod
        options:
          prefix: '&f[&cAdmin&f]&7 '
          default: false
      Mod:
        permissions:
        - essentials.broadcast
        - essentials.eco
        - essentials.clearinventory.others
        - essentials.clearinventory
        - essentials.vanish.see
        - essentials.kick
        - essentials.kick.notify
        - essentials.kill
        - essentials.mute
        - essentials.mute.notify
        - essentials.tempban
        - essentials.unban
        - essentials.unban.notify
        inheritance:
        - Guest
        options:
          prefix: '&f[&bMod&f]&7 '
          default: false
      vip:
        permissions:
        - essentials.joinfullserver
        - essentials.workbench
        - essentials.clearinventory
        - essentials.sethome.multiple
        - essentials.sethome.multiple.vip
        - essentials.kits.vip
        inheritance:
        - Guest
        options:
          prefix: '&f[&cVIP&f] '
          default: false
      premium:
        permissions:
        - essentials.sethome.multiple.premium
        - essentials.kits.premium
        - essentials.enderchest
        - essentials.back
        - essentials.repair
        - essentials.feed
        inheritance:
        - vip
        options:
          prefix: '&f[&cPremium&f] '
          default: false
      sponsor:
        permissions:
        - essentials.sethome.multiple.sponsor
        - essentials.kits.sponsor
        - essentials.hat
        - essentials.fly
        inheritance:
        - premium
        options:
          prefix: '&f[&cSponsor&f] '
          default: false
      supreme:
        permissions:
        - essentials.sethome.multiple.supreme
        - essentials.kits.supreme
        - essentials.nick
        - essentials.nick.color
        - essentials.heal
        - essentials.recipe
        - essentials.spawner
        inheritance:
        - sponsor
        options:
          prefix: '&f[&cSupreme&f] '
          default: false
      Op:
        permissions:
        - '*'
        options:
          prefix: '&f[&aOP&f]&7 '
          default: false
      Owner:
        permissions:
        - '*'
        - essentials.*
        - ls.admin
        - essentials.god.*
        - essentials.signs.break.buy
        - essentials.signs.break.free
        - essentials.signs.create.free
        - essentials.signs.create.warp
        - essentials.signs.break.warp
        - essentials.signs.break.disposal
        - essentials.signs.create.disposal
        - vault.admin
        - lagg.*
        options:
          prefix: '&f[&4Owner&f]&7 '
          default: false
     
Thread Status:
Not open for further replies.

Share This Page