PDA

View Full Version : How to access 5E sub-class?



jkeller
November 24th, 2025, 03:32
In 5E, how would an extension get a character's sub-class(es)?

I can look for certain features or powers, but I'm sure the must be an easier / more reliable way.

Thanks!

Moon Wizard
November 24th, 2025, 04:37
You have to look where the data is stored on the PC sheet by following the data on the character sheet; or setting up a character and looking at the XML in the campaign database or character export.

PC sheets are typically stored at: charsheet.* (where * is the database ID of the PC)

So, a PC's classes are stored at: charsheet.*.classes.** (where * is the database ID of the PC; and ** is the database ID of the PC class for that PC)

And, specialization name for each PC class is therefore stored at: charsheet.*.classes.**.specialization

Regards,
JPG

jkeller
November 24th, 2025, 16:29
Thank you, that helped a lot!