White List - Allow player dismant items which is listed in white list. - Toggle feature to switch on/off black list
- Only items in white list can be dismantled , otherwise indismantable. **Notice: you cannot toggle White List and Black List together , it's cause bugs. Black List - Allow admin ban items that you don't want player dismant it. - Toggle feature to switch on/off black list - Only items in black list can't be dismantled , otherwise dismantable **Notice: you cannot toggle White List and Black List together , it's cause bugs. Durability - Toggle feature to switch on/off durability when dismant items. Enchantment Ignore Mode - Allow admin set ignore mode on items. - Toggle feature to switch on/off. - Only items in ignore list can be ignored , otherwise not - If ignore list is empty or not set , plugin will set ignore mode to all items in server. Restrict Mode - Allow admin set enchantment restrict on items when dismant. - Toggle feature to switch on/off. - Enchantment level will in range of min and max in config. **Notice: min level must be greater than 0 , if not restrict mode won't active. Enchanted Book - Enchantments on item will transfer to enchanted book base on enchantment name and level on item. - This feature just apply for Vanilla enchantment , if you're using otther Custom Enchantment plugin , please contact me via Discord and i will add it's API to my plugin for your needs.
Durability - I have misunderstand about Durability so this will be fixed in this update - Fix message and placeholders. - Fix permissions. - Fix commands. - Fix player's log when dismant items.
Code (YAML):
#With item have durability # %damagedValue%: amount damaged of your item. # %current_percent%: transfer amount damaged of your item to percent "Dismant success %item% x%item_amount% (%damagedValue%/%current_percent%)"
#With item have no durability "Dismant success %item% x%item_amount%"
Member /dismantle help: display help message again. (no perm) /dismantle whitelist: check dismantable items. (no perm) /dismantle blacklist: check indismantable items. (no perm) /dismantle enchant ignorelist: check ignore items. (no perm) /dismantle enchant restrict: check for restrict requirement to dismant items (no perm) /dismantle durability: check for durability requirement to dismant items. (no perm) Staff/GM (Require permission itemdismantle.help) /dismantle reload: reload configuration. (itemdismantle.reload) /dismantle version: check for update and version (itemdismantle.version) /dismantle help: display advanced help message. (itemdismantle.help) /dismantle whitelist: check dismantable items. (no perm) /dismantle blacklist: check indismantable items. (no perm) /dismantle enchant ignorelist: check ignore items. (no perm) /dismantle enchant restrict: check for restrict requirement to dismant items (no perm) /dismantle durability: check for durability requirement to dismant items. (no perm)
Code (YAML):
#Allow items in this list can be dismantled. (ignore capitalization) #Only items that listed below can be dismantled, # otherwise indismantable (different with blacklist) #If black list and white list has the same toggle status # player can"t use Dismantle Workbench (prevent bugs) , otherwise not #List of available item: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html whitelist:
toggle: false
items: #- example_item
Code (YAML):
#Disable items that you don"t want dismant it. (ignore capitalization) #Only items that listed below can"t be dismantled, # otherwise dismantable (different with whitelist) #If black list and white list has the same toggle status #player can"t use Dismantle Workbench (prevent bugs) , otherwise not #List of available item: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html blacklist:
toggle: false
items: #- example_item
Code (YAML):
enchantment: #Ignore is that item will be dismantled without enchanted book include # • enable: toggle ignore mode (default is false) # • items: list of items will be ignored , if it"s empty # then plugin will ignore all item in server ignore:
toggle: false
items: #- example_item
Code (YAML):
enchantment: #Restriction of enchantment on item #- If item has enchantment"s level run out of [min-max] range #this item can"t be extract. # • enable: false (default , you can change it) # • min: minimum level of enchantment. (default is 2) # • max: maximum level of enchantment. (default is 99999) #Min level must be greater than 0 or restriction will not active restrict:
toggle: false
min: 1
max: 99999
Code (YAML):
message:
version-check:
- "&6Current version: &a%version%" - "&6Latest version: &c%latest%" no-perm-command: "&cYou don't have &6%perm% &cto use that command." same-toggle: "§3Black List &cand &bWhite List &cis enable together , contact GM to disable one." white-list:
check:
- "&6Status: %boolean%" -
"&6Total &b%amount% &adismantable &6items:" not-exist: "&cItem &6%name% &cisn't in white list" black-list:
check:
- "&6Status: %boolean%" -
"&6Total &b%amount% &aindismantable &6items:" exist: "&cItem &6%name% &cis prohibited in black list" ignore-list:
check:
- "&6Status: %boolean%" -
"&6Total &b%amount% &aignore &6items:" exist: "&cItem &6%name% &cwas in ignore-list so you didn't get enchanted book when dismant." enchant-restrict:
- "&6Status: %boolean%" -
"&6Enchantment level must be in range &a[%min%-%max%]" durability:
- "&6Status: %boolean%" - "&6Percent to dismant: &a%percent%"