Code (YAML):
# The command's settings
# Message Variables
# %dupe_item% = The Duplicated item
# %prefix% = The default prefix or the prefix you set
# %max% = The maximum
# %min% = The minimum
# Use this website to help you customize your messages
# https://webui.advntr.dev
dupe
:
# The prefix for you to use
prefix
:
"<green>DupePlus</green>"
# 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>")
permission-message
:
"%prefix% <dark_gray>|</dark_gray> <red>You are not allowed to use this command</red>"
# Leave blank for no message (Default: "%prefix% <dark_gray>|</dark_gray> <gray>Duped %dupe_item%</gray>")
# Allowed Message Variables: %prefix%, %raw_dupe_item%, %dupe_item%
message
:
"%prefix% <dark_gray>|</dark_gray> <gray>Duped %dupe_item%</gray>"
# The message sent whenever the player tries to dupe nothing (Air) (Default: "")
# Leave blank for no message
duping-nothing-message
:
""
# 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
blacklist
:
# Make it false to disable the blacklist, make it true to enable it (Default: false)
enabled
: false
# If the player tries to dupe an item that is in (Default: "%prefix% <dark_gray>|</dark_gray> <red>The item is blocked from being duped!</red>")
# Allowed message variable: %prefix%, %dupe_item%
blocked-message
:
"%prefix% <dark_gray>|</dark_gray> <red>The item is blocked from being duped!</red>"
# Add or remove items to block them from being duped, also do not include spaces, for an example (NO: "diamond block" YES: "diamond_block")
items
:
- barrier
# Settings for the cooldown of /dupe
cooldown
:
# Make it false to disable the cooldown, make it true to enable it. (Default: false)
enable
: false
# How many seconds for the cooldowns to be.
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%
wait-message
:
"%prefix% <dark_gray>|</dark_gray> <red>Please wait %duration%.</red>"
# 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
# 0 for no maximum amount of times the player can run (Default: 5) (Recommended: 5)
# Permission to let a player/group have no maximum regardless of this option: dupeplus.times.max.unlimited
max
: 5
# 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%
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
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%
min-message
:
"%prefix% <dark_gray>|</dark_gray> <red>This is lower than minimum! Do something higher than %min%</red>"
# Make it false to let everyone allowed to use this command (Default: false)
# Permission: dupeplus.times
permission
: false
# 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.1
# config-version: 1.2
config-version
: 1.2