FTBTeam / FTB-Mods-Issues

Any mod issues, be it FTB Teams, Quests or any other of our mods can be reported here!
22 stars 1 forks source link

[Bug]: Mod-Specific Commands Stopped Working #396

Open ladypluu opened 2 years ago

ladypluu commented 2 years ago

Mod

FTB Ranks

Mod version

ftb-ranks-forge-1900.1.10-build.44

Forge / Fabric version

Forge 41.1.0

Modpack & version

No response

What issue are you having?

None of the commands seem to work after adding ranks to my ranks.snbt, server restart doesn't fix it either. Specifically, all the permissions I added to the ranks in the file still work. But none of the mod-specific commands function. I get the errors below when attempting:

"An unexpected error occurred trying to execute that command" ftbranks list_all_ranks ftbranks list_players_with ftbranks list_ranks_of ftbranks remove ftbranks add ftbranks create ftbranks delete

"'other' is a different type of Path" ftbranks reload

The only command that currently works is ftbranks refresh_readme. I've attached my debug.log and my latest.log if it's helpful! I also have a paste of my rank configs.

https://pste.ch/iqobuyilox.bash debug.log latest.log

Crashlogs

No response

Steps to reproduce

  1. Type the command
  2. Receive error

Anything else to note?

I just downloaded the mod today

Raidobw2 commented 2 years ago

Does deleting the ranks file and restarting the server fixes the issue? Might be a permission issue. Maybe you want command.ftbranks: true in your admin rank, I'm honestly unsure if command: true actually overrides command: false. If it does not, that might effectively be a bug. Let me know

beerik94 commented 2 years ago

I came across this when having a similar problem. This error is thrown when your ranks or player file has a mistake in it. I fixed it by removing permissions line by line till I found the one that was the problem.