Item with accessable hidden tags

Discussion in 'Plugin Development' started by jumbledProgram, Aug 30, 2020.

Thread Status:
Not open for further replies.
  1. Im trying to make it so that when i type /tnt <fuse> <explosion radius> it gives me an item that i can right click that spawns tnt wherever i look, but i dont know how i would "tag" this item the player is given, to make sure a player doesnt get the item without the command and to make sure that an item with the tags "tntCommand <fuse> <radius>" is different to an item with a different fuse and radius, i also want the items name to be
    "TNT : <Fuse>, <Radius>" Any advice helps :) - thanks!
     
  2. Online

    KarimAKL

    @jumbledProgram You could use NBTTags or lore for this. You could even use the name as you mentioned (if the players can't rename the item of course).
     
Thread Status:
Not open for further replies.

Share This Page