
你的玩家会为了它挂机(AFK)的碎片经济。 使用魔杖绘制挂机区域,并为每个区域设置独立的奖励。玩家会在 Boss 条上看到即将到来的每一笔奖励,在商店中使用他们的碎片消费,而排行榜将直接显示在你的世界中。周末开启加速器,让所有人都能感受到加成效果。
Paper、Folia 和 Purpur · Minecraft 1.20.1 至 26.3 · 单个 Jar 文件 · 仅服务端安装,玩家无需安装任何内容 · SQLite 或 MariaDB/MySQL

2.0 版本“Sweet Spots”是 DonutShards 迄今为止最大的更新:
- Sweet Spot 魔杖:只需两次点击即可绘制矩形挂机区域(1.x 版本的球形区域仍可使用)
- 按区域设置奖励:每个区域可独立配置碎片数量、间隔、权限要求和显示名称
- AFK Boss 条:显示实时倒计时和当前会话总收益,离开时提供总结信息
- 按玩家计时器:进入区域时开始计时;离开区域或登出服务器时不会获得奖励
- 服务器加速器:拥有独立的 Boss 条,重启后继续运行,并支持排名乘数(
shards.multiplier.<x>)
- 每日特惠:商店中提供轮换优惠,带有倒计时和每位玩家的购买限制
- 世界中的排行榜:无需全息图插件
/shards history、/shardmanager info 和 history,新增占位符和 API 事件
- 修复 1.x 的问题:同一秒内的击杀不再重复支付、修复了余额占位符、忽略了传输限制等
- 你的余额、区域和设置均自动迁移:无需手动导入


/shardmanager zone wand,左键点击一个角,右键点击另一个角,然后执行 /shardmanager zone create spawn。该区域覆盖你选定的方块及其上方两个方块,因此只需选择地面即可。或者使用 zone pos1 和 pos2 在你站立的位置设定边界。
/shardmanager zone set <zone> shards 3, interval 30s, permission shards.zone.vip, display-name <MiniMessage>。没有该区域权限的玩家会被提示一次,且无法在此区域获得奖励。
- 站在区域内会显示Boss 条:区域名称、下一次奖励时间、剩余秒数以及本会话已获得的碎片数。每次发放奖励时会播放音效,并显示标题和操作栏文字(均可关闭)。
- 每位玩家都基于自己的计时器获取奖励,从踏入区域的那一刻开始计算。离开则计时停止;如果在获得奖励后离开,聊天栏会告诉你停留了多久以及获得了多少奖励。
/afk 无论你在哪里都会以较低的速率获得奖励,直到你移动为止;/afk zone 会将你传送至某个区域。
- 区域周围会用粒子效果勾勒出来。


/shardmanager booster start 2 1h Weekend Sugar Rush:所有人的 AFK(默认包括击杀)奖励翻倍。整个服务器都会收到通知,每个人都能看到加速器进度条,即使重启也会保持运行状态。
- 排名系统:通过你的权限插件授予
shards.multiplier.1.5(或其他数值);取最高值生效。
- 单次奖励计算公式为
base × (区域内系数 1, 家中系数 0.5) × 排名乘数 × 加速器乘数,向下取整,至少为 1。


/shardshop 是一个可配置的库存商店(支持物品、附魔、描述文本、确认界面、控制台命令)。
- 每日特惠:一组从你定义的池中抽取的优惠。所有玩家看到的优惠相同,重启不会重新洗牌,每天(或每
rotation-hours 小时)刷新一次。
- 工具提示显示优惠刷新时间和玩家还可购买的数量。限购检查与支付在同一数据库事务中进行,因此快速双击无法绕过限制。


/shardmanager board create top 在你站立的位置放置一个实时更新的前 10 名排行榜,每 30 秒刷新一次。它是纯文本显示,因此无需全息图插件,崩溃后也不会出现重复项。
/shards top 打开带有玩家头像的菜单;/shards top chat 将其打印到聊天栏。
- PlaceholderAPI 占位符:
%donutshard_balance%、%donutshard_top_1%…10、%donutshard_top_bal_1%…10、%donutshard_zone%、%donutshard_next_reward%、%donutshard_session%、%donutshard_booster%、%donutshard_booster_time%。


- 每个碎片都在 SQL 账簿中作为一行记录(默认为 SQLite,MariaDB/MySQL 可用于多服共享余额)。
/shards history 可查看玩家碎片的来源;工作人员可使用 /shardmanager history <player> 查看特定玩家的记录。
/shards pay 是原子操作,支持可选税费、最小值和最大值,大额转账需经过 confirm 确认步骤。
- 每种生物类型和玩家击杀均有独立奖励(设有冷却时间;刷怪笼生成的怪物无奖励)。
- 支持与 Vault 进行碎片与货币之间的转换。
- 异步 Java API,包含奖励、购买、转账和区域相关的事件接口。

| 玩家 |
工作人员 (/shardmanager, /dshards) |
/shards [balance], pay, top, history, booster, convert |
give, take, set, info, history |
/shardshop |
zone wand, pos1, pos2, create, set, info, list, delete |
/afk, /afk zone, list, join, leave, info |
booster start, stop; board create, delete, list; reload |


适用于所有受支持服务器的单个 jar 文件:donutshards-paper-1.20.1-26.3-2.0.0.jar。将其放入 plugins/ 目录中。
| 服务器端 |
Minecraft |
Java |
| Paper, Purpur 或其他 Paper 分支 |
1.20.1 – 1.20.4 |
17+ |
| Paper, Purpur 或其他 Paper 分支 |
1.20.5 – 1.21.11 |
21+ |
| Paper, Purpur 或其他 Paper 分支 |
26.1 – 26.3 |
25+ |
| Folia |
1.20.1 – 26.3 |
同上 |
不支持 Spigot 和 CraftBukkit:DonutShards 使用了 Paper 的 API。可选插件:Vault(用于转换)、PlaceholderAPI。

我运行的是 1.x 版本,会丢失内容吗? 不会。余额、区域、消息和设置都会保留并新增选项。
你的商店布局保持不变;每日特惠默认关闭,直到你启用它们并选择免费槽位。
需要 WorldGuard 或全息图插件吗? 不需要。区域和排行榜是内置功能。
玩家离线或在大厅走动时能赚取货币吗? 不能。只有待在区域内(或在家 AFK 保持静止)的时间才会计入,按玩家自己的计时器计算,且仅在线时有效。
它能在 Folia 上运行吗? 可以。所有内容都在拥有该玩家或位置所属的线程上运行。
玩家需要安装模组吗? 不需要,这是一个服务端插件。






截图均为 Minecraft 26.3 在 Paper 上的单帧未编辑画面。甜甜圈平台是通过命令构建的;排行榜上的其他名称是使用 /shardmanager set 设置的演示余额。

Discord · 源代码和问题反馈 · 支持我们 · 由 NightBeam Studio 制作

The shard economy your players will AFK for. Draw AFK zones with a wand and give each one its own payout. Players
see every payout coming on a boss bar, spend their shards in a shop whose Daily Deals change every day, and fight
for a spot on leaderboards that stand in your world. Run a booster for the weekend and everyone feels it.
Paper, Folia and Purpur · Minecraft 1.20.1 to 26.3 · one jar · server-side only, nothing to install for players ·
SQLite or MariaDB/MySQL

Version 2.0 "Sweet Spots" is the biggest DonutShards update yet:
- Sweet Spot Wand: draw box AFK zones with two clicks (1.x spheres still work)
- Per-zone payouts: shards, interval, permission and a display name for every zone
- AFK boss bar with a live countdown and the session total, and a summary when you leave
- Per-player timers: the interval starts when you walk in; walking out or logging off never pays
- Server boosters with their own boss bar, surviving restarts, and rank multipliers (
shards.multiplier.<x>)
- Daily Deals in the shop: rotating offers with a countdown and per-player limits
- Leaderboard boards in the world, no hologram plugin needed
/shards history, /shardmanager info and history, new placeholders, API events
- Fixes from 1.x: same-second kills paid nothing, a blocking balance placeholder, ignored transfer limits and more
- Your balances, zones and settings carry over: no migration


/shardmanager zone wand, left-click one corner, right-click the other, /shardmanager zone create spawn. The zone
covers the blocks you picked plus two blocks above them, so picking the floor is enough. Or use zone pos1 and
pos2 where you stand.
/shardmanager zone set <zone> shards 3, interval 30s, permission shards.zone.vip, display-name <MiniMessage>.
Players without a zone's permission are told once and earn nothing there.
- Standing in a zone shows a boss bar: the zone's name, the next payout, the seconds left and the shards earned
this session. Each payout plays a sound and shows a title and an action bar (each can be turned off).
- Every player earns on their own clock, from the moment they walk in. Leave and the clock stops; leave after
earning and chat tells you how long you stayed and what you made.
/afk pays a reduced rate wherever you stand until you move; /afk zone teleports you to a zone.
- Zones are outlined with particles.


/shardmanager booster start 2 1h Weekend Sugar Rush: AFK (and, by default, kill) rewards are doubled for
everyone. The whole server is told, everyone sees a booster bar with the time left, and a restart keeps it running.
- Ranks: give
shards.multiplier.1.5 (or any number) with your permissions plugin; the highest one counts.
- A payout is
base × (1 in a zone, 0.5 at home) × rank × booster, rounded down, at least 1.


/shardshop is a configurable inventory shop (items, enchantments, lore, confirmation screens, console commands).
- Daily Deals: a row of offers drawn from a pool you define. Every player sees the same deals, a restart does not
reshuffle them, and every day (or every
rotation-hours) they change.
- The tooltip shows when the deals rotate and how many the player may still buy. The limit is checked in the same
database transaction as the payment, so fast double clicks cannot get around it.


/shardmanager board create top places a live top 10 where you stand, refreshed every 30 seconds. It is a text
display, so no hologram plugin is needed, and it never duplicates after a crash.
/shards top opens a menu with player heads; /shards top chat prints it.
- PlaceholderAPI:
%donutshard_balance%, %donutshard_top_1%…10, %donutshard_top_bal_1%…10,
%donutshard_zone%, %donutshard_next_reward%, %donutshard_session%, %donutshard_booster%,
%donutshard_booster_time%.


- Every shard is a row in a SQL ledger (SQLite by default, MariaDB/MySQL to share balances between servers).
/shards history shows a player where their shards came from; staff use /shardmanager history <player>.
/shards pay is atomic, with an optional tax, minimum and maximum, and a confirm step for large amounts.
- Kill rewards per mob type and for players (with a cooldown; spawner mobs pay nothing).
/shards convert to and from money with Vault.
- An async Java API with reward, purchase, transfer and zone events.

| Players |
Staff (/shardmanager, /dshards) |
/shards [balance], pay, top, history, booster, convert |
give, take, set, info, history |
/shardshop |
zone wand, pos1, pos2, create, set, info, list, delete |
/afk, /afk zone, list, join, leave, info |
booster start, stop; board create, delete, list; reload |


One jar for every supported server: donutshards-paper-1.20.1-26.3-2.0.0.jar. Put it in plugins/.
| Server |
Minecraft |
Java |
| Paper, Purpur or another Paper fork |
1.20.1 – 1.20.4 |
17+ |
| Paper, Purpur or another Paper fork |
1.20.5 – 1.21.11 |
21+ |
| Paper, Purpur or another Paper fork |
26.1 – 26.3 |
25+ |
| Folia |
1.20.1 – 26.3 |
as above |
Spigot and CraftBukkit are not supported: DonutShards uses Paper's API. Optional: Vault (conversion), PlaceholderAPI.

I run 1.x. Do I lose anything? No. Balances, zones, messages and settings carry over and gain the new options.
Your shop keeps its layout; Daily Deals start switched off until you enable them and pick free slots.
Does it need WorldGuard or a hologram plugin? No. Zones and leaderboards are built in.
Can players earn while logged off or walking around the lobby? No. Only time spent inside a zone (or in home AFK,
standing still) counts, on the player's own clock, and only while they are online.
Does it work on Folia? Yes. Everything runs on the thread that owns the player or the location.
Do players need a mod? No, it is a server plugin.






Screenshots are single unedited frames from Minecraft 26.3 on Paper. The donut platform was built with commands;
the other names on the leaderboard are demo balances set with /shardmanager set.

Discord · Source and issues · Support us · Made by NightBeam Studio
评论 0
登录后参与评分
还没有评论,来抢沙发吧