יצירת - namespace
If you don't know what I mean by namespace please read namespace tutorial
Creating an items_packs subfolder
In order to keep everything organized you have to create your own namespace.
First step is to create a subfolder inside: plugins\ItemsAdder\data\items_packs
In this example namespace will be myitems
so create a folder names like the namespace.

Open the myitems
folder and create a new file, you can call it like as prefer, I named it myswords.yml

Open the new .yml file and paste this:
As you see I set namespace to myitems
, which is the namespace I chose before and it's the same name of the folder. Remember to change it based on your namespace.
All this "nesting" could seem boring but trust me, it reduces errors as much as possible and allows you to find everything easily.
Last updated
Was this helpful?