How to create XP consumable (Trinity) ?

How to create CUSTOM XP consumable (Trinity) ? I need to make consumable to give me max lvl ?