Dedicated Server Clarification?

Ok so I managed to build a dedicated server for my game as I understand this won’t open up the actual game but run in the background or through a log if I so desire.

How would I change the server options? Map, Character, etc?

Would I need to implement some sort of config file?

Is there anyway to set the options in game then run that dedicated server?