Downs
带有独立 AFK 赚取货币的限时区域挖掘工具。
九个工具,分为三个等级。使用 Downs(一种玩家通过静止站立获得的货币)购买它们。每种工具在一次挥动中破坏一个矩形区域的方块,并在计时器耗尽时自我销毁——因此没有人能永久拥有一把可挖掘 36 个方块的镐子。
所有内容均由一个带注释的 config.yml 驱动。大小、价格、计时器、颜色、消息、商店布局和计分板均可在不修改代码的情况下进行编辑,执行 /downs reload 即可实时应用更改。
工具
三个部分,每部分包含三个等级。每种工具均为下界合金材质,附魔包括 经验修补 (Mending)、耐久 V (Unbreaking V) 和 效率 V (Efficiency V)。
|
区域 |
每次挥动方块数 |
镐子 |
斧头 |
铲子 |
持续时间 |
| Down |
3 × 3 |
9 |
90 |
150 |
150 |
3 小时 |
| Stripe |
7 × 3 |
21 |
250 |
400 |
400 |
3 小时 |
| Owen |
9 × 4 |
36 |
600 |
900 |
900 |
8 小时 |
矩形区域跟随你的瞄准方向。 它会在你注视的面生成,因此向下挖掘会切割出平坦的地面,向墙壁挖掘则会切割出平坦的隧道。将 depth 设置为大于 1 的值以同时切入墙壁内部。
自我销毁 在购买工具的那一刻开始计算——这是真实时间,而非游戏时间。物品描述中显示实时倒计时,在剩余 60 秒时会警告玩家,归零时工具将被删除。设置 self-destruct-seconds: 0 可获得永久工具。
你的建筑是安全的
每个部分仅破坏其应破坏的内容:
- 镐子 — 石头、深板岩、泥土、沙砾、沙子、下界岩、所有矿石(共 57 种方块)
- 斧头 — 原木、去皮原木、木板、树叶、蘑菇块(共 56 种方块)
- 铲子 — 泥土、沙子、沙砾、黏土、泥巴、雪、灵魂沙(共 25 种方块)
宽度为 9 的工具无法摧毁房屋、箱子或农场。你实际点击的那个方块始终正常破坏,因此任何单个方块仍可正常挖掘——仅对额外区域进行过滤。所有列表均可编辑,清空某个列表即移除该限制。
容器按照原版方式破坏,使其内容掉落出来而不是消失,液体被跳过以防止有人抽干海洋。
Downs 货币
玩家输入 /downs afk 并在静止站立时获得 每 30 秒 1 Downs,显示在快捷栏上方。移动超过 1.5 格会中断该状态,需重新输入指令以重新开始。获取速率、半径和移动取消判定均可配置。余额在退出服务器、关闭服务器以及每 5 分钟自动保存。
分页商店
/downshop 打开一页对应一个部分的界面,带有“下一页”和“上一页”箭头。每页显示你的余额、当前所在部分及其三个等级的实时价格——如果你买不起,还会显示还需要多少 Downs。
计分板
默认开启的侧边栏,显示玩家的余额。任何玩家 都可以使用 /downs sb 隐藏或显示自己的计分板,且该选择在重启后会被记住。通常 Minecraft 每行旁边显示的红色分数数字会被隐藏。
命令
| 命令 |
权限 |
|
/downshop |
downs.shop (所有人) |
打开商店 |
/downs |
downs.use (所有人) |
查看你的余额 |
/downs afk |
downs.use (所有人) |
切换 AFK 赚取状态 |
/downs sb |
downs.use (所有人) |
开关计分板 |
/downs help |
downs.use (所有人) |
命令列表 |
/downs reload |
downs.admin (管理员) |
实时重载配置 |
/downs give <player> <amount> |
downs.admin (管理员) |
增加 Downs |
/downs take <player> <amount> |
downs.admin (管理员) |
减少 Downs |
/downs set <player> <amount> |
downs.admin (管理员) |
设置余额 |
/downs tool <player> <id> |
downs.admin (管理员) |
免费给予工具 |
/downs <player> |
downs.admin (管理员) |
查看其他玩家的余额 |
别名:/dshop /pshop · /down /coins · /dp /downsadmin
工具 ID:down_pickaxe stripe_pickaxe owen_pickaxe down_axe stripe_axe owen_axe down_shovel stripe_shovel owen_shovel
所有命令均支持 Tab 补全,且具有适应性——玩家只能看到 afk、sb 和 help。
权限
| 节点 |
默认值 |
|
downs.use |
everyone |
/downs, afk, sb, help |
downs.shop |
everyone |
/downshop |
downs.tool.use |
everyone |
允许触发区域效果 |
downs.tool.<section>.<tier> |
everyone |
购买特定的一种工具 |
downs.admin |
op |
所有管理子命令 |
主题
每个字符串均为 Unicode 小型大写字母,带有 十六进制 颜色和渐变——没有任何 & 代码:
"<gradient:#1877C4:#8ED0FF:#FFFFFF><bold>ᴏᴡᴇɴ ᴘɪᴄᴋᴀxᴇ</bold></gradient>"
使用普通字母输入新消息,small-caps-auto 会自动为你转换它们,同时保留颜色标签和 %占位符% 不变。
添加自定义内容
复制 tools: 中的一个部分,你就拥有了一个新的类别——商店会自动将其识别为另一个页面,无需编写代码。
要求
将 jar 文件放入 plugins/ 目录并重启服务器。config.yml 将在首次运行时自动生成,并附带版本戳记,以便过期的配置会被备份并重新生成,而不是半损坏地运行。
已知限制
- 由区域效果移除的方块 不会 触发
BlockBreakEvent,因此土地保护插件(WorldGuard、GriefPrevention、Towny)将无法检测到它们。请将工具限制在矿世界中使用,或利用可破坏方块列表进行限制。
Downs
Timed area-mining tools with their own AFK-earned currency.
Nine tools across three tiers. Buy them with Downs, a coin your players earn by standing still. Every tool breaks a rectangle of blocks in one swing, then destroys itself when its timer runs out — so nobody keeps a 36-block pickaxe forever.
Everything is driven from one commented config.yml. Sizes, prices, timers, colours, messages, the shop layout and the scoreboard are all editable without touching code, and /downs reload applies changes live.
The tools
Three sections, three tiers each. Every tool is Netherite with Mending, Unbreaking V and Efficiency V.
|
Area |
Blocks / swing |
Pickaxe |
Axe |
Shovel |
Lifetime |
| Down |
3 × 3 |
9 |
90 |
150 |
150 |
3 h |
| Stripe |
7 × 3 |
21 |
250 |
400 |
400 |
3 h |
| Owen |
9 × 4 |
36 |
600 |
900 |
900 |
8 h |
The rectangle follows your aim. It is drawn on the face you are looking at, so mining downward carves a flat floor and mining into a wall carves a flat tunnel. Set depth above 1 to cut into the wall as well.
Self-destruct starts the moment the tool is bought — real time, not playtime. A live countdown sits on the item lore, the player is warned at 60 seconds, and the tool is deleted at zero. Set self-destruct-seconds: 0 for a permanent tool.
Your builds are safe
Each section only breaks what it should:
- Pickaxes — stone, deepslate, dirt, gravel, sand, netherrack, every ore (57 blocks)
- Axes — logs, stripped logs, planks, leaves, mushroom blocks (56 blocks)
- Shovels — dirt, sand, gravel, clay, mud, snow, soul sand (25 blocks)
A 9-wide tool cannot chew through houses, chests or farms. The block you actually click always breaks as normal, so single blocks of anything still mine fine — only the extra area is filtered. Every list is editable, and emptying one removes the restriction.
Containers break the vanilla way so their contents spill out instead of vanishing, and liquids are skipped so nobody drains an ocean.
Downs currency
Players type /downs afk and earn 1 Down every 30 seconds while standing still, shown above the hotbar. Walking more than 1.5 blocks ends it and they retype to restart. Rate, radius and movement cancelling are all configurable. Balances save on quit, on shutdown, and every 5 minutes.
Paged shop
/downshop opens one page per section with next / previous arrows. Each page shows your balance, which section you are on, and its three tiers with live prices — including how many more Downs you need if you can't afford one.
Scoreboard
A sidebar showing the player's balance, on by default. Any player can hide or show their own with /downs sb, and the choice is remembered across restarts. The red score number Minecraft normally prints beside each line is hidden.
Commands
| Command |
Permission |
|
/downshop |
downs.shop (everyone) |
Open the shop |
/downs |
downs.use (everyone) |
Your balance |
/downs afk |
downs.use (everyone) |
Toggle AFK earning |
/downs sb |
downs.use (everyone) |
Scoreboard on / off |
/downs help |
downs.use (everyone) |
Command list |
/downs reload |
downs.admin (op) |
Reload config live |
/downs give <player> <amount> |
downs.admin (op) |
Add Downs |
/downs take <player> <amount> |
downs.admin (op) |
Remove Downs |
/downs set <player> <amount> |
downs.admin (op) |
Set a balance |
/downs tool <player> <id> |
downs.admin (op) |
Give a tool free |
/downs <player> |
downs.admin (op) |
Another player's balance |
Aliases: /dshop /pshop · /down /coins · /dp /downsadmin
Tool ids: down_pickaxe stripe_pickaxe owen_pickaxe down_axe stripe_axe owen_axe down_shovel stripe_shovel owen_shovel
All commands have tab completion, and it adapts — players only see afk, sb and help.
Permissions
| Node |
Default |
|
downs.use |
everyone |
/downs, afk, sb, help |
downs.shop |
everyone |
/downshop |
downs.tool.use |
everyone |
Lets the area effect trigger |
downs.tool.<section>.<tier> |
everyone |
Buying one specific tool |
downs.admin |
op |
All admin subcommands |
Theme
Every string is Unicode sᴍᴀʟʟ ᴄᴀᴘs with hex colours and gradients — no & codes anywhere:
"<gradient:#1877C4:#8ED0FF:#FFFFFF><bold>ᴏᴡᴇɴ ᴘɪᴄᴋᴀxᴇ</bold></gradient>"
Type new messages in normal letters and small-caps-auto converts them for you, leaving colour tags and %placeholders% untouched.
Adding your own
Copy a section in tools: and you have a new category — the shop picks it up as another page automatically, no code required.
Requirements
- Paper 1.21+
- Java 21
- No dependencies
Drop the jar in plugins/ and restart. config.yml generates itself on first run, and carries a version stamp so an outdated config is backed up and regenerated rather than half-breaking.
Known limits
- Blocks removed by the area effect do not fire
BlockBreakEvent, so land-protection plugins (WorldGuard, GriefPrevention, Towny) will not see them. Restrict the tools to a mine world, or lean on the breakable lists.
评论 0
登录后参与评分
还没有评论,来抢沙发吧