Rumpelstiltskin is one of the non-playable characters in LEGO Dimensions 2: The Rise of Enoch, from the Shrek franchise.
Rumpelstiltskin was born a Dwarf in the land of Far Far Away.
King Harold and Queen Lillian were going to sign their kingdom over to Rumpelstiltskin to break Fiona's curse, but the deal is cancelled when they learn that Fiona has been rescued from the tower by Shrek. Stiltskin's life deteriorated afterwards, and his reputation is practically ruined as he wishes vehemently that Shrek was never born.
Shrek the Third
It is mentioned that he was once promised a baby, but the deal fell through, and as retaliation for his loss, Rumpelstiltskin becomes one of the many villain recruits assisting Prince Charming in his invasion of Far Far Away. At the end of the film he, along with the other villains, gives up the mantle of being a villain after Artie convinced the villains to stop.
Shrek Forever After
Rumpelstiltskin seems to have abandoned the idea of being good and is once again villainous in "Shrek Forever After".
After faking a carriage accident, Shrek stumbles upon Rumpelstiltskin, who in turn for the "help", offers the ogre eyeball-tinis and roast rat. During their meal, Shrek mentions that he has been depressed lately and wants just one day of being a "real ogre" again. Hearing this, Rumpel offers Shrek a deal of one day of being an ogre in exchange for one day of his childhood. So Shrek signed the contract without knowing that he just signed the day he was born away, and soon finds himself in a twisted, alternate universe in which Fiona was never rescued from the Dragon's keep and thus his children were never born. Far Far Away is now ruled by King Rumpelstiltskin, who has many witches under his command to do his dirty work.
After a meeting with his inner circle of witches, Rumpelstiltskin has Baba hire a bounty hunter to fight the ogre resistance and prevent Shrek from kissing Fiona which would destroy his alternate universe and his empire. The Pied Piper, a bounty hunter who can make anything dance with his flute, is hired and Rumpel sends him out with witch reinforcements to fight the ogre resistance led by Fiona. The Pied Piper succeeds in making them dance and he captures them all. However, Shrek and Fiona are rescued by Donkey and Puss.
As a last resort, Rumpel offers any deal (the "Deal of a Lifetime" as he calls it) to whomever turns Shrek in. Once Shrek hears of this, he turns himself in to get this deal, and in return, Shrek has Rumpel free all the ogres, even though he keeps Fiona (as she is a princess by day, and therefore not completely an ogre). He tries to feed them to Dragon, whom has never met Shrek and is now antagonistic in nature, but Donkey, Puss, and the ogre resistance ambush the palace and start a battle with Rumpel and his witches.
They eventually defeat Rumpel as the dwarf tries to escape on his pet goose Fifi, but by this time, the 24 hours are up and Shrek is starting to disappear. Fiona, who now loves Shrek, kisses him before he vanishes completely. Thus, Rumpelstiltskin's world falls apart, and everything is restored back to normal. Rumple is last seen being held prisoner at the aftermath party before the credits, and Fiona kills Fifi by making him explode by singing a high note (similar to the bluebird scene in the first Shrek film). Rumpelstiltskin is also being tormented by the Pied Piper, being forced to dance in his cage.