#Ability to load multiple .cfg files in txAdmin.

1 messages · Page 1 of 1 (latest)

leaden aurora
#

Add different tabs to the CFG editor for the amount of .cfg files in the folder. I plan to have a base .cfg with exec to many different .cfgs. to modularize my .cfg file.

My reason for this is I have a local dev environment, server test environment and a server live environment. There are some things that I do not want to change in each environment like endpoints, maxclients, licensekey, projectName, database connection. I am also using source control.

So using only one .cfg in a pr would overwrite the file and change my variables that are specific to that environment. I know I can accomplish this with extracting just that stuff from the config but I figured I would reach out and see what you thought.

willow cove
#

+1 nice suggestion

leaden aurora
#

so as it stands I have to do a workaround to meet my needs. But the workaround will not work with the cfg editor in txAdmin. So let me explain examples of what I am suggesting.

server.cfg
-->env.cfg - Environment variables specific to that server
-->base.cfg - Base core resorces and non server specific.
-->resources.cfg - Resources
-->permissions.cfg - Permissions.

Then each one that it fetches would have it's own tab and the ability to read it like the fxserver does.