Code (YAML):
   
 
   
    
 
    # 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>"
    
 
    
   
    # 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> <dark_gray>|</dark_gray> <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> <dark_gray>|</dark_gray> <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> <dark_gray>|</dark_gray> <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> <dark_gray>|</dark_gray> <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 item duplication .
    
     
    # blacklist will allow all worlds but block /dupe in the worlds 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> <dark_gray>|</dark_gray> <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> <dark_gray>|</dark_gray> <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> <dark_gray>|</dark_gray> <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> <dark_gray>|</dark_gray> <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> <dark_gray>|</dark_gray> <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
    : 
    "<prefix> | Update DupePlus at <link>"
    
 
    
 
    # Don't edit this
    
 
    # Previous: 1.3
    
 
    # config-version: 1.4
    
 config-version
    : 1.4