AmethystItems
一款轻量级的 PaperMC 插件,添加了一套强大的、由管理员分发的物品,并内置了过期计时器。每个物品在视觉上都是独特的,并且被单独追踪——一旦计时结束,无论物品位于何处(背包、箱子、潜影盒或地面上),它都会过期并消失。
物品
| 物品 |
效果 |
| 紫晶火箭 |
无限鞘翅加速——使用时永不消耗 |
| 紫晶熔岩桶 |
放置熔岩且不空桶 |
| 紫晶水桶 |
放置水且不空桶 |
| 紫晶斧 |
一次挥砍砍伐整棵相连的树(最多512个原木) |
| 紫晶镐 |
每次挥砍破坏3×3区域的方块 |
| 紫晶铲 |
每次挥砍挖掘3×3区域 |
| 紫盔 |
盔甲套装的一部分 |
| 紫甲 |
盔甲套装的一部分 |
| 紫裤 |
盔甲套装的一部分 |
| 紫靴 |
盔甲套装的一部分 |
| 紫锄 |
在可配置的半径内收获成熟作物并自动重新种植 |
穿戴全套盔甲可获得永久的夜视和速度效果。
过期系统
- 计时器从首次使用时开始,而不是在获得物品时开始。
- 剩余时间会直接显示在物品的描述行中,每分钟刷新一次。
- 过期的物品会从任何地方移除——玩家背包、箱子、潜影盒、末影箱或地面上。
- 默认持续时间可在
config.yml 中完全自定义。
紫晶锄
右键点击支持的作物会在点击方块周围的方形半径内收获所有成熟作物,并立即以0年龄重新种植。
- 支持的作物:小麦、胡萝卜、土豆、甜菜根、下界疣
- 仅当下方存在灵魂沙时才会重新种植下界疣
- 半径可通过
config.yml 中的 hoe_radius 配置(默认值:1 = 3×3)
- 计时器从首次使用开始(默认值:24小时)
商店
玩家可以通过 /amethystshop 浏览和购买物品。商店在打开、购买成功和购买失败时会播放音效。
命令
/amethyst give <player> <item>
/amethyst reload
give — 给予指定物品(使用 * 可同时给予所有物品)
reload — 重新加载 config.yml 并立即更新所有在线玩家的计时器描述行
权限: amethyst.give — 默认仅限 OP 使用。
配置
unbreakable: false # true = 工具和盔甲变为不可破坏
colors:
name: light_purple # 物品名称颜色
timer: yellow # 计时器行颜色
expire_hours:
rocket: 1
lava_bucket: 1
water_bucket: 1
axe: 24
pickaxe: 24
shovel: 24
helmet: 12
chestplate: 12
leggings: 12
boots: 12
hoe: 24
hoe_radius: 1 # 收获半径(方块数)(1 = 3×3, 2 = 5×5, 依此类推)
shop:
prices:
hoe: 700
# ... (其他价格)
将任何 expire_hours 值设置为 -1 以禁用该物品的过期功能。
要求
AmethystItems
A lightweight PaperMC plugin that adds a set of powerful, admin-distributed items with built-in expiry timers. Each item is visually distinct and tracked individually — it expires and disappears wherever it is (inventory, chest, shulker box, or on the ground) once the timer runs out.
Items
| Item |
Effect |
| Amethyst Rocket |
Infinite elytra boost — never consumed on use |
| Amethyst Lava Bucket |
Places lava without emptying |
| Amethyst Water Bucket |
Places water without emptying |
| Amethyst Axe |
Fells entire connected trees in one swing (up to 512 logs) |
| Amethyst Pickaxe |
Breaks a 3×3 area of blocks per swing |
| Amethyst Shovel |
Digs a 3×3 area per swing |
| Amethyst Helmet |
Part of the armor set |
| Amethyst Chestplate |
Part of the armor set |
| Amethyst Leggings |
Part of the armor set |
| Amethyst Boots |
Part of the armor set |
| Amethyst Hoe |
Harvests and auto-replants mature crops in a configurable radius |
Wearing the full armor set grants permanent Night Vision and Speed.
Expiry System
- The timer starts on first use, not when the item is given.
- Remaining time is displayed directly on the item as a lore line, refreshed every minute.
- Expired items are removed from anywhere — player inventory, chests, shulker boxes, ender chest, or on the ground.
- Default durations are fully configurable in
config.yml.
Amethyst Hoe
Right-clicking a supported crop harvests all mature crops in a square radius around the clicked block and immediately replants them at age 0.
- Supported crops: Wheat, Carrots, Potatoes, Beetroots, Nether Wart
- Nether Wart is only replanted if Soul Sand is present below
- Radius is configurable via
hoe_radius in config.yml (default: 1 = 3×3)
- Timer starts on first use (default: 24h)
Shop
Players can browse and purchase items via /amethystshop. The shop plays sounds on open, successful purchase, and failed purchase.
Commands
/amethyst give <player> <item>
/amethyst reload
give — gives the specified item (use * for all items at once)
reload — reloads config.yml and updates timer lore for all online players immediately
Permission: amethyst.give — OP only by default.
Configuration
unbreakable: false # true = tools and armor become unbreakable
colors:
name: light_purple # item name color
timer: yellow # timer line color
expire_hours:
rocket: 1
lava_bucket: 1
water_bucket: 1
axe: 24
pickaxe: 24
shovel: 24
helmet: 12
chestplate: 12
leggings: 12
boots: 12
hoe: 24
hoe_radius: 1 # harvest radius in blocks (1 = 3×3, 2 = 5×5, etc.)
shop:
prices:
hoe: 700
# ... (other prices)
Set any expire_hours value to -1 to disable expiry for that item.
Requirements
评论 0
登录后参与评分
还没有评论,来抢沙发吧