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

添加变量显示

This commit is contained in:
2022-02-28 18:08:14 +08:00
parent e7f2b91af3
commit 95251ce02d
5 changed files with 119 additions and 2 deletions
+17 -1
View File
@@ -20,7 +20,7 @@
- **[必须]** 插件本体基于 [Spigot-API](https://hub.spigotmc.org/stash/projects/SPIGOT) 、 [BukkitAPI](http://bukkit.org/) 实现。
- **[自带]** 插件功能基于 [EasyPlugin](https://github.com/CarmJos/EasyPlugin) 实现。
- **[自带]** 数据功能基于 [EasySQL](https://github.com/CarmJos/EasySQL) 实现。
详细依赖列表可见 [Dependencies](https://github.com/CarmJos/timereward/network/dependencies) 。
## 插件指令
@@ -39,6 +39,22 @@
```
## 插件变量
```text
# %TimeReward_time%
- 得到玩家总共的在线时长(秒)。
# %TimeReward_reward_<奖励ID>%
- 得到某个奖励配置的名称。
# %TimeReward_claimed_<奖励ID>%
- 得到玩家是否已经领取了某个奖励。
- * 也可以代表玩家是否可以领取某个奖励
- * 因为一旦可以领取就会自动领取,变为已领取状态
```
## 配置文件
### 插件配置文件 ([config.yml](src/main/resources/config.yml))