src/main/java/me/firewolf8385/flameperms/api/PlayerAPI.java
/**
     * Assign permissions to a player.
     * @param p Player for permissions to be assigned.
     */
Assign permissions to a player.
@param p Player for permissions to be assigned.
Assign permissions to a player . @param p Player for permissions to be assigned .
public static void assignPermissions(Player p)
    {
        PermissionAttachment attachment = p.addAttachment(FlamePerms.getPlugin());
        perms.put(p.getUniqueId(), attachment);
        PermissionAttachment pperms = perms.get(p.getUniqueId());
        for(String str : getPermissions(p))
        {
            pperms.setPermission(str, true);
        }
    }
public static void assignPermissions ( Player p ) { PermissionAttachment attachment = p . addAttachment ( FlamePerms . getPlugin ( ) ) ; perms . put ( p . getUniqueId ( ) , attachment ) ; PermissionAttachment pperms = perms . get ( p . getUniqueId ( ) ) ; for ( String str : getPermissions ( p ) ) { pperms . setPermission ( str , true ) ; } }
Assign permissions to a player.
Assign permissions to a player .