This is just an updated version of the attributes plugin by Azzier, which I will continue to maintain until the author can work on the plugin again. Switching between this and the original version of the plugin should not be a problem.
Comments
idk how to uhh send screenshots here I dont think I can but basically I used the mcstacker website to make a command, then I use nbt data/global persistant player data to set as some of the commands variables, and while im setting this up I bind this to an item so I can read a printout inchat/in console to see what the commands doing so if im being dumb it becomes really appartent what I have messed up, in the case of your attributes thing uhh I am ganna see if I cant dm you my attributes thing real quick if I can figure that out lmao I only currently use it to set health of entities but it can be used for anything on the mcstacker website
I mean in my case is just executing the command for the player to apply or update the modifier (enchantment levels change the value of the modifier) I already have a procedure to detect every time the player wear armor so i just need the command to work
if you can please thank you
Hey Nerdy, it's nice that you're taking care of this plugin as is one i actually need a lot in my mod. The thing is i just removed my old Attribute plugin (The original author's one) And installed yours, but now i had a procedure that worked fine and is now broken. Is there a way you could check this image and see if i should change anything with it to work with the plugin? Why did it broke?
https://imgur.com/a/8M9CzfY
The procedure is like a trigger to know when an item is put/removed from a slot of my bag item, so i use the global boolean variable to cancel the loop of the global trigger so i can only apply the attribute modification once and then stop. When i test for the attribute base value in-game, it seems like every tick the value goes down, like i got a value of -2596 or something among those lines, like the loop continues but keeps substracting the value. What should i do to prevent this behaviour?
Thanks beforehand!
PD: i have tried to add +5 hp to a chestplate when is used
and doing it removed all other attributes including the one im already trying to add