To get support, please use this online support system.

This plugin allows a player to have a tool which automatically morph into a tool most suited to your action.
 
  • mining -> item will be switch to PickAxe
  • excavating -> item will be switch to Spade
  • woodcutting -> item will be switch to Axe
  • fighting/cobweb -> item will be switch to Sword.

Depending on the permission, type of tool will be determined.  Which type yield what type of tools can be configured in the config file.  A sample configuration is attached at the bottom:

Demo: (by @ThePurpleHoser)




Commands:

  • /morph help : displays the help menu
  • /morph : toggles your tool morphing function.
  • /morph info : displays your current morphing status
  • /morph name <toolname> : names the currently holding morphing tool.
  • /morph give <player> <amount> [name:custom_name] : give <player> <amount> of morph tool

Permissions:

  • morphtool.toggle : allow a user to use /morph command to toggle morphing function as well as /morph name command.
  • morphtool.<set_name> : allow a user to have an access to <set_name> morphing tools.  For example, to give a user an access to DIAMOND set, give him/her "morphtool.DIAMOND.

Installation:
Just install MorphTool.jar in the plugins folder. Then you can either "restart the server" or "reload the plugin".

Configuration:

# This is a template config file
# define your parameter and its value like:
error_msg : "&c[Morph] : Some error occured."
Messages:
  MorphOn: "&a[Morph] Tool morphing is turned on!"
  MorphOff: "&a[Morph] Tool morphing is turned off!"
  MorphStatus: "&a[Morph] Your current MorphTool is %mode%!"

HelpMessages:
  banner:
    msg: "=== &e[&aMorphTool Commands List (%version%)&e] &r==="
  help:
    msg: "&a/morph help : display this help menu."
  toggle:
    msg: "/morph: toggles the morph mode."
    premission: "morphtool.toggle"
  give:
    msg: "/morph give <player> <amount> [name:custom_name]: give <player> <amount> of morph tool with an optional custom_name."
    permission: "morphtool.give"
  info:
    msg: "/morph info : display your current MorphTool status."
  name:
    msg: "/morph name <toolname> : name the currently holding morph tool as <toolname>."
    premission: "morphtool.toggle"
  reload:
    msg: "&a/morph reload : reloads config.yml."
    permission: "morphtool.reload"
  debug:
    msg: "&a/morph debug <true|false> : turn on / off the debug mode."
    permission: "morphtool.debug"

# adjust these event priority if those event processes from this plugin
# interfere with other plugins' event processes.
EventPriorityMap:
  PlayerQuitEvent: "HIGHEST"
  PlayerInteractEntityEvent: "NORMAL"
  PlayerInteractEvent: "HIGHEST"
  BlockDamageEvent: "HIGHEST"
  EntityDamageByEntityEvent: "HIGHEST"

#if tool based is true, you need to issue Morph tool with /morph give <player> <amount>
# if tool base is false, anyone who has mrophtool.toggle permission can toggle his/her morph.
tool_based: true
default_item: FISHING_ROD

# if this option is true, a player can toggle too morphing with
# /morph
toggle: true

# if this option is true, (by default it is "true"), when you right click sheep and mushroomcow
# the tool will turn into shears
shears: true

# tools will be search in the following order atains the nominated block material.
# if you want DIRT, GRASS, GRASs_BLOCK/PATH to trigger a hoe, you should move HOE
# to above SHOVEL.
tool_search_order:
  - AXE
  - PICKAXE
  - SHOVEL
  - SWORD
  - HOE
  - SHEARS

# to use each set, a player must have a permission node :
# morphtool.<setname> such ase morphtool.WOOD, morphtool.STONE
Sets:
  WOOD:
    axe: WOOD_AXE
    pickaxe: WOOD_PICKAXE
    sword: WOOD_SWORD
    spade: WOOD_SPADE
    hoe: WOOD_HOE
  STONE:
    axe: STONE_AXE
    pickaxe: STONE_PICKAXE
    sword: STONE_SWORD
    spade: STONE_SPADE
    hoe: STONE_HOE
  IRON:
    axe: IRON_AXE
    pickaxe: IRON_PICKAXE
    sword: IRON_SWORD
    spade: IRON_SPADE
    hoe: IRON_HOE
  GOLD:
    axe: GOLD_AXE
    pickaxe: GOLD_PICKAXE
    sword: GOLD_SWORD
    spade: GOLD_SPADE
    hoe: GOLD_HOE
  DIAMOND:
    axe: DIAMOND_AXE
    pickaxe: DIAMOND_PICKAXE
    sword: DIAMOND_SWORD
    spade: DIAMOND_SPADE
    hoe: DIAMOND_HOE
  NETHERITE:
    axe: NETHERITE_AXE
    pickaxe: NETHERITE_PICKAXE
    sword: NETHERITE_SWORD
    spade: NETHERITE_SPADE
    hoe: NETHERITE_HOE