Check for ranks using vault

Discussion in 'Spigot Plugin Development' started by Ukrainian_Reaper, Jun 26, 2015.

  1. I have an instance of a player, lets call them p. How would I check if p has a certain permission if the plugin i'm writing has a vault dependency?

    Thanks!
     
  2. Creeoer

    Supporter

    If p.hasPermission()?