I know it sounds silly, that I would want to remove something that is temporary, and should remove itself after a certain amount of time expires. However I have noticed that temporary item properties can become buggy when a player logs and comes back. The properties would stay for much longer than they should. Also the properties are not being removed when a player rests.
That is the problem plaguing our rebirth system. When a player rebirths, they receive a token, which when activated, will add some temporary item properties to their weapons or armour. They are set for 20 minutes, 3 times a day. However when a player logs and comes back the next day, the properties are still there, and will last for a few days, rather than just the 20 minutes.
What I would like to do, is use scripts to remove all temporary item properties from both weapon hands and armour, when a player logs on the server, and when a player rests. I do not know if it can be done, so that is why I am asking. Can the temporary item properties be removed, or should I change them all to effects, and have them dispelable on rest?
Thank you for any help you may have.