你唯一需要的 /dupe(复制)插件。
DupePlus
专为你的复制服务器打造的顶级复制插件。DupePlus 是一个完全模块化的插件,允许你随意开启或关闭任何功能!DupePlus 还提供了一个用户友好的配置文件,其中包含注释,帮助你理解 YML 文件中每个部分的含义。只需在聊天中使用 "/dupe",即可轻松实现物品复制,让生存变得更容易!
高度优化、防漏洞的复制服务器插件,适用于专业的复制服务器或好友间的私人服务器。
DupePlus 主要专注于防止 /dupe 漏洞利用,支持许多自定义物品插件(如 ItemsAdder (itemsadder:id)),并注重代码可读性,方便任何人轻松贡献代码。
为什么要使用 DupePlus?
🏛️
黑名单 (或白名单)
阻止或允许特定物品的复制。 |
⚙️自定义命令
将默认的 /dupe 更改为你想要的任何名称! |
🔉声音反馈
当玩家复制物品时播放音效。 |
💰经济系统
让复制操作附带小额 或巨额 费用! |
还有许多其他实用功能等待你来发现!
注意:如果你希望添加某项功能,请在 GitHub 仓库的问题页面提出请求。
设置指南
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.
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!
Highly optimized, exploit-proof Dupe server plugin for your professional Dupe server, or your private server with your friend group.
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?
🏛️
Blacklist (or whitelist)
Block or allow certain items from being duplicated. |
⚙️Custom Commands
Change the default /dupe to whatever you want! |
🔉Sound Feedback
Play a sound to the player when they duplicate something. |
💰Economy
Make duplicating come with a small or huge cost! |
And many other helpful features waiting for you!
Note: If you want a feature to be added, then please request the feature in the GitHub Repository Issues.
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

评论 0
登录后参与评分
还没有评论,来抢沙发吧