Skip to content

Commit

Permalink
add new cmd wp_rebuild_tables
Browse files Browse the repository at this point in the history
  • Loading branch information
Nereziel committed Nov 22, 2023
1 parent 45fc4a8 commit 89c4d8b
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 67 deletions.
13 changes: 8 additions & 5 deletions Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class Messages
public string SkinMenuTitle { get; set; } = "Select skin for {WEAPON}";
}

public class Additional
public class AdditionalSettings
{
[JsonPropertyName("SkinVisibilityFix")]
public bool SkinVisibilityFix { get; set; } = true;
Expand Down Expand Up @@ -66,11 +66,14 @@ public class Additional

[JsonPropertyName("GiveRandomSkin")]
public bool GiveRandomSkin { get; set; } = false;
}

[JsonPropertyName("CommandRebuildTables")]
public bool CommandRebuildTables { get; set; } = false;
}

public class WeaponPaintsConfig : BasePluginConfig
{
public override int Version { get; set; } = 4;
public override int Version { get; set; } = 5;

[JsonPropertyName("DatabaseHost")]
public string DatabaseHost { get; set; } = "";
Expand Down Expand Up @@ -102,8 +105,8 @@ public class WeaponPaintsConfig : BasePluginConfig
[JsonPropertyName("Messages")]
public Messages Messages { get; set; } = new Messages();

[JsonPropertyName("Additional")]
public Additional Additional { get; set; } = new Additional();
[JsonPropertyName("AdditionalSettings")]
public AdditionalSettings AdditionalSettings { get; set; } = new AdditionalSettings();
}

}
Loading

0 comments on commit 89c4d8b

Please sign in to comment.