Name to NBT

Discussion in 'Plugin Requests' started by CryoCrafter, Sep 13, 2019.

Thread Status:
Not open for further replies.
  1. Plugin Name: NameToNBT

    Minecraft Version: 1.14.3

    Plugin purpose: Changing nbt of items depending on their display name (supporting colors)

    Commands: /ntn reload

    Permissions: ntn.reload - reload the plugin

    Plugin config:

    Code:
    Items:
      exampleitem:
        itemtype: "music_disc_13"
        displayname: "&7This Item is an example item"
        nbtchange:
          - CustomModelData:1
      exampleitem2:
        itemtype: "music_disc_13"
        displayname: "&7This Item is another example item"
        nbtchange:
          - CustomModelData:2
    

    What this config does:
    It checks all items the player has in its inventory for the name defined in the config and if it finds such, it changes the defined NBT data.

    If its faster for you, you would only have to do it for the "CustomModelData" NBT tag, as thats the only one I need

    Please make the plugin check for colors aswell, since otherwise users can just cheat the NBT tags using an anvil
     
Thread Status:
Not open for further replies.

Share This Page