Polymart is now Voxel Shop! We're upgrading many features of the site, and during this open beta you will experience occasional bugs. Learn more  
Drag and Drop icon

Drag and Drop v2.1

Enchant and Upgrade items

attachment.png


dad.png


StieB.gif


 


Commands



/dad help:

  • Description: Provides assistance and displays helpful information about the plugin.
  • Permission: No specific permission required.


/dad reload:

  • Description: Reloads the configuration settings for the plugin.
  • Permission: draganddrop.reload


/dad give <item> <amount> [player]:

  • Description: Gives the specified item in the specified amount to the player. If [player] is provided, the item is given to that player; otherwise, it defaults to the command executor.
  • Permission: draganddrop.give


/dad list:

  • Description: Lists all available custom items configured in the plugin.
  • Permission: draganddrop.list

 


Dependencies



PlaceholderAPI | Not required



 


Config


  bookofswords:
name: '&8[&d✫&8] &f&lBook of &b&lSwords'
lore:
- ''
- '&f┃ &6Drag and Drop onto &aANY SWORD &6to apply:'
- ''
- '&f┃ &7Sharpness VII'
- '&f┃ &7Smite VI'
- '&f┃ &7Sweeping edge V'
material: ENCHANTED_BOOK
glow: false
# 0 for disabled | Model data of this item
custom-model-data: 0
# Enchantments which should be added to the target item when applied. The format is 'enchantment level:max-level'
enchantments:
- 'sharpness 7:10'
- 'smite 6:20'
- 'sweeping_edge 5'
# Should the plugin check for conflicts between enchantments? Example: Item has Sharpness 5 and you apply Smite 3 from the book. If this is true, the plugin will block the application of Smite 3.
enchantments-conflict-check: false
# Should the same types of enchantments on an item be summed up? Example: Item has Sharpness 5 and you apply Sharpness 3 from the book. If this is true, the item will have Sharpness 8 after applying the book.
sum-existing-enchantments: false
# Should the same types of enchantments on an item be summed up like in vanilla?
# Example: Item has Sharpness 3 and you apply Sharpness 3 from the book. If this is true, the item will have Sharpness 4 after applying the book.
# It blocks application of enchantments with higher levels than the existing ones.
# It will only work if sum-existing-enchantments is set to true
sum-existing-enchantments-like-in-vanilla: false
# Attributes which should be added to the target item when applied
#https://hub.spigotmc.org/javadocs/spigot/org/bukkit/attribute/Attribute.html
# Equipment slots: HAND, OFF_HAND, FEET, LEGS, CHEST, HEAD
attributes:
- 'GENERIC_MAX_HEALTH 10:HAND'
# 0 for disabled | Make the item change model data when applied
changed-model-data: 0
# NBT which should be added to the target item when applied
nbt-added-to-item-when-applied: ''
can-be-applied-to-damaged-item: true
can-be-applied-to-unbreakable-item: true
# 0 for disabled | -1 to make the item unbreakable | Repair amount
repair-amount: 0
commands:
- 'say Player %player% successfully applied Book of Swords onto %item%'
lore-added-to-item-when-applied:
- ''
- '&f┃ &7Sharpness VII'
- '&f┃ &7Smite VI'
- '&f┃ &7Sweeping edge V'
# WHITELIST or BLACKLIST or DISABLED
allowed-items-mode: WHITELIST
allowed-items:
# The number 10 means that to the item will be added model data number 10 (It has higher priority than setting changed-model-data)
- 'DIAMOND_SWORD:10'
- 'IRON_SWORD'
- 'NETHERITE_SWORD'
- 'WOODEN_SWORD'
- 'GOLDEN_SWORD'
- 'STONE_SWORD'
can-be-combined-into: ''

 


If you have any problems or questions regarding this plugin. Feel free to contact me.


 


If necessary, I also have a minified version available for minecraft version 1.8.8.


 


Use release 2.0 for 1.20.x
Use the latest release for 1.21.x


attachment.png

Sign in
$7.99 USD
Sign in to purchase, save this product to your cart, and keep downloads tied to your account.
Stripe

custom

item

drag

and

drop

enchant

modifier

plugin

upgrade

tools

enchanting

inventory

enchanted

books

anvil