huge modification

- modified respawn, now the players need to respawn
- added stealth command as hide, removed the team selection menu (from CSS discord)
- removed silentmode
- added discord webhook logging system (need to set in config -DiscordWebhook and edit Version to 4)

in the future, need to add every color to replace thing and maybe need to remove those replace messages and add to sendwebhook but not yet.
This commit is contained in:
originalaidn
2024-01-31 11:17:12 +01:00
parent e028bef5b0
commit dd7a2f4c16
3 changed files with 247 additions and 27 deletions

View File

@@ -5,7 +5,7 @@ namespace CS2_SimpleAdmin
{
public class CS2_SimpleAdminConfig : BasePluginConfig
{
public override int Version { get; set; } = 3;
public override int Version { get; set; } = 4;
[JsonPropertyName("DatabaseHost")]
public string DatabaseHost { get; set; } = "";
@@ -31,5 +31,8 @@ namespace CS2_SimpleAdmin
[JsonPropertyName("BanType")]
public int BanType { get; set; } = 1;
[JsonPropertyName("DiscordWebhook")]
public string DiscordWebhook { get; set; } = "";
}
}