DailyStreak — Paper Daily Streak 插件
DailyStreak 是一款轻量且专业的 Minecraft Paper 26.2 插件,它为服务器添加了每日玩家连续在线天数(streak)系统、可配置的名望后缀、LuckyPerms 集成、PlaceholderAPI 占位符支持以及 ajLeaderboards 兼容性。
该插件专为希望在不增加服务器负载的前提下提升日常活跃度、玩家留存率和外观进度感的 Minecraft 服务器而设计。
玩家需要在一个不间断的会话中保持在线一段可配置的时间。当完成每日要求后,他们的连续天数将增加,并通过 LuckPerms API 自动应用一个看起来颇具稀有度的后缀。
示例:
1?
7?
15?
30?
365?
连续天数越长,后缀的颜色就越显尊贵。
功能特性
- 每日玩家连续在线天数系统
- 专为 Paper 26.2 打造
- 使用 LuckPerms API,而非控制台命令
- 自动更新 LuckyPerms 后缀
- 在应用新后缀前移除旧后缀
- 可配置每日最低在线时长
- 要求单次不间断会话
- 可配置时区,默认为
Europe/Moscow
- 可配置周长度
- 可配置名望颜色
- 可配置后缀格式
- 完全自定义
messages.yml
- PlaceholderAPI 支持
- ajLeaderboards 兼容
- 服务器重启后保留玩家数据
- 优化的基于间隔的检查机制
- 无沉重的逐刻处理
DailyStreak 工作原理
- 玩家加入服务器。
- 插件检查玩家是否错过了前一天。
- 玩家必须在一次会话中保持在线配置的时长。
- 满足要求后,当天被计入。
- 如果前一天已完成,连续天数增加。
- 如果有一天被跳过,连续天数重置为
0。
- 玩家的 LuckyPerms 后缀会自动更新。
这营造出一种强烈的稀有感。长期连续在线变得非常有价值,因为失去它会令人惋惜。
名望后缀颜色
默认进度:
| 连续天数 |
颜色 |
示例 |
| 1–6 |
灰色 |
1? |
| 7–14 |
绿色 |
7? |
| 15–30 |
金色 |
15? |
| 31–60 |
黄色 |
31? |
| 61–90 |
青色 |
61? |
| 91–180 |
淡紫色 |
91? |
| 181–364 |
红色 |
181? |
| 365+ |
橙色 |
365? |
所有颜色和阈值均可在 config.yml 中更改。
命令
| 命令 |
描述 |
权限节点 |
/streak |
显示您当前的连续天数 |
dailystreak.command.streak |
/streak top |
显示连续天数最高的玩家 |
dailystreak.command.top |
/streak reload |
重新加载配置文件 |
dailystreak.command.reload |
/streak set <player> <days> |
设置某玩家的连续天数 |
dailystreak.command.set |
/streak reset <player> |
重置某玩家的连续天数 |
dailystreak.command.reset |
管理员权限:
dailystreak.admin
PlaceholderAPI 占位符
%dailystreak_days%
%dailystreak_color%
%dailystreak_suffix%
%dailystreak_best%
%dailystreak_completed_today%
%dailystreak_time_left_seconds%
对于 ajLeaderboards,请使用:
%dailystreak_days%
依赖要求
- Paper 26.2
- Java 25
- LuckPerms
- PlaceholderAPI(可选)
- ajLeaderboards(可选)
安装方法
- 下载最新的 DailyStreak JAR 文件。
- 将其放入服务器的
plugins 文件夹中。
- 安装 LuckPerms。
- 可选地安装 PlaceholderAPI 和 ajLeaderboards。
- 重启服务器。
- 配置
plugins/DailyStreak/config.yml。
- 配置
plugins/DailyStreak/messages.yml。
- 运行:
/streak reload
配置示例
streak:
timezone: "Europe/Moscow"
minimum-session-minutes: 10
week-length-days: 7
check-interval-seconds: 30
top-size: 10
suffix:
enabled: true
priority: 100
format: "{color}{days}{fire}"
resync-on-reload: true
colors:
- from-day: 1
color: "<gray>"
- from-day: 7
color: "<green>"
- from-day: 15
color: "<gold>"
- from-day: 31
color: "<yellow>"
- from-day: 61
color: "<aqua>"
- from-day: 91
color: "<light_purple>"
- from-day: 181
color: "<red>"
- from-day: 365
color: "<#ff4500>"
Русское описание
DailyStreak — это плагин для Minecraft Paper 26.2, который добавляет систему ежедневных стриков игроков.
Игрок должен провести на сервере заданное время за текущий день в одной непрерывной сессии. После выполнения условия стрик увеличивается, а через LuckyPerms API игроку автоматически выдаётся красивый суффикс.
Плагин отлично подходит для Survival, SMP, Economy, Lifesteal, RPG, Prison, SkyBlock и других серверов, где важны ежедневная активность, удержание игроков и косметическая прогрессия.
Если игрок пропускает день, его стрик сбрасывается до 0, поэтому длинные стрики выглядят редкими и престижными.
链接
## 版本标题
```text
DailyStreak 1.0.0 — Paper 26.2 Daily Streak Release
版本更新日志
# DailyStreak
首次公开发布。
## 新增
- 每日玩家连续在线天数系统
- Paper 26.2 支持
- Java 25 支持
- LuckyPerms API 后缀集成
- 自动移除旧后缀
- 可配置名望颜色
- 可配置后缀格式
- 可配置所需在线时长
- 要求单次不间断会话
- 基于时区的日期检查
- PlaceholderAPI 占位符
- ajLeaderboards 兼容性
- `/streak` 命令
- `/streak top` 命令
- `/streak reload` 命令
- `/streak set <player> <days>` 命令
- `/streak reset <player>` 命令
- 持久化 YAML 存储
- 完全可自定义的消息
- 优化的基于间隔的会话检查
DailyStreak — Paper Daily Streak Plugin
DailyStreak is a lightweight and professional Minecraft Paper 26.2 plugin that adds daily player streaks, configurable prestige suffixes, LuckyPerms integration, PlaceholderAPI placeholders, and ajLeaderboards compatibility.
The plugin is designed for Minecraft servers that want to increase daily activity, player retention, and cosmetic progression without adding unnecessary server load.
Players must stay online for a configurable amount of time in one uninterrupted session. When the daily requirement is completed, their streak increases and a rare-looking suffix is automatically applied through the LuckPerms API.
Examples:
1?
7?
15?
30?
365?
The longer the streak, the more prestigious the suffix color becomes.
Features
- Daily player streak system
- Built for Paper 26.2
- Uses LuckPerms API, not console commands
- Automatic LuckyPerms suffix update
- Old streak suffix is removed before the new one is applied
- Configurable minimum online time per day
- One uninterrupted session requirement
- Configurable timezone, default:
Europe/Moscow
- Configurable week length
- Configurable prestige colors
- Configurable suffix format
- Full
messages.yml customization
- PlaceholderAPI support
- ajLeaderboards compatibility
- Persistent player data after server restart
- Optimized interval-based checks
- No heavy per-tick processing
How DailyStreak Works
- A player joins the server.
- The plugin checks if the player missed a day.
- The player must stay online for the configured time in one session.
- When the requirement is completed, the day is counted.
- If the previous day was completed, the streak increases.
- If a day was missed, the streak resets to
0.
- The player's LuckyPerms suffix is updated automatically.
This creates a strong feeling of rarity. Long streaks become valuable because losing them matters.
Prestige Suffix Colors
Default progression:
| Streak Days |
Color |
Example |
| 1–6 |
Gray |
1? |
| 7–14 |
Green |
7? |
| 15–30 |
Gold |
15? |
| 31–60 |
Yellow |
31? |
| 61–90 |
Aqua |
61? |
| 91–180 |
Light Purple |
91? |
| 181–364 |
Red |
181? |
| 365+ |
Orange |
365? |
All colors and thresholds can be changed in config.yml.
Commands
| Command |
Description |
Permission |
/streak |
Show your current streak |
dailystreak.command.streak |
/streak top |
Show the top streak players |
dailystreak.command.top |
/streak reload |
Reload configuration files |
dailystreak.command.reload |
/streak set <player> <days> |
Set a player's streak |
dailystreak.command.set |
/streak reset <player> |
Reset a player's streak |
dailystreak.command.reset |
Admin permission:
dailystreak.admin
PlaceholderAPI Placeholders
%dailystreak_days%
%dailystreak_color%
%dailystreak_suffix%
%dailystreak_best%
%dailystreak_completed_today%
%dailystreak_time_left_seconds%
For ajLeaderboards, use:
%dailystreak_days%
Requirements
- Paper 26.2
- Java 25
- LuckPerms
- PlaceholderAPI optional
- ajLeaderboards optional
Installation
- Download the latest DailyStreak JAR.
- Put it into your server
plugins folder.
- Install LuckPerms.
- Optionally install PlaceholderAPI and ajLeaderboards.
- Restart the server.
- Configure
plugins/DailyStreak/config.yml.
- Configure
plugins/DailyStreak/messages.yml.
- Run:
/streak reload
Configuration Example
streak:
timezone: "Europe/Moscow"
minimum-session-minutes: 10
week-length-days: 7
check-interval-seconds: 30
top-size: 10
suffix:
enabled: true
priority: 100
format: "{color}{days}{fire}"
resync-on-reload: true
colors:
- from-day: 1
color: "<gray>"
- from-day: 7
color: "<green>"
- from-day: 15
color: "<gold>"
- from-day: 31
color: "<yellow>"
- from-day: 61
color: "<aqua>"
- from-day: 91
color: "<light_purple>"
- from-day: 181
color: "<red>"
- from-day: 365
color: "<#ff4500>"
Русское описание
DailyStreak — это плагин для Minecraft Paper 26.2, который добавляет систему ежедневных стриков игроков.
Игрок должен провести на сервере заданное время за текущий день в одной непрерывной сессии. После выполнения условия стрик увеличивается, а через LuckyPerms API игроку автоматически выдаётся красивый суффикс.
Плагин отлично подходит для Survival, SMP, Economy, Lifesteal, RPG, Prison, SkyBlock и других серверов, где важны ежедневная активность, удержание игроков и косметическая прогрессия.
Если игрок пропускает день, его стрик сбрасывается до 0, поэтому длинные стрики выглядят редкими и престижными.
Links
## Version title
```text
DailyStreak 1.0.0 — Paper 26.2 Daily Streak Release
Version changelog
# DailyStreak
Initial public release.
## Added
- Daily player streak system
- Paper 26.2 support
- Java 25 support
- LuckyPerms API suffix integration
- Automatic old suffix removal
- Configurable prestige colors
- Configurable suffix format
- Configurable required online time
- One uninterrupted session requirement
- Timezone-based day checking
- PlaceholderAPI placeholders
- ajLeaderboards compatibility
- `/streak` command
- `/streak top` command
- `/streak reload` command
- `/streak set <player> <days>` command
- `/streak reset <player>` command
- Persistent YAML storage
- Fully configurable messages
- Optimized interval-based session checks
评论 0
登录后参与评分
还没有评论,来抢沙发吧