~USEFUL THINGS FOR COMMAND BLOCK USERS~

Quick side note: I reccommend getting a keyboard app that allows having quick access to things like tildas(~) and such. I am using Hacker's keyboard for that.

COMMANDS:

/clear (player) [item name] [data] [amount]

Allows to clear inventories of players, supports cleaning of individual items.

/clone (start xyz) (end xyz) (destination xyz)

Copies an area to another specified area.

/difficulty (difficulty: string(p, peaceful))

Changes the difficulty.

/effect (player) (clear or effect name) [time(seconds] [amplifier] [hide particles true/false]

Gives a specified potion effect.

/execute (player) (xyz) (command)

Makes a player execute a command. Can be used to, for example, smite the nearest player to the specified coordinates whenever the command gets activated with the command /execute @p ~ ~ ~ summon lightningbolt ~ ~ ~

/gamerule (rule name) (true/false)

Changes game rules.

/particle (particle name) (xyz of particles) (size of particle zone, xyz) (speed(best to use 0.1, or else you will probably not see them)) [amount of particles]

Spawns specified particles in a specified area.

/playsound (sound name) (player)

Plays sound to a player. Sound list can be found here: http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571574-all-minecraft-playsound-file-names-1-9

/replaceitem block (position) slot.container (slot id) (item) (item data) OR

/replaceitem entity (slot type) (slot id) (item) (item id)

Places item in a slot of a specified inventory. Can put items in every slot an item can go(chest, armor slots, brewing stands, etc.)

/say (text)

Makes a command block say some text. You can also name the command block (top left corner) to have the name appear when the command block executes the command. If left unnamed, it will say [@](text) instead of [name](text)

/summon (entity) (position)

Summons any entity in specified loaction.

/spawnpoint (player) (position)

Sets a spawnpoint for the player.

/setworldspawn (position)

Sets a global spawn where all players will spawn.

/testfor (target)

Looks for a specified entity. Gives a comparator output if entity is found. Supports radius and other specifying settings (/testfor @p[r=3])

/testforblock (position) (block) [data]

Same as /testfor but with a block.

/testforblocks (beginning xyz) (end xyz) (destination xyz)

Tests if an area is the same as the destination area.

/title (player) actionbar (text) //shows text on the action bar

clear //clears current titles

` reset //resets current title settings

subtitle (text) //shows text under the title(Optional)

times (fade in time) (stay time) (fade out time) //sets the times for the title(Optional)

title (text) //shows the text and it's additions