AmmoniumX / AdminShop

Admin Shop Minecraft Mod
GNU Lesser General Public License v2.1
4 stars 4 forks source link

Add Item NBT support for shop.csv #10

Closed AmmoniumX closed 1 year ago

AmmoniumX commented 1 year ago

Would imitate the /give command item format, so an Item would be minecraft:paper{display:{Name:"WORDS",Lore:["1","2"]},ench:[{id:1,lvl:2},{id:3,lvl:1000}]}. It would also be buy only because for selling it would be unclear wether it should be an AND/OR filter, only allow exact values or just existence of tags, allow other tags or not, etc So in shop.csv it would look like: buy,item,"minecraft:paper{display:{Name:""WORDS"",Lore:[""1"",""2""]},ench:[{id:1,lvl:2},{id:3,lvl:1000}]}",100,0