
你唯一需要的 /dupe(复制)插件。
/dupe(复制)插件。DupePlus
专为你的复制服务器打造的顶级复制插件。DupePlus 是一个完全模块化的插件,允许你随意开启或关闭任何功能!DupePlus 还提供了一个用户友好的配置文件,其中包含注释,帮助你理解 YML 文件中每个部分的含义。只需在聊天中使用 "/dupe",即可轻松实现物品复制,让生存变得更容易!
DupePlus 主要专注于防止 /dupe 漏洞利用,支持许多自定义物品插件(如 ItemsAdder (itemsadder:id)),并注重代码可读性,方便任何人轻松贡献代码。
为什么要使用 DupePlus?
|
|
|
|
还有许多其他实用功能等待你来发现!
设置指南
1. 安装
从“精选版本”中的第一个版本或“版本”选项卡中下载插件,然后点击“下载”,将其上传到 Minecraft 服务器文件中的 /plugins 文件夹。
2. 配置
配置文件将放置在 Minecraft 服务器文件的 /plugins/DupePlus 文件夹中。
之前的配置文件版本将被重命名为 old.config.yml 或删除。
如果你不小心破坏了 config.yml 或意外删除了它,以下是默认的 config.yml 内容:
config.yml
# 文档: https://galaxyy.gitbook.io/dupeplus
#
# DupePlus 的设置
# 使用此网站帮助自定义你的消息:
# https://webui.advntr.dev
#
# 如果你想请求新功能或发现 DupePlus 的任何问题,请在 GitHub 仓库中创建 Issue。
# https://github.com/meme20200/dupeplus/issues
#
# 使用 DupePlus 文档来帮助你进行配置
# https://galaxyy.gitbook.io/dupeplus
#
# 你可以使用游戏内的配置菜单轻松编辑你的配置文件
# /dupeplus config (仅限玩家,“dupeplus.admin.config” 权限或拥有 OP 权限)
dupe:
# 设置为 false 以允许所有人使用该命令(默认值:false)
# 权限: dupeplus.dupe
permission: false
# 将 Dupe 命令更改为自定义命令的设置。
custom-command:
# 设置为 false 以禁用自定义命令,设置为 true 以启用它。(默认值:false)
enabled: false
# 用于创建自定义命令的名称(默认值:"dupe")
# /<name>
name: "dupe"
# 使用 /dupe 的其他方法
# 留空表示没有别名
aliases:
- duplicate
# 在特定世界中阻止或允许 /dupe 的设置。
worlds:
# 设置为 false 以禁用此功能。
enabled: false
# 模式:whitelist(白名单)、blacklist(黑名单)(默认值:blacklist)
# whitelist 将阻止所有世界,但仅允许在列表中的世界中执行 /dupe。
# blacklist 将允许所有世界,但阻止在列表中的世界中执行 /dupe。
mode: blacklist
# 添加或移除世界,以阻止(黑名单)或允许(白名单)世界中的玩家进行复制。
worlds: []
# 检查物品是否具有 NBT 标签 "dupenotallowed"。如果有,则不会复制该物品。
custom-nbt-item:
# 设置为 false 以禁用自定义 NBT 功能,设置为 true 以启用它(默认值:true)
enabled: true
# 用于检查物品是否包含该标签的标签名。(默认值:"dupenotallowed")
tag: "dupenotallowed"
# 使用 /dupe 时,应该复制哪只手的物品?(默认值:MainHand)
# OffHand(副手)
# MainHand(主手)
dupe-on: MainHand
# 如果非玩家尝试复制时的发送者消息(默认值:"DupePlus | You can't do that!")
console-message: "You can't do that!"
# 黑名单/白名单的设置
filter:
# 设置为 false 以禁用这些功能,否则设置为 true 以启用它们(默认值:false)
enabled: false
# 设置为 false 使其成为“白名单”,设置为 true 使其成为“黑名单”(默认值:true)
# whitelist 将阻止所有物品,但仅允许复制列表中的物品。
# blacklist 将允许所有物品,但阻止复制列表中的物品。
# 必须启用 enabled
mode: blacklist
# 复制物品时检查潜影盒(默认值:true)
shulkerbox: true
# 复制物品时检查包裹(默认值:true)
bundle: true
# 向任一区块添加或移除物品(黑名单),或允许它们不被复制(白名单),同时不要包含空格。(错误示例:"diamond block",正确示例:"diamond_block")
# 以 minecraft: 开头来仅检查物品类型,如果物品是自定义插件的一部分则忽略。(默认值:- minecraft:barrier)
# itemsadder:命名空间:id
# oraxen:id
# nexo:id
# minehutcosmetics:命名空间:id
items:
- minecraft:barrier
# /dupe 冷却时间的设置
cooldown:
# 将其设为 false 以禁用冷却时间,设为 true 以启用它。(默认:false)
enabled: false
# 冷却时间为多少秒。(默认:3)
seconds: 3
# 如果你希望拥有权限的玩家忽略冷却时间,请将其设为 true;如果你希望所有人都受到冷却限制,请将其设为 false。(默认:true)
# 权限:dupeplus.cooldown
permission: true
# 本设置项(若不需要可忽略):玩家仍可运行 /dupe
# /dupe <乘数>
multiplier:
# 设为 false 以禁用此功能,设为 true 以启用此功能(默认值:false)
enabled: false
# 设置为 0 以禁用该组的乘数功能(默认值:5)(推荐值:5)
# 允许玩家/组不受此选项最大限制限制的权限节点:dupeplus.multiplier.max.unlimited
# dupeplus.multiplier.max.<名称>
max:
pro: 5
vip: 3
default: 2 # 使用复制乘数功能的默认权限,或拥有该权限但未指定其他权限的玩家。
# 设置为 0 表示对玩家可运行的乘数没有最低数量限制(默认值:0)(推荐值:0)
# 权限,允许玩家/组无论此选项如何都无需最低限制:dupeplus.multiplier.min.unlimited
# 建议保持为 0
min: 0
# 改为每次复制时只发送一次重复消息,以防止刷屏。(默认值:true)
one-time-message: true
# 设为 false 以允许所有被授权使用该功能的玩家使用。(默认值:false)
# 权限:dupeplus.times 或 dupeplus.multiplier
permission: false
# 为复制出的物品添加背景描述。
lore:
# 启用或禁用此功能。(默认值:false)
enabled: false
# 添加到复制出的物品的背景描述。(默认值:"<dark_red>*</dark_red> <red>Duplicated Item</red>")
text: "<dark_red>*</dark_red> <red>复制出的物品</red>"
# 插件添加描述文本的模式。(默认:set)
# append:检查重复的描述是否存在,如果不存在,则在最后一条描述之后添加,或者在没有描述时直接添加。
# set:检查重复的描述是否存在,如果不存在,则用新的描述替换现有描述;否则将忽略操作。(推荐)
mode: set
# 设为 false 时,无论玩家是否有权限使用此功能,都会为复制的物品添加/设置描述;设为 true 时,如果玩家没有权限,则不添加描述。(默认值:false)
# 权限:dupeplus.lore
permission: false
# 每当使用 /dupe 命令时播放设定的声音
# 权限:dupeplus.sound
sound-feedback:
# 启用或禁用此功能。(默认值:false)
enabled: false
# 用于播放声音的 Minecraft 声音类别。(默认值:master)
# 可接受的值:master, music, record, weather, block, hostile, neutral, player, ambient, voice
category: master
# 玩家使用 /dupe 时播放的声音。(默认值:"minecraft:block.amethyst_block.chime")
sound: "minecraft:block.amethyst_block.chime"
# 玩家使用 /dupe 时向其播放的声音音量。(默认值:1)
volume: 1
# 玩家使用 /dupe 时向其播放的声音音调。(默认值:1)
pitch: 1
# 设为 false 以允许所有拥有权限的玩家使用此功能。(默认值:false)
# 权限:dupeplus.sound
permission: false
# 每当玩家使用 /dupe 命令时扣除其金钱
# 权限:dupeplus.bypasseconomy
economy:
# 启用或禁用此功能。(默认值:false)
# 注意:必须安装 Vault,并且如果要使用此功能,必须在 integrations 中将 vault 设置为 true。
enabled: false
# 当玩家执行 /dupe <multiplier> 时,是只扣除一次还是每次操作都扣除?(默认值:true)
charge-per-dupe: true
# 玩家使用 /dupe 时从其账户中扣除的金额(默认值:25)
# 将此值设为 0 将不会从玩家处扣除任何费用。
# 请勿使用负数
price: 25
# 设为 false 以使所有人都需付费才能使用 /dupe。(默认值:false)
# 权限:dupeplus.bypasseconomy
permission: false
dupeplus:
# 启用别名命令:/dupefilter, /dupeunblock, /dupeblock(默认值:false)
# 需要重启服务器才能生效。
shorthand-commands: false
# 本插件连接的其他集成插件。
# 修改后必须重启服务器才能生效(且目标插件必须已安装)
# 如果发现任何问题,请在 GitHub (meme20200/dupeplus) 上创建 Issue
integrations:
# 启用 PlaceholderAPI 集成(默认值:true)
placeholderapi: true
# 启用 VaultAPI 集成(启用经济功能时为必需项)(默认值:true)
vault: true
# 使用指定的 API(Modrinth 或 SpigotMC)检查更新
updates:
# 在服务器启动时检查更新,如果不希望自动更新 DupePlus 请将其禁用。
enabled: true
# 应使用哪个服务进行更新检查?(默认值:Modrinth)
# Modrinth
# SpigotMC
api: Modrinth
notify:
# 向具有权限的玩家发送通知,以将插件更新到最新版本。
player-notify: true
# 向控制台发送消息,提醒服务器管理员更新插件。
console-notify: true
# 发送到控制台的提示消息(默认值:"<prefix> | Update DupePlus at <link>")
# 可用的消息变量:<link>、<currentversion>、<newversion>
console-notify-message: "Update DupePlus at <link>"
# 请勿修改此内容
# 上一版本:1.4.3
# config-version: 1.5
config-version: 1.5
统计信息

