Stars - 轻量级货币与奖励系统
一款简单却功能强大的货币插件,根据玩家的活跃游戏时间来给予奖励。非常适合希望在不增加复杂度的情况下为服务器添加额外进度层的服务端。
功能特性
- 在线时长奖励 - 玩家通过活跃游戏自动获得星星(包含挂机检测)
- 渐变文本支持 - 所有消息中均支持漂亮的十六进制颜色渐变效果
- Vault 集成 - 可作为其他插件的经济提供商使用
- PlaceholderAPI 支持 - 在任何地方显示星星数量(TAB 栏、计分板、全息图)
- 完全可配置 - 每条消息、颜色和数值均可自定义修改
- 轻量高效 - 无延迟、无冗余,稳定运行
命令
/stars [player]
查看你自己的星星余额或另一位玩家的余额。显示时带有可自定义的渐变色彩。

/starstop [page]
查看服务器排行榜。展示排名靠前的玩家,支持分页显示,并在底部显示你当前的排名位置。
别名: /starslb, /topstars, /starsleaderboard

/starsadmin
管理玩家星星的管理员命令。

| 命令 |
描述 |
/starsadmin give <player> <amount> |
给予某位玩家星星 |
/starsadmin take <player> <amount> |
移除某位玩家的星星 |
/starsadmin set <player> <amount> |
设置指定玩家的星星数量 |
/starsadmin reset <player> |
将玩家星星重置为 0 |
/starsadmin reload |
重新加载配置文件 |
权限
| 权限节点 |
描述 |
默认值 |
stars.use |
使用 /stars 命令 |
所有人 |
stars.top |
查看排行榜 |
所有人 |
stars.earn |
从在线时长中获取星星 |
所有人 |
stars.admin |
完整管理员权限 |
OP (管理员) |
stars.admin.give |
向玩家发放星星 |
OP (管理员) |
stars.admin.take |
从玩家处扣除星星 |
OP (管理员) |
stars.admin.set |
设置玩家星星数量 |
OP (管理员) |
stars.admin.reset |
重置玩家星星 |
OP (管理员) |
stars.admin.reload |
重新加载配置 |
OP (管理员) |
PlaceholderAPI
| 占位符 |
输出示例 |
%stars_balance% |
原始数字 (1000) |
%stars_formatted% |
格式化数字 (1,000) |
%stars_display% |
带符号显示 (* 1,000) |
%stars_gradient% |
渐变色显示 |
配置
所有数值均可完全自定义:
- 在线时长间隔 - 获取星星所需的分钟数(默认:10)
- 奖励范围 - 每个间隔内最小/最大获得的星星数(默认:2-3)
- 活动检测 - 要求玩家移动以防止挂机刷取
- 渐变颜色 - 自定义起始和结束渐变的十六进制颜色
- 消息内容 - 每条消息均可自定义,并支持十六进制颜色
- 数字格式 - 自定义千位分隔符样式
数据存储
- 玩家数据存储在
data.yml 中
- 自动保存(保存间隔可配置)
- 存储 UUID、玩家名称及星星余额
- 支持离线玩家查找以用于排行榜
软依赖
| 插件 |
用途 |
| Vault |
注册为经济提供商 |
| PlaceholderAPI |
启用占位符功能 |
| LuckPerms |
权限管理(任何权限插件均可工作) |
要求
- Spigot / Paper 1.16.5 - 1.21+
- Java 11+
支持
遇到问题或有疑问?请留言或提交工单。我们将在 24 小时内回复。
版本: 1.0.0
Stars - Lightweight Currency & Reward System
A simple yet powerful currency plugin that rewards players for active playtime. Perfect for servers looking to add an extra layer of progression without complexity.
Features
- Playtime Rewards - Players earn Stars automatically for active play (AFK detection included)
- Gradient Text Support - Beautiful hex color gradients in all messages
- Vault Integration - Works as an economy provider for other plugins
- PlaceholderAPI Support - Display Stars anywhere (TAB, scoreboard, holograms)
- Fully Configurable - Every message, color, and value can be changed
- Lightweight - No lag, no bloat, just works
Commands
/stars [player]
Check your Stars balance or view another player's balance. Displays with customizable gradient colors.

/starstop [page]
View the server leaderboard. Shows top players with pagination and displays your current position at the bottom.
Aliases: /starslb, /topstars, /starsleaderboard

/starsadmin
Admin commands to manage player Stars.

| Command |
Description |
/starsadmin give <player> <amount> |
Give Stars to a player |
/starsadmin take <player> <amount> |
Remove Stars from a player |
/starsadmin set <player> <amount> |
Set exact Stars amount |
/starsadmin reset <player> |
Reset player to 0 Stars |
/starsadmin reload |
Reload configuration |
Permissions
| Permission |
Description |
Default |
stars.use |
Use /stars command |
Everyone |
stars.top |
View leaderboard |
Everyone |
stars.earn |
Earn Stars from playtime |
Everyone |
stars.admin |
Full admin access |
OP |
stars.admin.give |
Give Stars to players |
OP |
stars.admin.take |
Take Stars from players |
OP |
stars.admin.set |
Set player Stars |
OP |
stars.admin.reset |
Reset player Stars |
OP |
stars.admin.reload |
Reload configuration |
OP |
PlaceholderAPI
| Placeholder |
Output |
%stars_balance% |
Raw number (1000) |
%stars_formatted% |
Formatted (1,000) |
%stars_display% |
With symbol (* 1,000) |
%stars_gradient% |
Gradient colored |
Configuration
All values are fully configurable:
- Playtime interval - Minutes required to earn Stars (default: 10)
- Reward range - Min/max Stars earned per interval (default: 2-3)
- Activity detection - Require player movement to prevent AFK farming
- Gradient colors - Custom hex colors for start/end gradient
- Messages - Every message can be customized with hex color support
- Number format - Customize thousands separator
Data Storage
- Player data stored in
data.yml
- Automatic saving (configurable interval)
- Stores UUID, player name, and Stars balance
- Offline player lookup support for leaderboard
Soft Dependencies
| Plugin |
Purpose |
| Vault |
Register as economy provider |
| PlaceholderAPI |
Enable placeholders |
| LuckPerms |
Permission management (any perm plugin works) |
Requirements
- Spigot / Paper 1.16.5 - 1.21+
- Java 11+
Support
Having issues or questions? Leave a message or open a ticket. Response within 24 hours.
Version: 1.0.0
评论 0
登录后参与评分
还没有评论,来抢沙发吧