Alright, so from what I remember, it should be a Wuxia, the MC is from a branch of the Shangguan family that was started by a member who left the...
Honestly, Tales of Demons and Gods was my very first light novel, and is still one of my favorites, if only it was updated often.
Separate names with a comma.