Slash Dupe
A simple, configurable item duplication plugin.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
Slash Dupe
SlashDupe
Adds a configurable `/dupe` command that lets players duplicate the item currently in their hand.
Without any restrictions, item duplication can completely break your server's economy and progression. SlashDupe gives you full control — blacklist specific items, block or scan shulker boxes for blacklisted items, cooldowns between 2 dupes.
Features: - Duplicates the exact amount of the item in your hand - Configurable cooldown between uses - Full item blacklist to block specific materials from being duped - Shulker box protection — block all shulker duping or scan contents for blacklisted items - All messages customizable with color codes - Console logging of every dupe action - Live config reload via `/dupe reload`
Default Config.yml
```yaml
================================
SlashDupe Configuration
================================
settings:
Enable or disable /dupe entirely
enabled: true
Allow duping the item in offhand
allow_offhand: true
Max stack size override (-1 = Minecraft default)
max_stack_size: -1
Cooldown in seconds (0 = no cooldown)
cooldown: 5
Block duping shulker boxes entirely
true = shulker boxes cannot be duped at all
false = shulker boxes can be duped but contents are checked for blacklisted items
block_shulker_dupe: true
================================
Permission Defaults
================================
true = everyone can use
false = OP only
permission_defaults: dupe.use: true dupe.bypass.cooldown: false dupe.bypass.blacklist: false dupe.admin: false
================================
Permissions
================================
permissions: use: "dupe.use" bypass_cooldown: "dupe.bypass.cooldown" bypass_blacklist: "dupe.bypass.blacklist" admin: "dupe.admin"
================================
Blacklist
================================
blacklist:
Enable or disable the blacklist
enabled: true
Items that cannot be duped
Use Minecraft material names (all caps, underscores)
items: - BEDROCK - BARRIER - COMMAND_BLOCK - CHAIN_COMMAND_BLOCK - REPEATING_COMMAND_BLOCK - STRUCTURE_BLOCK - ELYTRA - TOTEM_OF_UNDYING
================================
Messages
================================
Supports & color codes
Placeholders: {player} {item} {amount} {cooldown}
messages: no_permission: "&cYou don't have permission to use this command." nothing_in_hand: "&cYou must be holding an item to dupe it." item_blacklisted: "&cThis item cannot be duped." shulker_blocked: "&cYou cannot dupe shulker boxes." shulker_contains_blacklisted: "&cThis shulker box contains a blacklisted item and cannot be duped." success: "&aSuccessfully duped &e{item}&a!" cooldown_active: "&cPlease wait &e{cooldown}s &cbefore duping again." inventory_full: "&cYour inventory is full!" plugin_disabled: "&cThe dupe command is currently disabled." reloaded: "&aSlashDupe config reloaded!"
================================
Logging
================================
logging:
Log every dupe action to console
log_to_console: true
Placeholders: {player} {item} {amount}
log_format: "[SlashDupe] {player} duped {item} x{amount}" ```