DupePlugin
通过可配置的黑名单实现简单的物品复制功能。
特性
/dupe [数量] — 一键将手中物品复制最多64次
库存安全 — 在复制前检查是否有足够空间;绝不会意外将物品掉落至地面
可配置的黑名单 — 通过 config.yml 防止特定物品被复制(无需重启服务器)
自动添加描述标签 — 当拾取、合成或在背包中移动时,被黑名单阻止的物品会自动在描述中获得红色 ✗ 无法复制 的提示文字
/dupe reload — 实时重载配置,无需重启服务器
黑名单
开箱即用,以下物品无法被复制:
类别 物品
下界合金工具 剑、镐、斧、锹、锄
下界合金护甲 头盔、胸甲、护腿、靴子
下界合金材料 锭、碎片、方块、升级锻造模板
特殊物品 龙蛋、下界之星、信标
你可以在 plugins/DupePlugin/config.yml 中完全自定义此列表。
命令
命令 描述 权限 默认值
/dupe 复制当前手持物品一次 dupeplugin.dupe OP
/dupe <数量> 复制当前手持物品 N 次(最多 64 个) dupeplugin.dupe OP
/dupe reload 无需重启即可重新加载配置文件 dupeplugin.admin OP
配置
首次启动后,编辑 plugins/DupePlugin/config.yml:
无法被复制的材料列表。
使用 Minecraft 材质名称(大写,下划线)。
完整列表:
blacklisted-materials:
=== 下界合金 ===
- NETHERITE_SWORD
- NETHERITE_PICKAXE
- NETHERITE_AXE
- NETHERITE_SHOVEL
- NETHERITE_HOE
- NETHERITE_HELMET
- NETHERITE_CHESTPLATE
- NETHERITE_LEGGINGS
- NETHERITE_BOOTS
- NETHERITE_BLOCK
- NETHERITE_INGOT
- NETHERITE_SCRAP
- NETHERITE_UPGRADE_SMITHING_TEMPLATE
=== 特殊物品 ===
-
DRAGON_EGG
-
NETHER_STAR
-
BEACON
然后在游戏内运行 /dupe reload 以立即应用更改。
安装
下载 DupePlugin-1.1.0.jar
将其放入服务器的 plugins/ 文件夹中
重启服务器
根据需要配置 plugins/DupePlugin/config.yml
兼容性
服务端软件:Paper 1.21.11
Java:21+
无需依赖
DupePlugin
Simple item duplication with a configurable blacklist.
Features
/dupe [amount] — Duplicate the item in your hand up to 64 times in one command
Inventory-safe — Checks if there's enough space before duplicating; never drops items on the ground accidentally
Configurable blacklist — Prevent specific items from being duped via config.yml (no restart needed)
Automatic lore tagging — Blacklisted items automatically get a red ✗ Cannot be Duped tooltip in their lore when picked up, crafted, or moved in inventory
/dupe reload — Reload the config live without restarting the server
Blacklist
Out of the box, the following items cannot be duplicated:
Category Items
Netherite Tools Sword, Pickaxe, Axe, Shovel, Hoe
Netherite Armor Helmet, Chestplate, Leggings, Boots
Netherite Materials Ingot, Scrap, Block, Upgrade Smithing Template
Special Dragon Egg, Nether Star, Beacon
You can fully customize this list in plugins/DupePlugin/config.yml.
Commands
Command Description Permission Default
/dupe Duplicate held item once dupeplugin.dupe OP
/dupe <amount> Duplicate held item N times (max 64) dupeplugin.dupe OP
/dupe reload Reload config without restart dupeplugin.admin OP
Configuration
After first launch, edit plugins/DupePlugin/config.yml:
List of materials that CANNOT be duplicated.
Use Minecraft material names (uppercase, underscores).
Full list:
blacklisted-materials:
=== Netherite ===
- NETHERITE_SWORD
- NETHERITE_PICKAXE
- NETHERITE_AXE
- NETHERITE_SHOVEL
- NETHERITE_HOE
- NETHERITE_HELMET
- NETHERITE_CHESTPLATE
- NETHERITE_LEGGINGS
- NETHERITE_BOOTS
- NETHERITE_BLOCK
- NETHERITE_INGOT
- NETHERITE_SCRAP
- NETHERITE_UPGRADE_SMITHING_TEMPLATE
=== Special Items ===
- DRAGON_EGG
- NETHER_STAR
- BEACON
Then run /dupe reload in-game to apply changes instantly.
Installation
Download DupePlugin-1.1.0.jar
Drop it into your server's plugins/ folder
Restart the server
Configure plugins/DupePlugin/config.yml to your liking
Compatibility
Server software: Paper 1.21.11
Java: 21+
No dependencies required
评论 0
登录后参与评分
还没有评论,来抢沙发吧