How to make it so moderators or less can only use commands on themself adonis admin

How can I restrict Adonis commands to only affect the player themselves (for certain ranks)?

I’m using Adonis Admin, and I want to limit certain commands (like :fire) so that Moderators and below can only use it them on themselves, while Admins and higher can use them on anyone.

For example:

  • :fire or :fire me should work for Moderators and below
  • :fire others (or targeting other players in general) shouldn’t work for Moderators and below
  • Admins and above should still be able to use it freely

I know HD Admin has a built-in setting for this kind of thing, but I want to achieve this in Adonis. How can I implement this kind of per-rank target restriction in Adonis?

Any help or guidance is appreciated!