DUXPLIMA Documentation

Auto-Kill

Turning a spawner into a farm nobody has to stand at, the modern and classic ways it works, and the mobs that do spawn.

With auto-kill on, a spawner kills what it spawns and puts the drops into its storage, so the farm runs while the owner is away from it, as long as someone is within its range. It only applies to ENTITY spawners.

Turning it on

Auto-kill is switched per spawner, with the Auto-Kill button in its menu. modules/autokill.yml:

auto-kill:
  enabled: true
  enable-for-split-entities: false
  force: false
  loottable-only-autokill: true
  permission: uxmspawners.autokill
SettingMeaning
permissionWhat the owner, or a friend, needs to press the button
forceEvery new spawner starts with auto-kill on, and the button can only turn it on
enabledRead together with force: new spawners start with auto-kill on only when both are true
enable-for-split-entitiesThe small slimes and magma cubes a killed one splits into are killed too
loottable-only-autokillNot read in 4.2.0. Loot tables apply to every mob from a spawner, see Loot Tables

Without force, a new spawner starts with auto-kill off, and its owner turns it on. force does not change spawners already placed: one that has it off keeps it off until someone presses the button. enabled: false does not hide the button; to hide it, set gui: false on the auto-kill item in the language file.

Modern and classic

use-modern-autokill:
  enabled: true

in config.yml.

ModernClassic
A mob appearsNoYes, and dies on the same tick
DropsThe mob's loot table is rolled directlyThe mob's drops when it dies
XPFrom your loot table, otherwise 1 to 5What the mob gives
Cost to the serverNothing but the rollA mob spawned and killed every cycle
Split slimesNot relevantKilled only with enable-for-split-entities

Leave modern on. Both pick a random online player as the killer, so loot that needs a player kill drops.

With a loot table for the mob, both use it. Without one, modern rolls the game's own loot table for that mob and classic uses what the mob dropped.

Mobs that do spawn

Without auto-kill, or with classic auto-kill, mobs exist in the world. Two settings in config.yml keep them cheap and harmless:

nerf-spawner-mobs:
  enabled: false
  nerf-every-mob: false
  mobs:
    - ZOMBIE

no-equipment:
  enabled: false
SettingMeaning
nerf-spawner-mobsThe mobs lose their AI: they do not move, look around, target or attack. A nerfed creeper does not explode
nerf-every-mob: falseOnly the mobs in mobs are nerfed
nerf-every-mob: trueEvery mob is nerfed except those in mobs
no-equipmentSpawned mobs carry no armour or weapons, so they cannot drop them either

A spawner mob killed by a player drops into the spawner's storage, multiplied by the level, like an auto-killed one. Food drops come out cooked when the mob was on fire.

Related: Basic Concepts, Loot Tables