Jump to content

Read variable values from file


PapaPerks

Recommended Posts

Hey all, I am having a small issue. When i turn on Read variable values from file the configuration editor only reads the last variable. When i turn off Read variable values from file the configuration editor reads everything just fine, unless you manually edit the config file. (![whitelist],![blacklist],![admin] are my custom made and inserted variables.

 

Please let me know what i am doing wrong.

 

here is my config:

 

{

"$id": "1",

"RequireAuthentication": true,

"AllowDebugCalls": true,

"WhiteList": {

"$id": "2",

"System.String": {

"$type": "System.Collections.Generic.List`1[[system.String, mscorlib]], mscorlib",

"$values": [![whitelist]]

}

},

"BlackList": {

"$id": "3",

"System.String": {

"$type": "System.Collections.Generic.List`1[[system.String, mscorlib]], mscorlib",

"$values": [![blacklist]]

}

},

"Admins": {

"$id": "4",

"System.String": {

"$type": "System.Collections.Generic.List`1[[system.String, mscorlib]], mscorlib",

"$values": [![admin]]

}

}

Link to comment
Share on other sites

  • Who's Online   0 Members, 0 Anonymous, 35 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use