Tried following the examples but i dont know what I'm doing wrong things are still decaying
public class GeneralSettings
{
[JsonProperty(PropertyName = "Disable decay for all entities")]
public bool disableAll = true;
[JsonProperty(PropertyName = "Exclude \"Other Multipliers\"")]
public bool excludeOthers = false;
[JsonProperty(PropertyName = "Use permission")]
public bool usePermission = false;
[JsonProperty(PropertyName = "Permission")]
public string permission = "nodecay.use";
[JsonProperty(PropertyName = "Output")]
public OutputClass Output = new OutputClass();
[JsonProperty(PropertyName = "Cupboard Settings")]
public CupboardSettingsClass CupboardSettings = new CupboardSettingsClass();
public class OutputClass
{
[JsonProperty(PropertyName = "Output to server console")]
public bool rconOutput = false;
[JsonProperty(PropertyName = "Log to file")]
public bool logToFile = true;
[JsonProperty(PropertyName = "Log file name")]
public string logFileName = "NoDecay-Log";
Setting up the PluginNot An Issue
Are you editing the json file in oxide/config or are you editing the .cs file in oxide/plugins?
Locked automatically