feat: 添加称号授予功能

源代码来自项目:https://github.com/YF-OFFICE/NewDIR
This commit is contained in:
3cxc
2026-02-12 15:39:44 +08:00
parent 9ab2bd7c86
commit b64a45bfe7
5 changed files with 469 additions and 2 deletions

20
Configs/BadgeConfig.cs Normal file
View File

@@ -0,0 +1,20 @@
using LabApi.Features.Wrappers;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EasyTools.Configs
{
public class BadgeConfig
{
[Description("是否启用称号系统")]
public bool Enable { get; set; } = true;
[Description("存储路径")]
public string Pach { get; set; } = "/home/shiroko/.config/DIRSave";
[Description("彩色称号更新频率")]
public int each { get; set; } = 1;
}
}