-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPluginConfig.cs
More file actions
34 lines (24 loc) · 1.06 KB
/
Copy pathPluginConfig.cs
File metadata and controls
34 lines (24 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System.Text.Json.Serialization;
using CounterStrikeSharp.API.Core;
namespace SharpyMapList;
public class PluginConfig : BasePluginConfig
{
[JsonPropertyName("DatabaseHost")]
public string DatabaseHost { get; set; } = "localhost";
[JsonPropertyName("DatabasePort")]
public int DatabasePort { get; set; } = 3306;
[JsonPropertyName("DatabaseName")]
public string DatabaseName { get; set; } = "sharptimer";
[JsonPropertyName("DatabaseUser")]
public string DatabaseUser { get; set; } = "root";
[JsonPropertyName("DatabasePassword")]
public string DatabasePassword { get; set; } = "";
[JsonPropertyName("PlayerRecordsTable")]
public string PlayerRecordsTable { get; set; } = "PlayerRecords";
[JsonPropertyName("PlayerStatsTable")]
public string PlayerStatsTable { get; set; } = "PlayerStats";
[JsonPropertyName("ChatPrefix")]
public string ChatPrefix { get; set; } = " [{GREEN}★{DEFAULT}] {GOLD}EliteGames{DEFAULT}";
[JsonPropertyName("ItemsPerPage")]
public int ItemsPerPage { get; set; } = 8;
}