Well...from what i remember there is already a table in database to config this things by classId/itemid, its similar, but don't automatic equip the items on creation
Just a question, this one, equip the items when the char enter in the world or already equip in the lobby room? Too much configs is a bit complex, maybe you can do 2 versions of this
A basic one +By Fighter/Mage Class And a complex one with a lot of configs +For All +By Fighter/Mage Class
+By Race
+By Specific Class Id And a tip, try to use arrays/maps like the others said, If you don't know what this means, just do a little search and make some tutorials You can simplify this code with a for loop and switch/cases based on a built array My english is not my "forte" too so i hope you understand, i'm just trying to be nice :)