Advertisement
MoShU23

Config Autorank

Apr 3rd, 2013
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.04 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. use advanced config: true
  11. # all other advanced settings are ignored if this is set to false
  12.  
  13. afk integration: true
  14. # If a compatible AFK plugin is found autorank will not count online time for AFK players
  15. # This option is always on when using the SimpleConfig
  16. # Currently supports: Essentials
  17.  
  18. leaderboard layout: '&6&r | &b&p - &7&d day(s), &h hour(s) and &m minute(s).'
  19. leaderboard length: 5
  20. # changes the appearance of the /ar leaderboard command
  21. # &r : Ranking in the leaderboard
  22. # &p : Player name
  23. # &m : Minutes (with full days and full hours not counted)
  24. # &h : Hours (with full days not counted)
  25. # &d : Days
  26. # &tm : Total amount of minutes
  27. # &th : Total amount of hours
  28.  
  29. language: english
  30. # Languages available: English, Dutch
  31.  
  32.  
  33. ranks:
  34. New:
  35. requirements:
  36. time: 12h
  37. results:
  38. rank change: New;Member
  39. command: 'say &p a fost promovat; broadcast &p a fost promovat la statutul de Member! Felicitari'
  40. message: 'Felicitari, acum esti Member. Din pacate nu avem nicio recompensa la acest level.'
  41. Member:
  42. requirements:
  43. time: 72h
  44. results:
  45. rank change: Member;Popular
  46. command: 'say &p a fost promovat; broadcast &p a fost promovat la statutul de Popular! Felicitari!; give &p 264 5; tell &p Felicitari ai primit 5 diamante!'
  47. message: 'Felicitari, acum esti Popular [Toata lumea se uita la tine]'
  48. Popular:
  49. requirements:
  50. time: 132h
  51. results:
  52. rank change: Popular;Pro
  53. command: 'say &p a fost promovat; broadcast &p a fost promovat la statutul de PRO Minecraft! Felicitari!; give &p 388 5; tell &p Felicitari ai primit 5 emeralde!'
  54. message: 'Felicitari, acum esti PRO la Minecraft [Sper sa nu fi zapacit cu intrebari]'
  55. Pro:
  56. requirements:
  57. time: 240h
  58. results:
  59. rank change: Pro;Expert
  60. command: 'say &p a fost promovat; broadcast &p a fost promovat la statutul de Expert! Felicitari!; tell &p Felicitari, ai jucat 240 de ore fara a primi ban permanent'
  61. message: 'Felicitari, acum esti Expert la acest joc [Expertule ce esti tu expert]'
  62. Expert:
  63. requirements:
  64. time: 800h
  65. results:
  66. rank change: Expert:Veteran
  67. command: 'say &p a fost promovat; broadcast &p a fost promovat la statutul de Veteran! Felicitari!; give &p 403 1 unbreaking:3; tell &p Felicitari, ai primit o carte cu unbreaking 3'
  68. message: 'Felicitari, acum esti Veteran [800 ore jucate, ba da bine mai merge server-ul]'
  69. Veteran:
  70. requirements:
  71. time: 1000h
  72. results:
  73. rank change: Veteran:Legend
  74. command: 'say &p a fost promovat; broadcast &p a fost promovat la statutul de Legenda [Helper ceva?ceva?]! Felicitari!; give &p 397:1; give &p 122 1; tell &p Felicitari ai primit un cap de whiter si un ou de dragon'
  75. message: 'Felicitari, acum esti Legenda [1000 ore jucate]'
  76.  
  77.  
  78.  
  79. # new requirements and results can be added by other plugins that hook into the Autorank API
  80. # these are the ones that are included in the main plugin:
  81. #
  82. # requirements:
  83. # time: 1d 1h 1m
  84. # exp: 20 (level)
  85. # money: 2000 (requires vault ! Player has to have at least this amount of money)
  86. # world: world_nether (player has to be in this world to get ranked)
  87. # gamemode: 1 (player has to have a certain gamemode, 0 = Survival mode, 1 = Creative mode, 2 = Adventure mode)
  88. # has item: id(;amount;data) (checks the players inventory for the item)
  89. #
  90. # results:
  91. # rank change: new-rank
  92. # rank change: old-rank; new-rank
  93. # rank change: old-rank; new-rank; world (only works for permissions plugins that support this)
  94. # message: 'You got ranked up'
  95. # 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.
  96. # 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)
  97.  
  98. sql:
  99. enabled: true
  100. hostname: XXXXX
  101. username: XXXXXX
  102. password: 'XXXXXX'
  103. database: XXXXX
  104. table: autorank
  105.  
  106. #
  107. #
  108. # SQL not working yet
  109. #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement