Disable Enderman Griefing Minecraft 1.8 Tutorial

Minecraft Tutorial Playlist ► http://www.youtube.com/playlist?list=...
This video will show you how to build a contraption that stops enderman griefing your world by giving them invisible barrier blocks and removing them when placed down by the endermen.

THIS TUTORIAL DOESN'T WORK IN 1.9 ... SEE THIS VIDEO
https://www.youtube.com/watch?v=eG48aImN_5U

Eease
https://www.youtube.com/user/EeaseMaps

Minecraft: Server Friendly 1-Player Sleeping Tutorial
https://www.youtube.com/watch?v=E4PpK...

Commands (Build this in your spawn chunks)
/scoreboard objectives add block dummy

1: fill ~ ~1 ~ ~3 ~1 ~ stone

2: fill ~ ~-1 ~ ~3 ~-1 ~ redstone_block

3: scoreboard players set @e[type=Enderman] block 1 {carried:0s}

4: execute @e[type=Enderman,score_block_min=1] ~ ~ ~ fill ~-2 ~-2 ~-2 ~2 ~2 ~2 air 0 replace barrier

5: entitydata @e[type=Enderman,score_block_min=1] {carried:minecraft:barrier}

6: scoreboard players reset @e[type=Enderman,score_block_min=1] block

Optional Commands

/scoreboard objectives add timer stat.timeSinceDeath

7: execute @a[score_timer_min=100] ~ ~ ~ fill ~-2 ~-2 ~-2 ~2 ~2 ~2 air 0 replace barrier

8: scoreboard players set @a[score_timer_min=100] timer 0

Gamerule Commands

/gamerule commandBlockOutput false
/gamerule logAdminCommands false

Links!
● Twitter http://bit.ly/xisuma_twitter
● Facebook http://on.fb.me/xisuma_facebook
● Google+ http://bit.ly/XisumaG
● Merchandise http://xisuma.spreadshirt.com
● Website http://www.xisumavoid.com

Schematic Download
http://www.planetminecraft.com/projec...
Array
(
    [0] => Google_Service_Exception Object
        (
            [errors:protected] => Array
                (
                    [0] => Array
                        (
                            [message] => The request specifies an invalid page token.
                            [domain] => youtube.parameter
                            [reason] => invalidPageToken
                            [location] => pageToken
                            [locationType] => parameter
                        )

                )

            [message:protected] => {
  "error": {
    "code": 400,
    "message": "The request specifies an invalid page token.",
    "errors": [
      {
        "message": "The request specifies an invalid page token.",
        "domain": "youtube.parameter",
        "reason": "invalidPageToken",
        "location": "pageToken",
        "locationType": "parameter"
      }
    ]
  }
}

            [string:Exception:private] => 
            [code:protected] => 400
            [file:protected] => /var/www/html/vendor/google/apiclient/src/Google/Http/REST.php
            [line:protected] => 118
            [trace:Exception:private] => Array
                (
                    [0] => Array
                        (
                            [file] => /var/www/html/vendor/google/apiclient/src/Google/Http/REST.php
                            [line] => 94
                            [function] => decodeHttpResponse
                            [class] => Google_Http_REST
                            [type] => ::
                        )

                    [1] => Array
                        (
                            [file] => /var/www/html/vendor/google/apiclient/src/Google/Task/Runner.php
                            [line] => 181
                            [function] => doExecute
                            [class] => Google_Http_REST
                            [type] => ::
                        )

                    [2] => Array
                        (
                            [file] => /var/www/html/vendor/google/apiclient/src/Google/Http/REST.php
                            [line] => 58
                            [function] => run
                            [class] => Google_Task_Runner
                            [type] => ->
                        )

                    [3] => Array
                        (
                            [file] => /var/www/html/vendor/google/apiclient/src/Google/Client.php
                            [line] => 779
                            [function] => execute
                            [class] => Google_Http_REST
                            [type] => ::
                        )

                    [4] => Array
                        (
                            [file] => /var/www/html/vendor/google/apiclient/src/Google/Service/Resource.php
                            [line] => 232
                            [function] => execute
                            [class] => Google_Client
                            [type] => ->
                        )

                    [5] => Array
                        (
                            [file] => /var/www/html/vendor/google/apiclient-services/src/Google/Service/YouTube/Resource/PlaylistItems.php
                            [line] => 135
                            [function] => call
                            [class] => Google_Service_Resource
                            [type] => ->
                        )

                    [6] => Array
                        (
                            [file] => /var/www/html/pages/uploads.php
                            [line] => 18
                            [function] => listPlaylistItems
                            [class] => Google_Service_YouTube_Resource_PlaylistItems
                            [type] => ->
                        )

                    [7] => Array
                        (
                            [file] => /var/www/html/pages/video.php
                            [line] => 85
                            [args] => Array
                                (
                                    [0] => /var/www/html/pages/uploads.php
                                )

                            [function] => include
                        )

                    [8] => Array
                        (
                            [file] => /var/www/html/index.php
                            [line] => 172
                            [args] => Array
                                (
                                    [0] => /var/www/html/pages/video.php
                                )

                            [function] => include
                        )

                )

            [previous:Exception:private] => 
        )

    [1] => Array
        (
            [0] => video
            [1] => 9HTNkY1snkQ
            [2] => PLEB388783144C45A8
        )

)
An error occurred.