The only /dupe plugin you'll ever need.
/dupe plugin you'll ever need.DupePlus
The best duplication plugin for your Dupe server. DupePlus is a fully modular plugin that allows you to toggle any feature off or on! DupePlus also provides you with a user-friendly configuration with comments that help you understand what each section means in the YML. It will also make your survival easier just by duplicating. Just use "/dupe" in chat and let the magic happen!
DupePlus primarily focuses on preventing exploits for the /dupe, supporting many custom item plugins like ItemsAdder (itemsadder:id), and code readability for anyone to contribute easily.
Why should I use DupePlus?
|
|
|
|
And many other helpful features waiting for you!
Setup Guide
1. Installation
Download the plugin from the First Version in the Featured Versions or from the Versions Tab, then click Download and upload it to the /plugins folder in your Minecraft Server Files.
2. Configuration
The config file will be placed in the /plugins/DupePlus folder in your Minecraft Server Files.
Previous config versions will be renamed to old.config.yml or deleted.
If you ever manage to break the config.yml or accidentally erase it. Then here is the default config.yml
config.yml
# Docs: https://galaxyy.gitbook.io/dupeplus
#
# DupePlus's Settings
# Use this website to help you customize your messages:
# https://webui.advntr.dev
#
# If you want to request a feature or notice any issues with DupePlus. Then create an issue in the GitHub Repository.
# https://github.com/meme20200/dupeplus/issues
#
# Use the DupePlus Docs to help you with the config
# https://galaxyy.gitbook.io/dupeplus
#
# You can use the in-game configuration menu to edit your config with ease
# /dupeplus config (Player only, "dupeplus.admin.config" permission or just have OP permission)
dupe:
# Make it false to let everyone allowed to use this command (Default: false)
# Permission: dupeplus.dupe
permission: false
# Settings to change the Dupe Command into a Custom command.
custom-command:
# Make it false to disable the custom command, make it true to enable it. (Default: false)
enabled: false
# The name used to create the custom command (Default: "dupe")
# /<name>
name: "dupe"
# Other ways of using /dupe
# Leave blank for no aliases
aliases:
- duplicate
# Settings to block or allow /dupe in specific worlds.
worlds:
# Make it false to disable this feature.
enabled: false
# Mode: whitelist, blacklist (Default: blacklist)
# whitelist will block all worlds but only allow /dupe in the worlds list.
# blacklist will allow all worlds but block /dupe in the worlds list.
mode: blacklist
# Add or remove worlds to either block (blacklist) or allow (whitelist) it from players in the world from duping.
worlds: []
# Checks if the item has a NBT Tag of "dupenotallowed". If it has, then it will not dupe the item.
custom-nbt-item:
# Make it false to disable the Custom NBT feature, make it true to enable it (Default: true)
enabled: true
# The tag for checking if the item contains it. (Default: "dupenotallowed")
tag: "dupenotallowed"
# When using /dupe, which hand should it dupe? (Default: MainHand)
# OffHand
# MainHand
dupe-on: MainHand
# Message to the sender if they try to dupe as a non-player (Default: "DupePlus | You can't do that!")
console-message: "You can't do that!"
# Settings for blacklist / whitelist
filter:
# Make it false to disable these features otherwise make it true to enable it (Default: false)
enabled: false
# Make it false to make it "whitelist", make it true to make it "blacklist" (Default: true)
# whitelist will block all items but only allow duplicating items in the items list.
# blacklist will allow all items but block duplicating items in the items list.
# Enabled must be true
mode: blacklist
# Checks Shulker Boxes when duplicating items (Default: true)
shulkerbox: true
# Checks Bundles when duplicating items (Default: true)
bundle: true
# Add or remove items to either block (blacklist) or allow (whitelist) them from being duped, also do not include spaces. (NO: "diamond block" YES: "diamond_block")
# Begin the item's id with minecraft: to check the item's type only, it will ignore if the item is part of a custom plugin. (Default: - minecraft:barrier)
# itemsadder:namespace:id
# oraxen:id
# nexo:id
# minehutcosmetics:namespace:id
items:
- minecraft:barrier
# Settings for the cooldown of /dupe
cooldown:
# Make it false to disable the cooldown, make it true to enable it. (Default: false)
enabled: false
# How many seconds for the cooldowns to be. (Default: 3)
seconds: 3
# Make it true if you want players with the permission to ignore the cooldown, make it false if you want everyone to have cooldown. (Default: true)
# Permission: dupeplus.cooldown
permission: true
# Settings for this (ignore if you don't want this) players can still run /dupe
# /dupe <multiplier>
multiplier:
# Make it false to disable this feature, make it true to enable this feature (Default: false)
enabled: false
# Set it to 0 to disable multiplier for the group (Default: 5) (Recommended: 5)
# Permission to let a player/group have no maximum regardless of this option: dupeplus.multiplier.max.unlimited
# dupeplus.multiplier.max.<name>
max:
pro: 5
vip: 3
default: 2 # Default permission or players without the permission who are using the dupe multiplier feature.
# 0 for no minimum amount for the multiplier the player can run (Default: 0) (Recommended: 0)
# Permission to let a player/group have no minimum regardless of this option: dupeplus.multiplier.min.unlimited
# It is recommended to just keep this at 0
min: 0
# Instead of sending the dupe message for every time it duplicates, it sends it one time to stop spam. (Default: true)
one-time-message: true
# Make it false to let everyone allowed to use this feature. (Default: false)
# Permission: dupeplus.times or dupeplus.multiplier
permission: false
# Adds lore to the duplicated item.
lore:
# Enables or disables this feature. (Default: false)
enabled: false
# The lore added to the duplicated item. (Default: "<dark_red>*</dark_red> <red>Duplicated Item</red>")
text: "<dark_red>*</dark_red> <red>Duplicated Item</red>"
# The modes on how the plugin will add the lore. (Default: set)
# append: Checks if the dupe lore exists or not, if it doesn't exist then it adds after the last lore or just adds the lore if no lore is present.
# set: Checks if the dupe lore exists or not, if it doesn't exist then it will replace the existing lore with the dupe lore, otherwise it just ignores. (Recommended)
mode: set
# Make it false to always add/set the lore to the duplicated item regardless of the player's permission to use this feature or not, make it true to not add the lore if the player doesn't have the permission. (Default: false)
# Permission: dupeplus.lore
permission: false
# Plays the set sound whenever you use /dupe
# Permission: dupeplus.sound
sound-feedback:
# Enables or disables this feature. (Default: false)
enabled: false
# The Minecraft sound category used to play the sound. (Default: master)
# Acceptable Values: master, music, record, weather, block, hostile, neutral, player, ambient, voice
category: master
# The sound used whenever the player uses /dupe. (Default: "minecraft:block.amethyst_block.chime")
sound: "minecraft:block.amethyst_block.chime"
# The volume of the sound played to a player whenever they use /dupe. (Default: 1)
volume: 1
# The pitch of the sound played to a player whenever they use /dupe. (Default: 1)
pitch: 1
# Make it false to let everyone allowed to use this feature. (Default: false)
# Permission: dupeplus.sound
permission: false
# Deducts money from the player whenever they use /dupe
# Permission: dupeplus.bypasseconomy
economy:
# Enables or disables this feature. (Default: false)
# Note: You must have Vault installed and must set vault in integrations to true if you are going to use this feature.
enabled: false
# Whenever the player does /dupe <multiplier>, should it deduct from the player once or every time? (Default: true)
charge-per-dupe: true
# The price that deducts from the player whenever they use /dupe (Default: 25)
# Setting this to 0 will not deduct anything from the player.
# Do not use negative numbers
price: 25
# Make it false to make everyone pay to use /dupe. (Default: false)
# Permission: dupeplus.bypasseconomy
permission: false
dupeplus:
# Enables the aliases: /dupefilter, /dupeunblock, /dupeblock (Default: false)
# Server restart required for this to take effect.
shorthand-commands: false
# The Integrations that this plugin connects with.
# Must restart server for the changes to apply (Also the plugin must already be installed)
# If you notice any issues, then please create an issue in GitHub (meme20200/dupeplus)
integrations:
# Enables PlaceholderAPI Integration (Default: true)
placeholderapi: true
# Enables VaultAPI Integration (Required if economy feature is enabled) (Default: true)
vault: true
# Checks for updates using the set API (Modrinth or SpigotMC),
updates:
# Checks on startup for updates, disable if you do not wish to update DupePlus.
enabled: true
# Which Service should the Check Update use? (Default: Modrinth)
# Modrinth
# SpigotMC
api: Modrinth
notify:
# Notify players with the permission to update the plugin to the latest version.
player-notify: true
# Send message to the console for the server owner to update the plugin.
console-notify: true
# The message sent to the console (Default: "<prefix> | Update DupePlus at <link>")
# Allowed message variable: <link>, <currentversion>, <newversion>
console-notify-message: "Update DupePlus at <link>"
# Don't edit this
# Previous: 1.4.3
# config-version: 1.5
config-version: 1.5
Statistics
下载 DupePlus
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DupePlus
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DupePlus
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DupePlus
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DupePlus
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DupePlus
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DupePlus
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DupePlus
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DupePlus
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DupePlus
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
如果您在使用该插件时遇到任何问题,或希望请求添加新功能,请前往 DupePlus GitHub 仓库 Issue 进行反馈。
不再有像 1.4.2 版本中那样的独立构建选项(BUNDLES/NOBUNDLES)。它现在使用更简单的方法来检查是否为捆绑包。
下载量超过 35,000 次!🎉
我感到非常惊讶。大量的下载量极大地鼓励并激励我不断改进此插件。感谢所有正在使用此插件的服务器管理员,我希望 DupePlus 能永久存在于您的服务器中。
此次新更新适用于所有服务器管理员使用。
Discord 服务器!
一个全新的 Discord 服务器,专为所有使用 DupePlus 的特殊服务器管理员设立。
Minecraft 版本 (1.13.2+)
DupePlus 现在支持从 1.13.2 到最新版本 的服务器版本!这难道不令人惊叹和疯狂吗?
代码仓库
- 代码仓库现在包含建议模板。您可以在这里提出关于 DupePlus 的想法、功能或其他相关建议……如果是 Bug,则必须使用 Bug 模板。
- 将添加一名代码审查员来检查任何错误,并可能进一步优化该插件。
- 大幅更新了
README.md。现在详细说明了如何自行构建 DupePlus 插件。
注释
代码库现在包含 JavaDocs,以便任何开发人员阅读和理解代码逻辑。我希望这能鼓励开发人员为此出色的插件做出贡献;无论贡献大小,在这里都备受赞赏和鼓励。
文档
DupePlus 现在拥有专门的文档,详细说明了插件中的所有功能并提供示例。在为您服务器定制 DupePlus 时,建议您使用它。
文档详细介绍了每个配置部分、命令和权限,并配有示例和正确的语法。
重大优化
DupePlus 已针对可读性和最重要的性能进行了大量优化。它在运行时速度极快且占用内存极少。我们利用了 PaperMC 服务器和许多其他 Paper 分支已安装的 Fastutil 库;如果未安装,它将自动下载并加载 Fastutil,以确保您的防刷体验流畅运行。请放心,如果无法使用 Fastutil,它将回退到 Java HashMaps。
配置菜单
DupePlus 现在拥有配置菜单(使用虚拟箱子)。您现在可以在游戏内编辑配置,而无需每次更改后退出游戏或重新加载 DupePlus。由于配置现在保存为对象而非每次都读取配置文件,因此速度甚至极快。

自定义 NBT 物品功能
您现在可以编辑被阻止的标签,而不是默认的 "dupenotallowed"。插件现在可以检查手持物品是否被 DupePlusPlus 阻止。
dupe:
...
# 检查物品是否具有 "dupenotallowed" 的 NBT 标签。如果有,则不会复制该物品。
custom-nbt-item:
# 将其设置为 false 以禁用自定义 NBT 功能,设置为 true 以启用它(默认值:true)
enabled: true
# 用于检查物品是否包含该标签的标签名。(默认值:"dupenotallowed")
tag: "dupenotallowed"
...
语言
config.yml 中的所有消息已移至 lang/<locale>.yml,以便服务器管理员更容易为使用不同 Minecraft 语言的玩家(例如 en_us、es_es、fr_fr、tr_tr、da_dk)设置不同的消息。
例如,使用英语的玩家在与 DupePlus 交互时收到的消息将与使用西班牙语的玩家不同。
config.yml
这对于从旧版 DupePlus 迁移到 1.5 版本的服务器管理员来说非常重要
config.yml 进行了大规模重构,以减少混淆并提高清晰度。当您升级到 1.5 并希望旧配置继续工作时,请遵循以下说明:
将 blacklist/list 移动到 filter:
- 您必须将所有旧配置中的选项移动到新版配置中的正确选项位置。
blacklist现在变为mode,如果之前是 true,则输入blacklist,否则输入whitelist。itemsadder-namespaces现在位于items下。您需要对命名空间中的所有物品使用itemsadder:<namespace>:*,或对特定 ItemsAdder 物品使用itemsadder:<namespace>:<id>,对所有 ItemsAdder 物品使用itemsadder:*。
将 times 移动到 multiplier:
- 您必须将所有旧配置中的选项移动到新版配置中的正确选项位置。
- 您可以这样将最大值复制到 max 中: OLD
max-values:
pro: 10
vip: 8
default: 5
NEW
max:
pro: 5
vip: 3
default: 2
过滤器
黑名单经历了快速重构,现在提供了增强的支持。DupePlus 已修改为检查其 NBT 数据,而不是依赖某个库。 支持的插件:
- ItemsAdder
- Oraxen
- Nexo
- Minehut Cosmetics
Gradle
DupePlus 现在使用 Gradle 代替 Maven。这对服务器管理员没有任何影响,但构建 JAR 文件的速度会更快。
简写命令
您现在可以禁用简写命令 ()
26.3 支持 (@ichbrauchhilfe187-gif 的 Issue)
DupePlus 现在支持 26.3,因为之前由于命令库的原因导致在 26.3 上崩溃;不过现在已修复,DupePlus 将在 26.3 上正常工作。 更新了 Cloud Command Framework 库到最新版本以修复错误。
新增内容:
- 建议性问题模板
/dupefilter-
dupeplus: # 启用别名命令:/dupefilter, /dupeunblock, /dupeblock(默认值:false) # 需要重启服务器才能生效。 shorthand-commands: false - 用于冷却时间和倍数最大值的 Fastutil 库
- AnvilGUI 用于配置菜单
- bobhenl 添加到
plugin.yml和paper-plugin.yml的贡献者部分,你可以在/version DupePlus中查看 - 配置菜单
- ConfigManager
- 更多按钮在过滤子菜单中(游戏内物品过滤菜单)
- 行为准则(GitHub 仓库)
- 贡献指南(GitHub 仓库)
- 现代模块(由于缺失或字节码版本高于服务器支持范围可能导致插件崩溃的库)
- 共享模块(为现代模块和主模块提供类,避免相互依赖导致问题)
libs.versions.toml更方便地更新库
变更
- 默认情况下将消息移至
lang/en_us.yml。 - 在过滤物品中将 itemsadder-namespace 改为
itemsadder:<namespace>。 - Java 17 改为 Java 11 以支持更多 Minecraft 服务器版本。
- 弃用 Configyml 中的许多函数
- 升级 JSON 库
- 升级主要的 FastStats 库(在现代模块中,因为它使用 Java 17,只能在 Java 17+ 上运行)
- 升级 Cloud Command Framework 库
- 升级 Item NBT API 库
- 升级 bStats 库
- 升级 SpigotMC 库
- 添加 authlib 支持(仅编译时)
- 更改 plugin yml 以支持 1.13.2 及以上版本
- README.md
- LICENSE(简单修改)
- Maven 迁移到 Gradle
移除:
- itemsadder-namespace
- 所有来自
config.yml的消息,但现在默认位于lang/en_us.yml。 - ItemsAdder 库
- 未使用的导入
如果您在使用该插件时遇到任何问题,或希望请求添加新功能,请前往 DupePlus GitHub 仓库 Issue 进行反馈。
不再有像 1.4.2 版本中那样的独立构建选项(BUNDLES/NOBUNDLES)。它现在使用更简单的方法来检查是否为捆绑包。
下载量超过 35,000 次!🎉
我感到非常惊讶。大量的下载量极大地鼓励并激励我不断改进此插件。感谢所有正在使用此插件的服务器管理员,我希望 DupePlus 能永久存在于您的服务器中。
此次新更新适用于所有服务器管理员使用。
Discord 服务器!
一个全新的 Discord 服务器,专为所有使用 DupePlus 的特殊服务器管理员设立。
Minecraft 版本 (1.13.2+)
DupePlus 现在支持从 1.13.2 到最新版本 的服务器版本!这难道不令人惊叹和疯狂吗?
代码仓库
- 代码仓库现在包含建议模板。您可以在这里提出关于 DupePlus 的想法、功能或其他相关建议……如果是 Bug,则必须使用 Bug 模板。
- 将添加一名代码审查员来检查任何错误,并可能进一步优化该插件。
- 大幅更新了
README.md。现在详细说明了如何自行构建 DupePlus 插件。
注释
代码库现在包含 JavaDocs,以便任何开发人员阅读和理解代码逻辑。我希望这能鼓励开发人员为此出色的插件做出贡献;无论贡献大小,在这里都备受赞赏和鼓励。
文档
DupePlus 现在拥有专门的文档,详细说明了插件中的所有功能并提供示例。在为您服务器定制 DupePlus 时,建议您使用它。
文档详细介绍了每个配置部分、命令和权限,并配有示例和正确的语法。
重大优化
DupePlus 已针对可读性和最重要的性能进行了大量优化。它在运行时速度极快且占用内存极少。我们利用了 PaperMC 服务器和许多其他 Paper 分支已安装的 Fastutil 库;如果未安装,它将自动下载并加载 Fastutil,以确保您的防刷体验流畅运行。请放心,如果无法使用 Fastutil,它将回退到 Java HashMaps。
配置菜单
DupePlus 现在拥有配置菜单(使用虚拟箱子)。您现在可以在游戏内编辑配置,而无需每次更改后退出游戏或重新加载 DupePlus。由于配置现在保存为对象而非每次都读取配置文件,因此速度甚至极快。

