After a bit of asking (probably a few too many) questions on the internet, I finally managed to write a plugin which actually does what it should!
Amazing, isn't it? Yeah, I still don't believe it myself.
Anyway, after this torture i have to take the next step and expand the functionality of the plugin a bit. I would now like to use a function for this that is often found in the Visustella plugins, but somehow doesn't really want to work for me: Multi-line note tags. Specifically, these are note tags who save their value not inside the bracket of the notetag, but rather are split in 2 notetags to build a block of values with the one below having a additional / to mark the end of this block. A example of how that can look would be:
<Drops>
Item 5: 20%
Item Potion: 30%
Weapon 27: 45%
Weapon Blade of Reckoning: 55%
Armor 72: 72%
Armor Flame Shield: 90%
</Drops>
now i have tried to use this technique myself, but unfortunately something seems to be misinterpreting something. it seems like it interprets the 2 brackets as 2 notetags with a boolean instead as 1 big "block notetag". now i found a way to simplify that for my plugin because it just wasnt required at the moment, but now i wanna make the next step and i need to find out why the plugin does misinterpret my notetag.
Amazing, isn't it? Yeah, I still don't believe it myself.
Anyway, after this torture i have to take the next step and expand the functionality of the plugin a bit. I would now like to use a function for this that is often found in the Visustella plugins, but somehow doesn't really want to work for me: Multi-line note tags. Specifically, these are note tags who save their value not inside the bracket of the notetag, but rather are split in 2 notetags to build a block of values with the one below having a additional / to mark the end of this block. A example of how that can look would be:
<Drops>
Item 5: 20%
Item Potion: 30%
Weapon 27: 45%
Weapon Blade of Reckoning: 55%
Armor 72: 72%
Armor Flame Shield: 90%
</Drops>
now i have tried to use this technique myself, but unfortunately something seems to be misinterpreting something. it seems like it interprets the 2 brackets as 2 notetags with a boolean instead as 1 big "block notetag". now i found a way to simplify that for my plugin because it just wasnt required at the moment, but now i wanna make the next step and i need to find out why the plugin does misinterpret my notetag.