Flim Flam

The Flim Flam Enchantment is an enchantment from the OpenBlocks mod. This enchantment is applied to armor, and will bring bad luck to those who attack you, while the armor is equipped. Players with access to cheat commands can also target a player with the enchantments effects with the /flimflam  command, and change a player's luck with /luck [amount].

Effects
Bad luck can cause these effects:
 * Add Bane of Athropods on random items
 * Spawn charged creepers (with 0 blast radius)
 * Cause negative potion effects such as Blindness and Nausea. It can also give Jump Boost and Speed. These effects have extremely short duration, but very high potency (around level 50).
 * Encase the attacker in dirt when they put down torches
 * Shuffle their inventory
 * Make about 30% mobs in a 20x20x20 centered around the attacker invisible
 * Cause them to drop their items
 * Add some random lore to your items' tooltips
 * Make them mount nearby mobs (except Squid and Creepers)
 * Rename mobs in a 20x20x20 area around them
 * Change the color of sheep in a 20x20x20 area around them
 * If they are surrounded by air on all sides, creates an ice platform 100 blocks above the ground and teleports them there.
 * Throw snowballs in a random direction
 * Play random sounds
 * Spawn a squid with a custom name and make it your hat
 * Teleport them randomly by throwing an ender pearl as if it were thrown by them
 * Spawn in 0-durability items with random enchants (possible exploit with the Ars Magica 2 Arcane Reconstructor and the MineFactory Reloaded Auto-Disenchanter)

The effects have different "weights", which means some are more common than others. The "worse" effects will be less common than the others. As the effects are applied to a player, their bad luck will gradually decrease. Presumably, the higher the level of the enchant, and the more armor pieces it is applied to, the worse luck it causes when that player is hit.