自定义 NBT 物品功能
您现在可以编辑被阻止的标签,而不是默认的 "dupenotallowed"。插件现在可以检查手持物品是否被 DupePlusPlus 阻止。
dupe:
...
# 检查物品是否具有 "dupenotallowed" 的 NBT 标签。如果有,则不会复制该物品。
custom-nbt-item:
# 将其设置为 false 以禁用自定义 NBT 功能,设置为 true 以启用它(默认值:true)
enabled: true
# 用于检查物品是否包含该标签的标签名。(默认值:"dupenotallowed")
tag: "dupenotallowed"
...
语言
config.yml 中的所有消息已移至 lang/<locale>.yml,以便服务器管理员更容易为使用不同 Minecraft 语言的玩家(例如 en_us、es_es、fr_fr、tr_tr、da_dk)设置不同的消息。
例如,使用英语的玩家在与 DupePlus 交互时收到的消息将与使用西班牙语的玩家不同。
config.yml
这对于从旧版 DupePlus 迁移到 1.5 版本的服务器管理员来说非常重要
config.yml 进行了大规模重构,以减少混淆并提高清晰度。当您升级到 1.5 并希望旧配置继续工作时,请遵循以下说明:
将 blacklist/list 移动到 filter:
- 您必须将所有旧配置中的选项移动到新版配置中的正确选项位置。
blacklist现在变为mode,如果之前是 true,则输入blacklist,否则输入whitelist。itemsadder-namespaces现在位于items下。您需要对命名空间中的所有物品使用itemsadder:<namespace>:*,或对特定 ItemsAdder 物品使用itemsadder:<namespace>:<id>,对所有 ItemsAdder 物品使用itemsadder:*。
将 times 移动到 multiplier:
- 您必须将所有旧配置中的选项移动到新版配置中的正确选项位置。
- 您可以这样将最大值复制到 max 中: OLD
max-values:
pro: 10
vip: 8
default: 5
NEW
max:
pro: 5
vip: 3
default: 2
过滤器
黑名单经历了快速重构,现在提供了增强的支持。DupePlus 已修改为检查其 NBT 数据,而不是依赖某个库。 支持的插件:
- ItemsAdder
- Oraxen
- Nexo
- Minehut Cosmetics
Gradle
DupePlus 现在使用 Gradle 代替 Maven。这对服务器管理员没有任何影响,但构建 JAR 文件的速度会更快。
简写命令
您现在可以禁用简写命令 ()
26.3 支持 (@ichbrauchhilfe187-gif 的 Issue)
DupePlus 现在支持 26.3,因为之前由于命令库的原因导致在 26.3 上崩溃;不过现在已修复,DupePlus 将在 26.3 上正常工作。 更新了 Cloud Command Framework 库到最新版本以修复错误。
新增内容:
- 建议性问题模板
/dupefilter-
dupeplus: # 启用别名命令:/dupefilter, /dupeunblock, /dupeblock(默认值:false) # 需要重启服务器才能生效。 shorthand-commands: false - 用于冷却时间和倍数最大值的 Fastutil 库
- AnvilGUI 用于配置菜单
- bobhenl 添加到
plugin.yml和paper-plugin.yml的贡献者部分,你可以在/version DupePlus中查看 - 配置菜单
- ConfigManager
- 更多按钮在过滤子菜单中(游戏内物品过滤菜单)
- 行为准则(GitHub 仓库)
- 贡献指南(GitHub 仓库)
- 现代模块(由于缺失或字节码版本高于服务器支持范围可能导致插件崩溃的库)
- 共享模块(为现代模块和主模块提供类,避免相互依赖导致问题)
libs.versions.toml更方便地更新库
变更
- 默认情况下将消息移至
lang/en_us.yml。 - 在过滤物品中将 itemsadder-namespace 改为
itemsadder:<namespace>。 - Java 17 改为 Java 11 以支持更多 Minecraft 服务器版本。
- 弃用 Configyml 中的许多函数
- 升级 JSON 库
- 升级主要的 FastStats 库(在现代模块中,因为它使用 Java 17,只能在 Java 17+ 上运行)
- 升级 Cloud Command Framework 库
- 升级 Item NBT API 库
- 升级 bStats 库
- 升级 SpigotMC 库
- 添加 authlib 支持(仅编译时)
- 更改 plugin yml 以支持 1.13.2 及以上版本
- README.md
- LICENSE(简单修改)
- Maven 迁移到 Gradle
移除:
- itemsadder-namespace
- 所有来自
config.yml的消息,但现在默认位于lang/en_us.yml。 - ItemsAdder 库
- 未使用的导入
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
使床在所有维度中爆炸的模组
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