This plugin along with the basic functionality of allowing players to dupe any item(s) using the /dupe command, also allows you to blacklist certain items from being duplicated.
There is also a cooldown feature, which allows you to set how many seconds a player must wait before duping. This can be easily configured, or disabled completely by setting the 'DupeCooldownSeconds' option to 0 in DupeSettings.yml.
To Do List:
- Add a configurable multiplier option, for example if this option is set to 50% it would give you half of what you already have. Meaning that if you had 10 apples and used the /dupe command when the option is set to 50% you would in return have 15 apples.
DupeSettings.yml
Code (YAML):
DupeCooldownSeconds
: 60.0
DisallowedItemTypes
:
- iron_block
- iron_ingot
- iron_nugget
- bedrock
- barrier
- shulker_box
- dragon_egg
- totem_of_undying
- nether_star
- wither_skeleton_skull
- end_crystal
- enchanted_golden_apple
- diamond
- diamond_block
- netherite_ingot
- netherite_block
- emerald
- enchanted_book
Messages.yml
Code (YAML):
DupeOutputs:
CannotDupeItem
: '&cThis item is not allowed to be duplicated.'
ItemDupeSuccessfulInInv
: '&3Item has been successfully duplicated. Check your inventory.'
ItemDupeSuccessfulInHand
: '&3Item has been successfully duplicated.'
NotEnoughSpace
: '&cPlease clear some space in your inventory before attempting to
duplicate this item.'
ReloadMessage
: '&3All config files have been reloaded'
NoPermissionMessage
: '&cYou don''t have permission to do that.'
Permissions:
Use the /dupe command:
dupe.use
Use the /dupe reload command to reload all yml config files:
dupe.reloadconfig