- Make item trade from villager indismantable (toggle on/off) .Turn on make item trade has lore "Indismantable" and it can't be dismantled in workbench and also player can't use shift-click when trading (i don't know why , will find out it next time ) - Item tag can be modify with whatever you want , plugin will automatic update item lore - You can also make item become indismantable by add this lore to item you want , otherwise remove this lore and item will be dismantled normally
- Customize auto-update time - Now , you don't have to reload plugin/server when ever you make change of this listed feature above , plugin will automatic load new value you set in config. - Please close dismantle workbench and re-open to make feature that listed above affect
When check auto-update is on
When check auto-update is off
- Fix some null error that happens when use dismantle workbench. - Fix message , debug line.
#Prevent player dismant item trade from villager (maybe it so op) #Some spigot users has report this to me #Toggle this will make every items trade from villager #has a hidden tag "villager_item" on it #and player is unable to dismant it #Default value is false if not set #Turn on "trade-villager: true" in update config before turn on this villager-item:
toggle: false
#Tag display on item when trade #You can also add lore manual with this tag #to make this item indismantable. tag: "&r&c[Indismantable]"
Code (YAML):
#Auto update of each feature #When you enable auto update , every children config #of this feature is also updated by the time. #When you turn off the update, any new values you set will not be displayed/changed #in the game (plugin still take the old value from config) unless you turn on #the update or reload server/plugin # • toggle: toggle auto update (default is true) # you can stop auto update by command. # • time: plugin will update every xx seconds. (default is 1 if not set) # • durability: toggle update durability feature. # • whitelist: toggle update whitelist. # • blacklit: toggle update blacklist. # • ignore: toggle update ignore list. # • restrict: toggle restrict requirement of enchant. #All default value is true if you not set for it. update:
toggle: true
time: 1
durability: true
whitelist: true
blacklist: true
ignore: true
restrict: true
trade-villager: true
Code (YAML):
update:
check:
- "○ &6Toggle: %toggle%" - "○ &6Update: %boolean%" - "○ &6Time: &a%sec%" - "• &bDurability: %dbStatus%" - "• &bWhite-list: %wlStatus%" - "• &bBlack-list: %blStatus%" - "• &bIgnore-list: %ignStatus%" - "• &bRestrict: %rstStatus%" - "• &bTrade-villager: %tvStatus%" start: "• &aAuto update enabled..." stop: "• &cDisabled auto update..."[/LEFT
] no-recipe: "• &cItem &6%name% x%amount% &cdon't have recipe to dismant or have been disabled (bamboo)." indismantable: "• &cItem that trade from villager can't be dismantled."