The Difficulty Command

The /difficulty command is a command used to bypass difficulty restrictions.

Overview
The /difficulty command can change the difficulty setting at will.

Syntax
/difficulty

Explanation
The difficulty value is simple: the difficulty you want to change to. Peaceful is 0, Easy is 1, Normal is 2, and Hard is 3.

Trivia

 * The only way to leave a locked difficulty.
 * Can be used in adventure maps in place of simple signs saying "Change your difficulty to peaceful."