1.12.2 Adding custom NBT to map at creation

Discussion in 'Spigot Plugin Development' started by dmmk218, Jan 28, 2020.

  1. Hey everyone,

    I'm trying to find out some things about maps. I want to add some custom NBT tags to a card at the creation to provide some sort of copy protection. I've already disabled the ability to clone them in a crating table. But I still didn't found any clean workaround for this. Any suggestions what could be possible and how? Do I may need to fork spigot or is it possible to get there without it? I've tried some things with the interact event but this isn't triggered when right clicking so..., yeah thanks in advance :D
     
  2. From what I understand you're trying to make copy protection on items via NBT? Then you might want to review an old resource I made here.
     
  3. Yeah you're right. But the problem is to protect the cards at the creation. There is no way I've found to do this at creation. I just want to give map builders this advantage that no one can copy their work and you only can copy maps with an original card.

    EDIT: Editing NBT is not that hard I've done this before.