Add getPlayerPermission, rename getPermission

New name of getPermission is getRankPermission