Anti Farming


Author: TheRealKeith
Created: 2014-06-28T02:10:12-0400
Edited: 2014-06-28T02:10:12-0400
Denizen Version: Build 1474
Views: 1
Downloads: 788
Likes: 0


WGET
Description: This is a very simple script that keeps monsters from dropping any experience or loot if they aren't killed by a player. Players often make grinding machines that can drown or suffocate mobs. This prevents that from happening.

AntiFarm:
  type: world
  debug: false
  events:
    on entity dies:
    - if <context.entity.is_player> queue clear
    - if li@CONTACT|DROWNING|FALL|SUFFOCATION contains <context.cause> {
      - determine NO_DROPS_OR_XP
      }




Comments
No one has posted a comment! Post one below: