I will share my wisdom seen as I had to look it up a few times now, most recently tonight =D
It is stored in 4 places in the DB
Format is as follows
# TABLE | ROW | TYPE
1. VARIABLES | Expansions | Bitmask
2. RULE_VALUES | Expansion:CurrentExpansion | Bit
3. RULE_VALUES | Bots:BotExpansionSettings | Bitmask (This is only if bots are installed)
4. RULE_VALUES | World:ExpansionSettings | Bitmask
So for example - to have a server with Luclin as the max expansion the values would be as follows;
1. VARIABLES | Expansions | Bitmask | 7
2. RULE_VALUES | Expansion:CurrentExpansion | Bit | 4
3. RULE_VALUES | Bots:BotExpansionSettings | Bitmask | 7
4. RULE_VALUES | World:ExpansionSettings | Bitmask | 7
https://eqemu.gitbook.io/server/cate...nsion-bitmasks