1
mirror of https://github.com/carm-outsource/TimeReward.git synced 2026-06-04 15:28:16 +08:00

Merge remote-tracking branch 'origin/master'

This commit is contained in:
2022-03-02 22:19:12 +08:00
+12 -2
View File
@@ -13,13 +13,23 @@
![Support](https://img.shields.io/badge/Minecraft-Java%201.12--Latest-yellow) ![Support](https://img.shields.io/badge/Minecraft-Java%201.12--Latest-yellow)
![](https://visitor-badge.glitch.me/badge?page_id=TimeReward.readme) ![](https://visitor-badge.glitch.me/badge?page_id=TimeReward.readme)
在线时长自动领奖插件,通过指令发放奖励,基于EasyPlugin实现。 使用数据库存储的在线时长自动领奖插件,通过指令发放奖励,基于EasyPlugin实现。
## 插件功能
- 基于数据库存储的用户在线时长统计。
- **高效算法。** 在线时间不受服务器卡顿(如果有)影响。
- **异步存取。** 数据读取与存储均为异步操作,不影响服务器性能。
- **接口全面。** 提供插件用户数据访问接口与变量,便于其他插件进行读取判断。
- **轻量插件。** 适合小型服务器使用,配置简单方便。
- **规范开发。** 插件架构符合开发规范,适合新手开发者学习。
## 插件依赖 ## 插件依赖
- **[必须]** 插件本体基于 [Spigot-API](https://hub.spigotmc.org/stash/projects/SPIGOT) 、 [BukkitAPI](http://bukkit.org/) 实现。 - **[必须]** 插件本体基于 [Spigot-API](https://hub.spigotmc.org/stash/projects/SPIGOT) 、 [BukkitAPI](http://bukkit.org/) 实现。
- **[自带]** 插件功能基于 [EasyPlugin](https://github.com/CarmJos/EasyPlugin) 实现。 - **[自带]** 插件功能基于 [EasyPlugin](https://github.com/CarmJos/EasyPlugin) 实现。
- **[自带]** 数据功能基于 [EasySQL](https://github.com/CarmJos/EasySQL) 实现。 - **[自带]** 数据功能基于 [EasySQL](https://github.com/CarmJos/EasySQL) 实现。
- **[推荐]** 消息变量基于 [PlaceholderAPI](https://www.spigotmc.org/resources/6245/) 实现。
详细依赖列表可见 [Dependencies](https://github.com/CarmJos/timereward/network/dependencies) 。 详细依赖列表可见 [Dependencies](https://github.com/CarmJos/timereward/network/dependencies) 。
@@ -50,7 +60,7 @@
```text ```text
# TimeReward.admin # TimeReward.admin
- 建筑魔杖的管理权限。 - 在线时间奖励的管理权限。
``` ```