PlaceholderAPI can't detect rank
Dwaynedee opened this issue ยท 0 comments
I get that AR uses paths, but i can't seem to understand how 'ranks' work in there, basically i have tried to use %autorank_current_rank% on a scoreboard to let players know their current rank using placeholderAPI and a scoreboard plugin but its not working out. Even for CTSNC, [autorank-group-primary] do not track the current rank of players. could you please tell me what is wrong?
Attached is my codes for AR. Ive set the groups and ladder using PEX.
prerequisites:
in group:
value: Steve
upon choosing:
message:
value: "You are now on the path of becoming a Male Peasant!"
requirements:
time:
value: 1m
results:
command: broadcast &p has been promoted to 'Male Peasant'!
command2: pex user &p group set MalePeasant
command3: give &p 364 16
command4: give &p 268 1
command5: give &p 269 1
command6: give &p 270 1
command7: give &p 271 1
command8: give &p 280 1
command9: give &p 284 1
command10: give &p 392 4
message: Congratulations, you have completed the 'Steve' path!
options:
display name: "MPeasant"
auto choose: false
show based on prerequisites: true
Squire:
prerequisites:
in group:
value: MalePeasant
upon choosing:
message:
value: "You are now on the path of becoming a Squire!"
requirements:
votes:
value: 5
time:
value: 1h
results:
command: broadcast &p has been promoted to 'Squire'!
command2: pex promote &p Male
command3: give &p 264 2
command4: give &p 334 16
command5: give &p 260 8
command6: give &p 17 64
command7: give &p minecraft:iron_sword 1 0 {ench:[{id:16,lvl:2}]}
message: Congratulations, you have completed the 'Male Peasant' path!
options:
display name: "Squire"
auto choose: true
show based on prerequisites: true
Knight:
prerequisites:
in group:
value: Squire
upon choosing:
message:
value: "You are now on the path of becoming a Knight!"
requirements:
votes:
value: 10
time:
value: 10h
results:
command: broadcast &p has been promoted to 'Knight'!
command2: pex promote &p Male
command3: give &p 264 4
command4: give &p 265 16
command5: give &p 341 6
command6: give &p 364 16
command7: give &p 329 1
message: Congratulations, you have completed the 'Squire' path!
options:
display name: "Knight"
auto choose: true
show based on prerequisites: true
Lord:
prerequisites:
in group:
value: Knight
upon choosing:
message:
value: "You are now on the path of becoming a Lord!"
requirements:
votes:
value: 15
time:
value: 15h
results:
command: broadcast &p has been promoted to 'Lord
command2: pex promote &p Male
command3: give &p 264 4
command4: give &p 155 64
command5: give &p 155 64
command6: give &p 22 4
command7: give &p minecraft:diamond_sword 1 0 {display:{Name:"Veteran's Sword"},ench:[{id:16,lvl:3},{id:21,lvl:1},{id:34,lvl:1},{id:20,lvl:2}]}
message: Congratulations, you have completed the 'Knight' path!
options:
display name: "Lord"
auto choose: true
show based on prerequisites: true
Baron:
prerequisites:
in group:
value: Lord
upon choosing:
message:
value: "You are now on the path of becoming a Baron!"
requirements:
votes:
value: 35
time:
value: 35h
results:
command: broadcast &p has been promoted to 'Baron'!
command2: pex promote &p Male
command3: give &p 264 6
command4: give &p 399 1
command5: give &p 322 6
command6: give &p minecraft:Bow 1 0 {display:{Name:"Heartseeker Bow",Lore:["Never misses the heart."]},ench:[{id:34,lvl:2},{id:49,lvl:1},{id:50,lvl:1},{id:48,lvl:3}]}
message: Congratulations, you have completed the 'Lord' path!
options:
display name: "Baron"
auto choose: true
show based on prerequisites: true`