DupePlus

DupePlus

A Dupe Plugin /dupe on a item and it duplicates it.

8.0K
11
DupePlus Icon

GitHub bStats Issues

DupePlus

The best duplication plugin for your Dupe Server. DupePlus 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 send "/dupe" in chat!

Setup Guide

Installation

Download the plugin from the First Version in the Featured Versions or from the Versions Tab, next click Download and upload it to the /plugins folder in your Minecraft Server Files.

Configuration

The config file will be 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
# DupePlus's Settings
# Message Variables:
# <item_type> = The Duplicated item
# <item_name> = The Item's Display Name
# <old_item_count> = The Item Count before dupe
# <new_item_count> = The Item Count after dupe
# <item_count> = Item Count
# <prefix> = The default prefix or the prefix you set
# <max> = The maximum
# <min> = The minimum
# <world> = The world name
# <link> = Where you can download the new version
# <currentversion> = The current version installed in the server.
# <newversion> = The new version

# 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 the Plugin. Then create an issue in the GitHub Repository.
# https://github.com/meme20200/dupeplus/issues
dupe:
  # The prefix that is added before each message.
  prefix: "<green>DupePlus</green> <dark_gray>|</dark_gray>"

  # 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
  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

    # If the player tries to dupe in a blocked world. (Default: "<prefix> <dark_gray>|</dark_gray> <red>The world is banned from using /dupe!</red>")
    # Allowed message variable: <prefix>, <item_type>, <item_name>, <item_count>, <world>
    # Leave blank for no message
    blocked-message: "<prefix> <red>The world is banned from using /dupe!</red>"

    # Add or remove worlds to either block (blacklist) or allow (whitelist) it from players in the world from duping.
    worlds: []


  # Make it false to let everyone allowed to use this command (Default: false)
  # Permission: dupeplus.dupe
  permission: false


  # The message sent to the player when try to execute dupe or reloadconfig no permission (Only if the above is true) (Default: "<prefix> <dark_gray>|</dark_gray> <red>You are not allowed to use this command</red>")
  # Leave blank for no message
  permission-message: "<prefix> <red>You are not allowed to use this command</red>"

  # The message sent to the player when you duplicate an item. (Default: "<prefix> <dark_gray>|</dark_gray> <gray>Duped <item_name></gray>")
  # Allowed Message Variables: <prefix>, <item_type>, <item_name>, <old_item_count>, <new_item_count>
  message: "<prefix> <gray>Duped <white><item_name></gray>"

  # The message sent whenever the player tries to dupe nothing (Air) (Default: "")
  # Leave blank for no message
  duping-nothing-message: ""

  # Checks if the item has a NBT Tag of "dupenotallowed", if it has, 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

    # Allowed message variable: <prefix>, <item_type>, <item_name>, <item_count> (Default: "<prefix> <dark_gray>|</dark_gray> <red>The item is blocked from being duped!</red>")
    # Leave blank for no message
    blocked-message: "<prefix> <red>The item is blocked from being duped!</red>"


  # When using /dupe, in which hand will 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: "DupePlus | You can't do that!"

  # Settings for blacklist / whitelist
  list:
    # Make it false to disable these features, 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
    blacklist: true

    # Checks Shulker Boxes when duplicating items (Default: true)
    shulkerbox: true

    # If the player tries to dupe an item that is in the blacklist or the item is not in the whitelist (Default: "<prefix> <dark_gray>|</dark_gray> <red>The item is blocked from being duped!</red>")
    # Allowed message variable: <prefix>, <item_type>, <item_name>, <item_count>
    # Leave blank for no message
    blocked-message: "<prefix> <red>The item is blocked from being duped!</red>"

    # 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)
    # Begin the item's id with itemsadder: if you want to check if the item's itemsadder id, it will not check for the namespace.


    # You can use itemsadder:* to block all ItemsAdder items from being duplicated
    items:
      - minecraft:barrier


    # Add or remove specific itemsadder namespaces to either block (blacklist) or allow (whitelist) any items that is under those namespaces from being duplicated
    itemsadder-namespaces:
      - replace_me


  # 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

    # If the player tries to dupe while the cooldown is set. (Default: "<prefix> <dark_gray>|</dark_gray> <red>Please wait <duration>.</red>")
    # Allowed message variable: <prefix>, <duration>
    # Leave blank for no message
    wait-message: "<prefix> <red>Please wait <duration>.</red>"

    # 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: false)
    # Permission: dupeplus.cooldown
    permission: true


  # Settings for this (ignore if you don't want this) players can still run /dupe
  # /dupe <times>
  times:
    # Make it false to disable this feature, make it true to enable this feature (Default: false)
    enabled: false

    # Set it to 0 to disable the times  (Default: 5) (Recommended: 5)
    # Permission to let a player/group have no maximum regardless of this option: dupeplus.times.max.unlimited
    # dupeplus.times.max.<name>
    max-values:
      pro: 10
      vip: 8
      default: 5 # Default permission or players without the permission who are using the dupe times.

    # If the player puts the value above the maximum then what's the message? (Default: "<prefix> <dark_gray>|</dark_gray> <red>This is higher than maximum! Do something lower than <max></red>")
    # Allowed message variable: <prefix>, <max>, <min>
    # Leave blank for no message
    max-message: "<prefix> <red>This is higher than maximum! Do something lower than <max></red>"

    # 0 for no minimum amount of times the player can run (Default: 0) (Recommended: 0)
    # Permission to let a player/group have no minimum regardless of this option: dupeplus.times.min.unlimited
    # It is recommended to just keep this at 0
    min: 0

    # If the player puts the value below the minimum (Default: "<prefix> <dark_gray>|</dark_gray> <red>This is lower than minimum! Do something higher than <min></red>")
    # Allowed message variable: <prefix>, <max>, <min>
    # Leave blank for no message
    min-message: "<prefix> <red>This is lower than minimum! Do something higher than <min></red>"

    # 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 command (Default: false)
    # Permission: dupeplus.times
    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

