Autorank

Autorank

380k Downloads

Autorank reset command not working properly!

LonLoF opened this issue ยท 2 comments

commented

Hi,

In your wiki you have mentioned command /ar reset with variation /ar reset player_name activepaths. When I tried to use it does not care about player name or progress/activepaths/completedpaths tag. It opens chat with plugin where I have to say all parameters again tag progress/activepaths/completedpaths, player name and at the end it ask to confirm or deny. For that last my logic was to write confirm but actually I needed to write yes.

So on the picture you see, what command I tried and how that responded for me.

With that kind behavior I don't find the way to run that in console. And it is weird that if you type /ar reset player_name activepaths you have to confirm all tags. I don't see the point for that command in that case.

At the end I would like to run that command in console. If you could fix that that would be pretty amazing.

Best regards,
LonLoF

commented

I haven't found any solution for run that conversation in console. If I am correct there should be way to know if command was run by console or player. And if you think that kind of confirmation would be necessary. Could you make command /ar confirm what is available after /ar reset player_name activepaths

Actually my problem is when I want to promote player manually (using LuckPerms), I don't want player would be able to complete last rank path anymore. So that's why I tried to reset activepaths.

commented

It is a bug that you should have to specify everything again. The example on the wiki is a bit outdated, as that functionality is removed and you can only run it using the conversational approach.

I was thinking of adding extra functionality so that you can run it via a console, but I'm not sure if that's a great idea. Generally you want to confirm this is some way before you run it and in the console this is not really possible I believe. Could you try whether the conversation works in the console?