This tutorial draws an animated coin, gives it to players with a command and puts it on a shop button.
1. Draw the coin
Open Items, press New icon and choose New item, so the vanilla item stays untouched. Give it a name such as Coin. Pick 16 px for the look of vanilla items, or larger for more detail.
2. Animate it
Add Frames, for example 8, and draw the coin turning. Set the Frame time: 20 ticks are one second, so 2 ticks per frame shows the whole turn in less than a second. Blend frames smooths the change. The preview plays at game speed. Save.
3. Give it to players
Press Copy give command. You get a /give command with the item model of your coin, on paper unless you choose another base item. Run it in game with operator rights to get the coin, or let your shop plugin run it.
4. Put it on a menu button
Open a menu, select a button, press Change item and pick the coin under Your items. In a shop, a Command as console action can then give the coin or take it for a purchase through your economy plugin.
5. Build and test
Build the pack and install it as in Build, host and install. Players need the pack to see the coin; without it they see the base item.
Checked so far
Item icons have not been checked in the game client yet.