Advertisement
Krustymk

autorank advancedconfig

Jul 14th, 2014
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.95 KB | None | 0 0
  1. #############################################################################
  2. # #
  3. # Autorank 2 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. Default:
  12. requirements:
  13. time:
  14. value: 10m
  15. results:
  16. rank change: Default;Newbie
  17. command: 'say &p just got a promotion; broadcast &p has just been promoted to Member!'
  18. message: 'Congratulations, you are now a member.'
  19. Newbie:
  20. requirements:
  21. time:
  22. value: 1h
  23. results:
  24. rank change: Newbie;Member
  25. command: 'say &p just got a promotion; broadcast &p has just been promoted to Member!'
  26. message: 'Congratulations, you are now a member.'
  27. Member:
  28. requirements:
  29. time:
  30. value: 10h
  31. results:
  32. rank change: Member;Player
  33. command: 'say &p just got a promotion; broadcast &p has just been promoted to Member!'
  34. message: 'Congratulations, you are now a member.'
  35. Player:
  36. requirements:
  37. time:
  38. value: 1d
  39. results:
  40. rank change: Player;Trusted_Player
  41. command: 'say &p just got a promotion; broadcast &p has just been promoted to Member!'
  42. message: 'Congratulations, you are now a member.'
  43. Trusted_Player:
  44. requirements:
  45. time:
  46. value: 10d
  47. results:
  48. rank change: Trusted_Player;Senior_Player
  49. command: 'say &p just got a promotion; broadcast &p has just been promoted to Member!'
  50. message: 'Congratulations, you are now a member.'
  51.  
  52. # Member:
  53. # requirements:
  54. # time:
  55. # value: 5d
  56. # exp:
  57. # value: 10
  58. # world:
  59. # value: world_nether
  60. # gamemode:
  61. # value: 0
  62. # has item:
  63. # value: 50
  64. # has item2:
  65. # value: 40
  66. # mobs killed:
  67. # value: 10;pig
  68. # mobs killed2:
  69. # value: 10;spider
  70. # results:
  71. # rank change: Member;Vip
  72. # command: 'say &p has just been promoted to VIP!; give &p 1 100; tell &p You have just earned 100 stone!'
  73. # message: 'Congratulations, you are now a vip.'
  74.  
  75. # new requirements and results can be added by other plugins that hook into the Autorank API
  76. # these are the ones that are included in the main plugin:
  77. #
  78. # requirements:
  79. # time: 1d 1h 1m
  80. # exp: 20 (level)
  81. # money: 2000 (requires vault ! Player has to have at least this amount of money)
  82. # world: world_nether (player has to be in this world to get ranked)
  83. # gamemode: 1 (player has to have a certain gamemode, 0 = Survival mode, 1 = Creative mode, 2 = Adventure mode)
  84. # has item: id(;amount;data;name) (checks the players inventory for the item, the name would be the display name of the item)
  85. # 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)
  86. # Example: break 10 magenta wool would be: 'blocks broken: 35;10;2' 35 = itemid, 10 = amount, 2 = damagevalue
  87. # 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)
  88. # votes: 10 (player has to have voted at least 10 times) (Requires Stats and Votifier)
  89. # damage taken: 10 (player has to have taken 10 damage) (damage is not counted in hearts) (Requires Stats)
  90. # 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)
  91. # location: x;y;z;world;radius (player has to be in a location or within its radius)
  92. # faction power: 10 (Amount of power a faction has to have) (Requires Factions)
  93. # players killed: 10 (Player has to kill at least 10 players) (Requires Stats)
  94. # 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)
  95. # 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)
  96. # 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)
  97. # worldguard region: TestRegion (Player has to be in a certain WorldGuard region) (requires WorldGuard)
  98. # mcmmo skill level: 100;mining (Player has to have at least level 100 in mining) (requires McMMO)
  99. # mcmmo power level: 100 (Player has to have at least power level 100) (requires McMMO)
  100. # permission: i.need.a.permission (Player has to have this permission)
  101. # fish caught: 10 (Player has to have caught at least 10 fish) (requires Stats)
  102. # items crafted: 7 (Player has to have crafted at least 7 items) (requires Stats)
  103. # times sheared: 15 (Player has to have sheared at least 15 sheep) (requires Stats)
  104. #
  105. # results:
  106. # rank change: new-rank
  107. # rank change: old-rank; new-rank
  108. # rank change: old-rank; new-rank; world (only works for permissions plugins that support this)
  109. # message: 'You got ranked up'
  110. # 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.
  111. # 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)
  112. # tp: x;y;z;world;yaw;pitch (tp: 0;0;0;world_nether;1.0;2.0)
  113. # 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