1.7.7-alpha-small-optimizations
- Clear bans cache on plugin reload - Changed ip history to int
This commit is contained in:
parent
f654d6b085
commit
3ab63c05db
11 changed files with 284 additions and 169 deletions
|
|
@ -2,7 +2,7 @@ using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
||||
namespace CS2_SimpleAdmin.Models;
|
||||
|
||||
public record BanRecord
|
||||
public record struct BanRecord
|
||||
{
|
||||
[Column("id")]
|
||||
public int Id { get; set; }
|
||||
|
|
|
|||
3
CS2-SimpleAdmin/Models/IpRecord.cs
Normal file
3
CS2-SimpleAdmin/Models/IpRecord.cs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
namespace CS2_SimpleAdmin.Models;
|
||||
|
||||
public readonly record struct IpRecord(uint Ip, DateTime UsedAt, string PlayerName);
|
||||
Loading…
Add table
Add a link
Reference in a new issue