Paste #46531: DropChest

Date: 2018/01/30 14:48:37 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


##################
# Drop Chest by  #
# Louis Roselian #
##################
DropChest:
    type: world
    name: DropChest
    description: Places a Drop Chest when you Die.
    version: 1.0
    #permission: dropchest.basic
    events:
        on player death:
            if <player.location.in_region[test]>
            {
                - modifyblock <player.location> chest
                - Determine NO_DROPS
            }
            else
            {
                - Determine KEEP_INV
                - Determine KEEP_LEVEL
            }