# The Integrations that this plugin connects with.
# If you notice any issues then please create an issue in GitHub (meme20200/dupeplus)
integrations:
  # Enables ItemsAdder Integration (Default: true)
  itemsadder: true

  # Enables PlaceholderAPI Integration (Default: true)
  placeholderapi: 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.
  checkupdate: 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
    # The message sent to everyone who has the permission (Default: "<prefix> <dark_gray>|</dark_gray> <white><green>DupePlus</green> is outdated, please update at: <blue><link></blue>")
    # (Permission: dupeplus.updates.notify)
    # Allowed message variable: <prefix>, <link>, <currentversion>, <newversion>
    notify-message: "<prefix> <white><green>DupePlus</green> is outdated, please update at: <blue><link></blue>"

    # 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: <prefix>, <link>, <currentversion>, <newversion>
    console-notify-message: "DupePlus | Update DupePlus at <link>"

# Don't edit this
# Previous: 1.3
# config-version: 1.4
config-version: 1.4

Permissions

For Admins:

dupeplus.admin: /dupeplus

dupeplus.blocklist: /dupeplus blocklist (Opens a GUI)

dupeplus.admin.reload: /dupeplus reload (Reloads the configuration)

dupeplus.updates.notify: Notified about any DupePlus Updates.

dupeplus.block: /dupeplus block (Blocks the item you are holding from /dupe)

For Players:

(No maximum for /dupe [times]) dupeplus.times.max.unlimited: /dupe [times]

(No minimum for /dupe [times]) dupeplus.times.min.unlimited: /dupe [times]

(Must also have the dupeplus.times permission & must also be set in dupe.times.max-values in the config.yml) dupeplus.times.max.<name>: /dupe [times]

(dupe.permission must be set to true in the config.yml) dupeplus.dupe: /dupe

(both dupe.cooldown.enabled & dupe.cooldown.permission must be set to true) dupeplus.cooldown: /dupe

Features

  • (NEW) Blocklist GUI [Control the Blocklist of DupePlus easier in-game]
  • Custom Command [Rename "/dupe" into another command]
  • Undupeable Item [Make your item undupeable by adding a Custom NBT Tag "dupenotallowed"]
  • Update Checker [Get notified each restart whenever there's a new update for DupePlus]
  • Cooldown [Add a cooldown to /dupe]
  • Blacklist [Block items from being duped]
  • Times Support [Dupe the item several times.]
  • Dupe Hand [Change the item being duped, Off-hand dupe or Main-hand dupe]
  • Permission Dupe [Give certain groups or players /dupe by using a permission plugin like LuckPerms]
  • Message customisation [Customise the messages sent by the plugin, it's really useful for Servers that use, for example, Spanish as their language instead of English]

Note: If you want a feature to be added, then please request the feature in the GitHub Repository Issues.

Stats

bStats

DupePlus Statistics

Совместимость

Minecraft: Java Edition

1.20–1.21.111.18–1.19.41.17–1.17.1

Создатели

galaxydevel0per

galaxydevel0per

Владелец

Детали

Лицензия:MIT
Опубликован:2 года назад
Обновлён:1 неделю назад