So im trying to make a config option with a Dictionary then when changed it can go back into the code its just saying its and object
Code:Dictionary<string,string> Rules; Rules = Config["PreClanColor"] as Dictionary<string,string>;
Trouble storing a dictionary in config
Discussion in 'Rust Development' started by GreenArrow, Oct 6, 2017.
-
Wulf Community Admin
The basic Config API in Oxide expects objects, so you'd need to store as an object or create your own config handling.
-
Last edited by a moderator: Oct 6, 2017