Item Transformer

Discussion in 'Plugin Requests' started by vyrgax, Nov 4, 2019.

  1. Offline

    vyrgax

    Minecraft version: 1.13.2

    Suggested name: ItemTransformer

    What I want:
    A plugin which can change the durability of an item into another durability when right or left clicked/dropped (doesn't actually drop the item, just the key), which, when doing this, plays a sound in a radius.

    When holding an item with the correct conditions registered by the command, either right clicking, left clicking, or dropping (without dropping the item, just the key), would change the item durability to the durability registered. When this transformation happens, it'd play a sound in a 10 block radius as well. This sound can be edited in a configuration file.

    Dropping (again, not actually drops the item, just the key) this transformed item would revert the item's durability back to the original durability. Important is that this trigger only triggers when dropping; as right/left clicking would be needed to use that item otherwise (hitting, consuming, etc). Also, this action would have sound played as well, but a different sound than the activation, also editable in a configuration file.

    This plugin would be very handy for RPG server with a resourcepack with weapons such as retractable (samurai) swords or lightsabers, as the default durability could be the hilt , and the durability it transforms in the sword. Same goes for lightsabers; would make them detractable.

    Ideas for commands:
    /itr item {item:durability} {item-durability 2}

    Example: /itr item diamond_sword:10 diamond_sword:11
    When a player is holding a diamond sword with durability 10 (/give @p diamond_sword:10 1), and rightclicks/leftclicks/drops, it'd turn into a diamond sword with the durability 11.
    /itr remove {item:durability}
    Example: /itr remove diamond_sword:10
    This would remove the transformation bound to a diamond_sword with durability 10.}
    /itr list
    This would display all the current transformation items. This is not needed if the configuration file has all of them stored in it, or another seperate file.


    Ideas for permissions:
    itemtransformer.use
    When a player has this permission they can actually transform all registered items by using the triggers.
    itemtransformer.make
    Enables access to all the /itr commands

    When I'd like it by:
    Within the next 2 weeks?
     

Share This Page