Advertisement
hello9371

advanced config.yml

Jul 19th, 2016
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.97 KB | None | 0 0
  1. #############################################################################
  2. # #
  3. # Autorank Advanced Config #
  4. # #
  5. # Please use the SimpleConfig unless you know what you are doing and #
  6. # need functionality that the SimpleConfig doesn't provide. #
  7. # #
  8. #############################################################################
  9.  
  10. ranks:
  11. 'Sapling':
  12. requirements:
  13. time:
  14. value: 3h
  15. mcmmo skill level 1:
  16. value: 50;fishing
  17. mcmmo skill level 2:
  18. value: 50;repair
  19. mcmmo skill level 3:
  20. value: 50;mining
  21. results:
  22. rank change: Sapling;Acacia
  23. command: 'say &p just got a promotion; broadcast &p has just been promoted to Acacia!'
  24. message: 'Congratulations, you are now a Acacia.'
  25. 'Acacia':
  26. requirements:
  27. time:
  28. value: 12h
  29. mcmmo skill level 1:
  30. value: 100;fishing
  31. mcmmo skill level 2:
  32. value: 100;repair
  33. mcmmo skill level 3:
  34. value: 100;mining
  35. results:
  36. rank change: Acacia;Jungle
  37. command: 'say &p just got a promotion; broadcast &p has just been promoted to Jungle!'
  38. message: 'Congratulations, you are now a Jungle.'
  39. 'Jungle':
  40. requirements:
  41. time:
  42. value: 1d
  43. mcmmo skill level 1:
  44. value: 200;excavation
  45. mcmmo skill level 2:
  46. value: 200;fishing
  47. mcmmo skill level 3:
  48. value: 200;herbalism
  49. mcmmo skill level 4:
  50. value: 200;mining
  51. mcmmo skill level 5:
  52. value: 200;woodcutting
  53. mcmmo skill level 6:
  54. value: 200;archery
  55. mcmmo skill level 7:
  56. value: 200;axes
  57. mcmmo skill level 8:
  58. value: 200;swords
  59. mcmmo skill level 9:
  60. value: 200;taming
  61. mcmmo skill level 10:
  62. value: 200;unarmed
  63. mcmmo skill level 11:
  64. value: 200;acrobatics
  65. mcmmo skill level 12:
  66. value: 200;alchemy
  67. mcmmo skill level 13:
  68. value: 200;repair
  69. results:
  70. rank change: Jungle;Birch
  71. command: 'say &p has just been promoted to Birch; broadcast &p has just been promoted to Birch!'
  72. message: 'Congratulations, you are now a Birch.'
  73.  
  74. # new requirements and results can be added by other plugins that hook into the Autorank API
  75. # these are the ones that are included in the main plugin:
  76. #
  77. # requirements:
  78. # time: 1d 1h 1m
  79. # exp: 20 (level)
  80. # money: 2000 (requires vault ! Player has to have at least this amount of money)
  81. # world: world_nether (player has to be in this world to get ranked)
  82. # gamemode: 1 (player has to have a certain gamemode, 0 = Survival mode, 1 = Creative mode, 2 = Adventure mode)
  83. # 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.)
  84. # 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)
  85. # Example: break 10 magenta wool would be: 'blocks broken: 35;10;2' 35 = itemid, 10 = amount, 2 = damagevalue
  86. # 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)
  87. # votes: 10 (player has to have voted at least 10 times) (Requires Stats and Votifier)
  88. # damage taken: 10 (player has to have taken 10 damage) (damage is not counted in hearts) (Requires Stats)
  89. # 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,
  90. # location: x;y;z;world;radius (player has to be in a location or within its radius)
  91. # faction power: 10 (Amount of power a faction has to have) (Requires Factions)
  92. # players killed: 10 (Player has to kill at least 10 players) (Requires Stats)
  93. # 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)
  94. # 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)
  95. # 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)
  96. # worldguard region: TestRegion (Player has to be in a certain WorldGuard region) (requires WorldGuard)
  97. # mcmmo skill level: 100;mining (Player has to have at least level 100 in mining) (requires McMMO)
  98. # mcmmo power level: 100 (Player has to have at least power level 100) (requires McMMO)
  99. # permission: i.need.a.permission (Player has to have this permission)
  100. # fish caught: 10 (Player has to have caught at least 10 fish) (requires Stats)
  101. # items crafted: 7 (Player has to have crafted at least 7 items) (requires Stats)
  102. # times sheared: 15 (Player has to have sheared at least 15 sheep) (requires Stats)
  103. # essentials geoip location: Netherlands (Player has to be in the area 'Netherlands') (requires Essentials GeoIP)
  104. # 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)
  105. # 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)
  106. # acidisland level: 10 (Player needs to have at least an island level of 10) (AcidIsland required)
  107. # askyblock level: 10 (Player needs to have at least an island level of 10) (ASkyBlock required)
  108. # javascript: Player.getHealth() > 15;You need at least 15 hearts of health. (This first part must be true for this evaluations to be true, the second part is the description that is shown.)
  109. #
  110. # results:
  111. # rank change: new-rank
  112. # rank change: old-rank; new-rank
  113. # rank change: old-rank; new-rank; world (only works for permissions plugins that support this)
  114. # message: 'You got ranked up'
  115. # 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.
  116. # 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)
  117. # tp: x;y;z;world;yaw;pitch (tp: 0;0;0;world_nether;1.0;2.0)
  118. # 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))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement