
你的玩家会为了它挂机(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 设置的演示余额。


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 infoandhistory, 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 usezone pos1andpos2where 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.
/afkpays a reduced rate wherever you stand until you move;/afk zoneteleports 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.


/shardshopis 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 topplaces 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 topopens a menu with player heads;/shards top chatprints 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 historyshows a player where their shards came from; staff use/shardmanager history <player>. /shards payis atomic, with an optional tax, minimum and maximum, and aconfirmstep for large amounts.- Kill rewards per mob type and for players (with a cooldown; spawner mobs pay nothing).
/shards convertto 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
下载 Donut Shards
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Donut Shards
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Donut Shards
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Donut Shards
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Donut Shards
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Donut Shards
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Donut Shards
下载 Donut Shards
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Donut Shards
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Donut Shards
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
DonutShards 2.0.0 "Sweet Spots"
迄今为止最大的 DonutShards 更新:在游戏中绘制拥有独立收益的挂机区域、向每次结算倒计时的 Boss 栏、全服增益道具,以及带有每日特惠和排行榜的商店。一个 Jar 包即可兼容 Minecraft 1.20.1 至 26.3 版本的 Paper、Folia 和 Purpur 服务端。你的余额、区域和设置均可无缝继承:无需迁移。
新增
- 甜点区法杖 (
/shardmanager zone wand):左键和右键点击两个方块,然后执行/shardmanager zone create <name>即可创建一个矩形区域。zone pos1|pos2可设置你当前站立位置为角落。1.x 版本的球形区域仍然可用。 - 按区域设置:
/shardmanager zone set <zone> shards|interval|permission|display-name <value>。例如,一个每 30 秒支付 3 个碎片的 VIP 区域只需两条命令。 - AFK Boss 栏:显示区域名称、下次结算时间、实时倒计时以及当前会话总收益。
- 按玩家计时器:当你走进区域时开始计时;离开(或登出)时停止。不再存在因恰好在全服刻前 1 秒进入而获得收益的情况。
- 离开区域时的会话摘要:显示停留时间和获得的碎片数。
- 增益道具:
/shardmanager booster start 2 1h Weekend将为所有人翻倍 AFK 和击杀奖励,并显示增益 Boss 栏;重启后依然有效。使用/shards booster查看。 - 排名乘数:
shards.multiplier.<x>(取最高值生效)。 - 每日特惠:在
/shardshop中展示一组轮换优惠,对所有玩家统一可见,带有倒计时,并设有按玩家限制的购买次数(在与支付一同检查时生效)。 - 排行榜面板:
/shardmanager board create <name>可在世界中放置实时的前 10 名排行榜(无需全息插件)。 - 历史记录:玩家可使用
/shards history;管理员可使用/shardmanager history <player>和/shardmanager info <player>(也支持从控制台和 RCON 查询)。 - 占位符:
%donutshard_zone%、%donutshard_next_reward%、%donutshard_session%、%donutshard_booster%、%donutshard_booster_time%。 - API:
getActiveBoosterMultiplier()、getHistory(...);ShardRewardEvent、ShardPurchaseEvent和ShardTransferEvent现在会被触发(1.x 版本中从未触发过)。
修复
- 同一秒内第二次击杀不会获得奖励(但仍会显示“+N Shard”)。
%donutshard_balance%会在服务器主线程查询数据库;现在占位符绝不会造成阻塞。/shards pay从未通知收款人;transfer.minimum、maximum和confirmation-threshold配置项曾被忽略。- 转义的占位符值在聊天中
>符号前会出现多余的\。 shards.admin.give/take/set和shards.bypass.cooldown虽已声明但未实际检查。- API 在
/shardmanager reload后仍保留启动时的转账税率。 - 排行榜菜单忽略了
gui.yml中的previous、next和filler配置。
更改
- 需要 Paper、Folia 或 Paper 分支。1.x 的文档曾声称支持 Spigot 和 Bukkit,但实际上无法运行。
- 1.20.1 服务器仅需 Java 17(1.x 需要 Java 21)。
rewards.yml和anti-abuse.yml不再自动创建(没有任何版本读取过这些文件);旧副本将被忽略。- 六个无效权限节点不再被声明(
shards.admin.reset、rollback、migrate、gui、debug、shop)。
升级指南
直接放入新的 Jar 包即可。新配置项会添加到你的配置文件中,但不会修改现有值。现有的 shop.yml 将保持原有布局,并默认关闭每日特惠(需设置 deals.enabled: true 并选择可用的 slots)。参见 CONFIGURATION.md。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