mirror of
https://github.com/Nereziel/cs2-WeaponPaints.git
synced 2026-02-18 10:43:22 +00:00
Update Config.cs
This commit is contained in:
22
Config.cs
22
Config.cs
@@ -17,6 +17,8 @@ namespace WeaponPaints
|
|||||||
public string SuccessRefreshCommand { get; set; } = "Refreshing weapon paints.";
|
public string SuccessRefreshCommand { get; set; } = "Refreshing weapon paints.";
|
||||||
[JsonPropertyName("ChosenKnifeMenu")]
|
[JsonPropertyName("ChosenKnifeMenu")]
|
||||||
public string ChosenKnifeMenu { get; set; } = "You have chosen {KNIFE} as your knife.";
|
public string ChosenKnifeMenu { get; set; } = "You have chosen {KNIFE} as your knife.";
|
||||||
|
[JsonPropertyName("ChosenKnifeMenuKill")]
|
||||||
|
public string ChosenKnifeMenuKill { get; set; } = "To correctly apply skin for knife, you need to type !kill.";
|
||||||
[JsonPropertyName("KnifeMenuTitle")]
|
[JsonPropertyName("KnifeMenuTitle")]
|
||||||
public string KnifeMenuTitle { get; set; } = "Knife Menu.";
|
public string KnifeMenuTitle { get; set; } = "Knife Menu.";
|
||||||
}
|
}
|
||||||
@@ -34,11 +36,29 @@ namespace WeaponPaints
|
|||||||
|
|
||||||
[JsonPropertyName("CommandWpEnabled")]
|
[JsonPropertyName("CommandWpEnabled")]
|
||||||
public bool CommandWpEnabled { get; set; } = true;
|
public bool CommandWpEnabled { get; set; } = true;
|
||||||
|
|
||||||
|
[JsonPropertyName("CommandKillEnabled")]
|
||||||
|
public bool CommandKillEnabled { get; set; } = true;
|
||||||
|
|
||||||
|
[JsonPropertyName("CommandKnife")]
|
||||||
|
public string CommandKnife { get; set; } = "knife";
|
||||||
|
|
||||||
|
[JsonPropertyName("CommandSkin")]
|
||||||
|
public string CommandSkin { get; set; } = "ws";
|
||||||
|
|
||||||
|
[JsonPropertyName("CommandRefresh")]
|
||||||
|
public string CommandRefresh { get; set; } = "refresh";
|
||||||
|
|
||||||
|
[JsonPropertyName("CommandKill")]
|
||||||
|
public string CommandKill { get; set; } = "kill";
|
||||||
|
|
||||||
|
[JsonPropertyName("GiveRandomKnife")]
|
||||||
|
public bool GiveRandomKnife { get; set; } = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class WeaponPaintsConfig : BasePluginConfig
|
public class WeaponPaintsConfig : BasePluginConfig
|
||||||
{
|
{
|
||||||
public override int Version { get; set; } = 3;
|
public override int Version { get; set; } = 4;
|
||||||
|
|
||||||
[JsonPropertyName("DatabaseHost")]
|
[JsonPropertyName("DatabaseHost")]
|
||||||
public string DatabaseHost { get; set; } = "";
|
public string DatabaseHost { get; set; } = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user