Example Paths in Autorank 4.0

It's always useful to have a few examples to work with. This page provides a few examples of Paths that we've come across over the years.

Some of you have expressed concern about the fact that Autorank 4 seems too complicated. I tried to do my best to document and explain most aspects of Autorank, but it does not seem to help very much. A few helpful humans provided me with some feedback, and they would love to see more examples on how to exactly use Autorank's path system. Hence, this page is dedicated to different examples to help you understand how the path system can be configured.

A linear ranking system example

As I've gathered from others, many admins use Autorank as simple, linear system and that's fine! By this I mean a paths system from Rank A to Rank B, Rank B to Rank C, etc. Here's an example file:

Recruit to Member:
  prerequisites:
    in group: 
      value: Recruit
  upon choosing:
    message: 
      value: You are now on your way to becoming a Member!
  requirements:
    blocks moved: 
      value: 5000;0
    exp:
      value: 5
    time:
      value: 25h
    votes:
      value: 10
  results:
    money: 
      value: 100
    command:
      value: broadcast &p has just ranked up to Member! 
    command2:
      value: pex user &p group set Member
    message:
      value: You have been promoted to Member, &p
  options:
    display name: Member
    auto choose: true
    show based on prerequisites: true
Member to Veteran:
  prerequisites:
    in group: 
      value: Member
  upon choosing:
    message: 
      value: You are now on your way to becoming a Veteran!
  requirements:
    blocks moved: 
      value: 45000;0
    exp:
      value: 25
    time:
      value: 100h
    votes:
      value: 25
  results:
    money: 
      value: 1000
    command:
      value: 'pex user &p group set Veteran'
    message:
      value: 'Welcome to the crew of Veterans.'
    message2:
      value: 'Veterans are greatly appreciated here, &p.'
  options:
    display name: "Becoming a Veteran"
    auto choose: true
    show based on prerequisites: true

This configuration will rank up players if they are a Recruit then rank then from Recruit to Member after they have played for at least 25 hours, moved 5000 blocks, voted 10 times and have an xp level of 5. Then, players can rank from Member to Veteran when they play at least 100 hours, moved 45000 blocks, voted 25 times and have an xp level of 25. Seems straightforward, right?

Another linear timing ranking system

Default:
  prerequisites:
    in group:
      value: default
  requirements:
    time:
      value: 2h
  results:
    command:
      value: lp user &p promote <track_name> 
    command2:
      value: broadcast &p has just ranked up to Member!
    message:
      value: Congratulations, you are now Member!
  options:
    display name: Member
    auto choose: true
    show based on prerequisites: true
Member:
  prerequisites:
    in group:
      value: member
  requirements:
    time:
      value: 4h # this rank ranks up 2 hours more of play time after the last rank up
  results:
    command:
      value: lp user &p promote <track_name> 
    command2:
      value: broadcast &p has just ranked up to VIP!
    message:
      value: Congratulations, you are now VIP!
  options:
    display name: VIP
    auto choose: true
    show based on prerequisites: true

This configuration will rank up players if they are a Recruit then rank then from Recruit to Member after they have played for at least 2 hours.

Another linear ranking system

(Thanks to dutchy1001 for this example)

Rank1 to Rank2:
  prerequisites:
    in group: # This is the group you join when joining the server for the first time 
      value: Rank1
  requirements:
    time: # This is the first requirement of 1 hour playime you need to rank up
      value: 1h
  results:
    command: pex user &p group set Rank2 # This is the command from your permission plugin to rank up (using PEX in this case)
    message: Congratulations, you just got promoted to Rank2! # A message to broadcast you ranking
  options:
    display name: Default # This will show the path's name when doing /ar list
    auto choose: true # This will automatically put you in the path

More examples will be added when deemed necessary! You can also suggest new/better examples by sending a private message to me (Staartvin on Spigot or Bukkit)!

Last updated