Early in the history of Dungeons & Dragons, the game’s creators made classes that rewarded strict rules of behavior with extra power. For instance, a player taking the challenge of playing a chivalrous cavalier always fought fairly, but also gained a bonus to attack with sword and lance.
With D&D’s first Greyhawk supplement, Dungeons & Dragons co-creator Gary Gygax started adding classes that clearly balanced extra power with limitations that required certain behavior. Paladins started as a version of fighter who always acted lawfully. (D&D lacked good and evil alignments then.) “Any chaotic act will immediately revoke the status of paladin, and it can never be regained.” The paladin’s generosity required the class to give away inessential magic items and other loot. “Gifts must be to the poor or to charitable or religious institutions, i.e. not to some other character played in the game.”
The first editor of The Dragon, Tim Kask, wrote, “It was so rigid a PC class; that smacks of Gary’s fiendish wit. Make a character truly extraordinary and make it really tough to play in terms of always having to do the ‘right’ thing, ALWAYS.”
By the Unearthed Arcana book for Advanced Dungeons & Dragons, many classes offset power with a roleplaying catch. “Barbarians in general detest magic and those who use it. They will often seek to destroy magic items.”
Gygax knew this created a recipe for party conflict and embraced it. “When I played a barbarian, I would indeed attempt to get at newly discovered magic items and rid the world of their bane, and if some mage was foolish enough to flaunt such an object before the character, and he could lay hands on it, then…” When a monster turned Gygax’s barbarian to stone, it ended the character’s career. “No cleric or mage in the group was much interested in having the poor chap returned to life.”
In most games, players saw such restrictions as problems to solve with ingenuity. Part of the paladin’s reputation for lawful stupid comes from all the do-gooders conned into leaving the room when the thief wanted to question or kill prisoners. And how many barbarian players opted for characters just stupid enough to fail to realize that their +2 sword and cloak of protection happened to be magical? Sample dialog: “Tan-kor, you should wear this cloak we found because it, um, matches your eyes.”
Second edition introduced class kits that made characters more distinctive and powerful, often in exchange for behavior restrictions. For instance, the bladesinger from the Complete Book of Elves ranked as one of the most powerful kits. The catch: Having to protect elves whenever the opportunity comes. Players got a boost for simply committing to bite on a certain sort of adventure hook. A more onerous code weighed cavaliers, who always had to fight fairly and chivalrously. So if a cavalier’s foe slips off a cliff and hangs by the edge, the cavalier must help the foe up before resuming the fight.
Such restrictions only worked in campaigns where every player valued roleplaying. In a mix of actors and power gamers, behavior limits cause friction—even when the code doesn’t require destroying magic items. Players who value immersing into character grow annoyed by the players who just look for loopholes in codes of conduct. Dungeon masters dislike the role of mandating or penalizing behavior that ignores the hindrances built into a character kit.
By third edition, the D&D team mostly dropped roleplaying limits from the class-design toolbox.
Still, one code of conduct remains in the modern druid class. The fifth edition Sage Advice Compendium explains, “Druids don’t lack the ability to wear metal armor. They choose not to wear it. This choice is part of their identity as a mystical order. Think of it in these terms: a vegetarian can eat meat, but chooses not to.” This restriction brings enough teeth for class balance while proving clear enough to defy most players seeking loopholes.