create a consumable item that gives buff effects for players

Can som1 give me general structure that i should stick to to create that

Continue to help post