Auto Rank Setup
MobBootyHunter opened this issue ยท 9 comments
Im new to the autorank plugin, and i honestly can not understand how to do a thing. The tutorials are confusing and i dont explain how rank pathing works. I just want to create a simple ranking path that contains 5-6 ranks. Can someone help explain how i can do this?
Yup, but the 'options' should be without the capital letter. So all lowercase letters.
If you want to create a path from Rank A to Rank B, you can have three properties:
- Prerequisites
- Requirements
- Results
The prerequisites specify what conditions must be met for a player to 'join' the path.
The requirements are the conditions that a player needs to meet for it to complete the path, once the player has actually joined the path.
Lastly, when the player has met all requirements, the results are performed to give the player some rewards, or to trigger some stuff.
Now, here's an example of a path:
Running a marathon:
prerequisites:
in group:
value: Participants
money:
value: 100
upon choosing:
command:
value: "eco take &p 100"
message:
value: "You are now participating in a marathon!"
requirements:
blocks moved:
value: 1000;0
results:
money:
value: 10000
This path will award players with money (see the results property), once they meet the requirement 'blocks moved'. Note that in order for the player to 'start' this path, he needs to be in the permissions group 'Participants' and have 100 money (see the prerequisites property). The upon choosing property can be used to perform results when a player 'starts' the path. See this page for more details.
Is that clear to you?
@Staartvin
Well how would i have it auto place people onto a path, i just want to have it automatically change their rank once they meet certain requirements; not have them choose a path. Like they start as default rank then say after walking 500blocks they auto rank to Rank1 and then it goes on like that. How can i set it up to do that?
That's a good question. You can tell Autorank to automatically give paths to people by setting 'auto choose' option to true. See https://github.com/Staartvin/Autorank-2/wiki/How-to-configure-the-Paths.yml-file%3F#automatically-assign-a-path-to-a-player
@Staartvin So something like this should work just fine?
Please avoid using /ar reload. It's a bad command. If you want to change your paths file, stop the server, edit the file and start the server again. Also, for testing, you should wipe the player data file.
@Staartvin Alright but what do i do about it saying there are no ranking paths found?
@Staartvin Alright well now have a few issues, the server thinks that there is no ranking paths at all, and when i do /ar reload it wipes the paths.yml
@Staartvin Yea it seems that none of my ranking paths work at all.