In player.cs search for switch
and you should find something like thisCode:(psr.Account.Rank)
you can add more ranks or delete current ones, as well as changing the prefix of the rank
and for applying rank to the commands you can look up into the wServer>realm>commands
Something like that.In this case 3 is the minimum rank that can use this command