diff --git a/TGS.Server/InstanceConfig.cs b/TGS.Server/InstanceConfig.cs
index e64f8edec3..906c4e6905 100644
--- a/TGS.Server/InstanceConfig.cs
+++ b/TGS.Server/InstanceConfig.cs
@@ -19,109 +19,210 @@ namespace TGS.Server
///
ulong Version { get; }
- ///
- /// The name of the
- ///
- string Name { get; set; }
+ ///
+ /// The name of the
+ ///
+ string Name
+ {
+ get { return _name; }
+ set { _committername = value; Save(); }
+ }
+ private string _name;
- ///
- /// If the is active
- ///
- bool Enabled { get; set; }
+ ///
+ /// If the is active
+ ///
+ bool Enabled
+ {
+ get { return _enabled; }
+ set { _enabled = value; Save(); }
+ }
+ private bool _enabled;
- ///
- /// The name of the .dme/.dmb the uses
- ///
- string ProjectName { get; set; }
+ ///
+ /// The name of the .dme/.dmb the uses
+ ///
+ string ProjectName
+ {
+ get { return _projectname; }
+ set { _projectname = value; Save(); }
+ }
+ private string _projectname;
- ///
- /// The port the runs on
- ///
- ushort Port { get; set; }
+ ///
+ /// The port the runs on
+ ///
+ ushort Port
+ {
+ get { return _port; }
+ set { _port = value; Save(); }
+ }
+ private ushort _port;
- ///
- /// The level for the
- ///
- DreamDaemonSecurity Security { get; set; }
+ ///
+ /// The level for the
+ ///
+ DreamDaemonSecurity Security
+ {
+ get { return _dreamdaemonsecurity; }
+ set { _dreamdaemonsecurity = value; Save(); }
+ }
+ private DreamDaemonSecurity _security;
- ///
- /// Whether or not the should immediately start DreamDaemon when activated
- ///
- bool Autostart { get; set; }
+ ///
+ /// Whether or not the should immediately start DreamDaemon when activated
+ ///
+ bool Autostart
+ {
+ get { return _autostart; }
+ set { _autostart = value; Save(); }
+ }
+ private bool _autostart;
- ///
- /// Whether or not DreamDaemon allows connections from webclients
- ///
- bool Webclient { get; set; }
+ ///
+ /// Whether or not DreamDaemon allows connections from webclients
+ ///
+ bool Webclient
+ {
+ get { return _webclient; }
+ set { _webclient = value; Save(); }
+ }
+ private bool _webclient;
- ///
- /// Author and committer name for synchronize commits
- ///
- string CommitterName { get; set; }
- ///
- /// Author and committer e-mail for synchronize commits
- ///
- string CommitterEmail { get; set; }
+ ///
+ /// Author and committer name for synchronize commits
+ ///
+ string CommitterName
+ {
+ get { return _committername; }
+ set { _committername = value; Save(); }
+ }
+ private string _committername;
- ///
- /// Encrypted serialized s
- ///
- string ChatProviderData { get; set; }
+ ///
+ /// Author and committer e-mail for synchronize commits
+ ///
+ string CommitterEmail
+ {
+ get { return _committeremail; }
+ set { _committeremail = value; Save(); }
+ }
+ private string _committeremail;
- ///
- /// Entropy for
- ///
- string ChatProviderEntropy { get; set; }
+ ///
+ /// Encrypted serialized s
+ ///
+ string ChatProviderData
+ {
+ get { return _chatproviderdata; }
+ set { _chatproviderdata = value; Save(); }
+ }
+ private string _chatproviderdata;
- ///
- /// If the should reattach to a running DreamDaemon
- ///
- bool ReattachRequired { get; set; }
+ ///
+ /// Entropy for
+ ///
+ string ChatProviderEntropy
+ {
+ get { return _chatproviderentropy; }
+ set { _chatproviderentropy = value; Save(); }
+ }
+ private string _chatproviderentropy;
- ///
- /// The of the runnning DreamDaemon
- ///
- int ReattachProcessID { get; set; }
+ ///
+ /// If the should reattach to a running DreamDaemon
+ ///
+ bool ReattachRequired
+ {
+ get { return _reattachrequired; }
+ set { _reattachrequired = value; Save(); }
+ }
+ private bool _reattachrequired;
- ///
- /// The port the runnning DreamDaemon was launched on
- ///
- ushort ReattachPort { get; set; }
+ ///
+ /// The of the runnning DreamDaemon
+ ///
+ int ReattachProcessID
+ {
+ get { return _reattachprocessid; }
+ set { _reattachprocessid = value; Save(); }
+ }
+ private int _reattachprocessid;
- ///
- /// The serviceCommsKey the runnning DreamDaemon was launched on
- ///
- string ReattachCommsKey { get; set; }
+ ///
+ /// The port the runnning DreamDaemon was launched on
+ ///
+ ushort ReattachPort
+ {
+ get { return _reattachport; }
+ set { _reattachport = value; Save(); }
+ }
+ private ushort _reattachport;
- ///
- /// The API version of the runnning DreamDaemon
- ///
- string ReattachAPIVersion { get; set; }
+ ///
+ /// The serviceCommsKey the runnning DreamDaemon was launched on
+ ///
+ string ReattachCommsKey
+ {
+ get { return _reattachcommskey; }
+ set { _reattachcommskey = value; Save(); }
+ }
+ private string _reattachcommskey;
- ///
- /// The user group allowed to use the
- ///
- string AuthorizedUserGroupSID { get; set; }
+ ///
+ /// The API version of the runnning DreamDaemon
+ ///
+ string ReattachAPIVersion
+ {
+ get { return _reattachapiversion; }
+ set { _reattachapiversion = value; Save(); }
+ }
+ private string _reattachapiversion;
- ///
- /// The auto update interval for the
- ///
- ulong AutoUpdateInterval { get; set; }
+ ///
+ /// The user group allowed to use the
+ ///
+ string AuthorizedUserGroupSID
+ {
+ get { return _authorizedusergroupsid; }
+ set { _authorizedusergroupsid = value; Save(); }
+ }
+ private string _authorizedusergroupsid;
- ///
- /// Whether or not testmerge commits are published to a temporary remote branch
- ///
- bool PushTestmergeCommits { get; set; }
+ ///
+ /// The auto update interval for the
+ ///
+ ulong AutoUpdateInterval
+ {
+ get { return _autoupdateinterval; }
+ set { _autoupdateinterval = value; Save(); }
+ }
+ private private ulong _autoupdateinterval;
- ///
- /// Time in seconds before DD is considered dead in the water
- ///
- int ServerStartupTimeout { get; set; }
+ ///
+ /// Whether or not testmerge commits are published to a temporary remote branch
+ ///
+ bool PushTestmergeCommits
+ {
+ get { return _pushtestmergecommits; }
+ set { _pushtestmergecommits = value; Save(); }
+ }
+ private bool _pushtestmergecommits;
- ///
- /// Saves the to it's
- ///
- void Save();
+ ///
+ /// Time in seconds before DD is considered dead in the water
+ ///
+ int ServerStartupTimeout
+ {
+ get { return _serverstartuptimeout; }
+ set { _serverstartuptimeout = value; Save(); }
+ }
+ private int _serverstartuptimeout;
+
+ ///
+ /// Saves the to it's
+ ///
+ void Save();
}
///