Metadata-Version: 2.1
Name: nonebot_plugin_liteperm
Version: 0.0.1.post1
Summary: 基于权限节点/权限组/特殊权限的Nonebot权限管理插件。
Keywords: nonebot
Author-Email: JohnRichard4096 <windowserror@163.com>, MrlingXD <wlingzhenyu@163.com>
License: GPL-3.0-or-later
Project-URL: Homepage, https://github.com/LiteSuggarDEV/plugin-liteperm
Project-URL: Source, https://github.com/LiteSuggarDEV/plugin-liteperm
Project-URL: Issue Tracker, https://github.com/LiteSuggarDEV/plugin-liteperm/issues
Requires-Python: <4.0,>=3.9
Requires-Dist: nonebot2>=2.2.0
Requires-Dist: nonebot-adapter-onebot>=2.0.0
Requires-Dist: nonebot-plugin-localstore>=0.7
Requires-Dist: typing-extensions>=4.13.2
Requires-Dist: tomli>=2.2.1
Requires-Dist: tomli-w>=1.2.0
Description-Content-Type: text/markdown

# NoneBot Plugin LitePerms 文档

<div align="center">
  <a href="https://github.com/JohnRichard4096/nonebot_plugin_liteperm/">
    <img src="https://github.com/user-attachments/assets/b5162036-5b17-4cf4-b0cb-8ec842a71bc6" width="200" alt="SuggarChat Logo">
  </a>
  <h1>LitePerms</h1>
  <h3>权限节点权限管理插件</h3>

  <p>
    <a href="https://pypi.org/project/nonebot-plugin-liteperm/">
      <img src="https://img.shields.io/pypi/v/nonebot-plugin-liteperm?color=blue&style=flat-square" alt="PyPI Version">
    </a>
    <a href="https://www.python.org/">
      <img src="https://img.shields.io/badge/python-3.9+-blue?logo=python&style=flat-square" alt="Python Version">
    </a>
    <a href="https://nonebot.dev/">
      <img src="https://img.shields.io/badge/nonebot2-2.0.0rc4+-blue?style=flat-square" alt="NoneBot Version">
    </a>
    <a href="LICENSE">
      <img src="https://img.shields.io/github/license/LiteSuggarDEV/plugin-liteperm?style=flat-square" alt="License">
    </a>
    <a href="https://qm.qq.com/q/PFcfb4296m">
      <img src="https://img.shields.io/badge/QQ%E7%BE%A4-1002495699-blue?style=flat-square" alt="QQ Group">
    </a>
  </p>
</div>


基于权限节点+特殊权限+权限组的依赖权限管理插件！

>本项目灵感来自于[LuckPerms](https://github.com/LuckPerms/LuckPerms)

## 特性

- 节点权限管理
- 特殊权限管理
- 权限组管理
- 特定指令权限管理

## 快速开始

### 安装

- 使用pip安装

  ```bash
  pip install nonebot-plugin-liteperm
  ```

- 使用uv安装

  ```bash
  uv add nonebot-plugin-liteperm
  ```

### 启用

修改`pyproject.toml`，在`[tool.nonebot]`下的`plugins = ["nonebot_plugin_liteperm"]`添加插件

## 配置

```toml
# 是否启用指令权限检查
cmd_permission_checker=true
```

## [指令文档](docs/commands.md)

## [API文档](docs/API.md)
