Move Configuration Options into XML File
Brought to you by:
kwurtech,
theodiggers
Current configuration directives (ports, paths, versions, etc) are hardcoded in. This is terrible for other people. Write a class to parse a simple XML (or even simpler flat file) to get this information at runtime, and perhaps add InternalCommands to refresh this information live (Where applicable).
Logged In: YES
user_id=446268
Originator: YES
This has been done. Things are now stored in a megatrond.conf flat file, standard conf file look and feel. If you don't give it one on the cmdline, it looks for /etc/megatrond.conf. Everything for db access, ports, players and metadatasources, and queing behaviour is now configurable through the file and some options though the socket. You can now hotswap player and metadata sources :)