Paste #36393: Untitled Paste

Date: 2016/09/22 06:58:34 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14


test:
    type: world
    debug: minimal
    events:
        on player breaks block:
        - echo "<[context].[player].name> broke a <[context].[material]> at <[context].[location]>"
        on player places block:
        - echo "<[context].[player].name> placed a <[context].[material]> at <[context].[location]> over a <[context].[old_material]>"
        on player breaks block:
        - tell <player> "<context.[material]>?! Naughty <player.name>!"
        on client pings server:
        - echo "<[context]>"
        on http get request:
        - determine response_text <webpage[testpage]>