v1.1

Details

  • Filename
    Ranker.jar
  • Uploaded by
  • Uploaded
    Dec 3, 2012
  • Size
    47.29 KB
  • Downloads
    723
  • MD5
    50d69089c1af315bbd45859b7f0d9340

Supported Bukkit Versions

  • 1.4.2

Changelog

Ranker Chat

This option in the configuration file lets turn ranker chat on/off. This lets you to use the default bukkit chat or other chat plugins.

general:
  chat: true
  • command: /ranker general/chat true
  • command: /ranker general/chat false
  • permission: ranker.manage

Execute Commands and Custom Messages

command1-command3 lets you set 3 custom commands to be executed by the server or by the player. Make sure players have the appropriate permission for the command. A generic message will be used if there is no custom message for a rank.

autorank:
  world:
    Peon: default
    Citizen:
      requirement: pve=40,time=400
    Recruit:
      command1: server:/say test command1
      requirement: pve=2,time=600
      command2: player:/me is a test of command2
      command3: player:/me is a test of command3
    Warrior:
      message: You gained the power of the Warrior
  • command: /ranker list
  • command: /ranker autorank/world/Recruit/command1 server:/say test command1
  • command: /ranker autorank/world/Recruit/command2 player:/me test command2
  • command: /ranker autorank/world/Warrior/message: You gained the power of the Warrior
  • permission: ranker.manage

Stats

stats inside the config.yml file is now a root node from being a child node of the (chat) node.

stats:
  line1: '&8--------------------------------------------'
  line2: ' &3{RANK} &2{PLAYER}'
  line3: ' &6{PVP} &aplayers killed.'
  line4: ' &6{PVE} &amonsters/animals killed.'
  line5: ' &6{TIME} &aminutes played.'
  line6: ' &6${MONEY} &ain wealth.'
  line7: '&8--------------------------------------------'
  • command: /ranker stats/line1 &8------
  • command: /ranker stats/line2 &e {RANK} &f{PLAYER}
  • command: /ranker stats/line3 &6 {PVP} &aplayers killed.
  • command: /ranker stats/line3 remove
  • permission: ranker.manage

Appearance of Ranks

chat/rank inside the config.yml now changed to chat/ranktitle

chat:
  ranktitle:
    WorldBoss: '&9{WORLD} &4[&b{RANK}&4] &6{PLAYER}&4: &a'
    Peon: '&7[&a{RANK}, {PLAYER} is stupid&7] &6{PLAYER}&2: &9'
    Knight: '{PLAYER}: &3'
  • command: /ranker chat/ranktitle/Knight &a{RANK} {PLAYER}&2: &8
  • command: /ranker chat/ranktitle/Knight remove
  • permission: ranker.manage

Config.yml Example

general:
  chat: true
autorank:
  world:
    Peon: default
    Citizen:
      requirement: pve=40,time=400
    Recruit:
      command1: server:/say test test
      requirement: pve=2,time=600
      command2: player:/me is a test of command2
      command3: player:/me is a test of command3
    Warrior:
      message: Congratulations on Warrior rank!
      requirement: pve=3,time=800
    Knight:
      requirement: pve=4,time=1000
      command2: player:/say this is a test
      command1: server:/say this is a test
      command3: server:/say this is a test
      message: Grats on knight &3{PLAYER}
    Hero:
      requirement: time=1205,pvp=60
    Overseer:
      requirement: pve=820,time=1400
    King:
      requirement: pve=1140,time=1600
    KingSlayer:
      requirement: pve=1700,time=1800
    Boss:
      requirement: pve=1980,time=2199
    WorldBoss:
      requirement: time=299+pvp=300
      message: You earned WorldBOSS! Like a bawss
  world_the_end:
    Peon: default
stats:
  line1: '&8--------------------------------------------'
  line2: ' &3{RANK} &2{PLAYER}'
  line3: ' &6{PVP} &aplayers killed.'
  line4: ' &6{PVE} &amonsters/animals killed.'
  line5: ' &6{TIME} &aminutes played.'
  line6: ' &6${MONEY} &ain wealth.'
  line7: '&8--------------------------------------------'
permission:
  Peon:
    ranker.stat: true
  Citizen:
    ranker.money: true
    ranker.stat: true
  Recruit:
    ranker.pay: true
    ranker.stat: true
    ranker.money: true
  Warrior:
    ranker.pay: true
    ranker.stat: true
    ranker.money: true
    ranker.setmoney: true
  Knight:
    ranker.pay: true
    ranker.stat: true
    ranker.money: true
    ranker.setmoney: true
    ranker.manage: true
  Hero:
    ranker.pay: true
    ranker.stat: true
    ranker.money: true
    ranker.setmoney: true
    essentials.suicide: true
  Overseer:
    ranker.pay: true
    ranker.stat: true
    ranker.money: true
    ranker.setmoney: true
    essentials.suicide: true
    essentials.fireball: true
  King:
    ranker.pay: true
    ranker.stat: true
    ranker.money: true
    ranker.setmoney: true
    essentials.suicide: true
    essentials.fireball: true
    essentials.spawnmob: true
  KingSlayer:
    ranker.pay: true
    ranker.stat: true
    ranker.money: true
    ranker.setmoney: true
    essentials.suicide: true
    essentials.fireball: true
    essentials.spawnmob: true
    essentials.kit: true
  Boss:
    ranker.pay: true
    ranker.stat: true
    ranker.money: true
    ranker.setmoney: true
    essentials.suicide: true
    essentials.fireball: true
    essentials.spawnmob: true
    essentials.kit: true
    essentials.mail: true
  WorldBoss:
    ranker.pay: true
    ranker.stat: true
    ranker.money: true
    ranker.setmoney: true
    ranker.chatrank: true
    ranker.manage: true
    essentials.suicide: true
    essentials.fireball: true
    essentials.spawnmob: true
    essentials.kit: true
    essentials.mail: true
    essentials.powertool: true
rankrule:
  pupnewfster: Warrior
  Fluffy027: Knight
  keith1233678: Peon
  spikecam23: Peon
  blockus89: WorldBoss
  itzbennylol: WorldBoss
  khangsporty01: Knight
chat:
  ranktitle:
    Warrior: '&a{RANK} {PLAYER}&2: &8'
  • chat/broadcast temporarily removed, will be fixed in future release.
  • autorank/<worldName>/<rankName>/message avoid using custom colors until fixed in future release.
  • Cannot set custom commands/message for default rank yet.