> For the complete documentation index, see [llms.txt](https://edseries-plugins.gitbook.io/p/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edseries-plugins.gitbook.io/p/edmobswords/features/server-mobs.md).

# Server mobs & RoseStacker

With `server-mobs.enabled: true` (the default) the sword also hits the **real mobs of the server** - a mob farm, a spawner room, a stacked RoseStacker mob - and every enchant works on them too. Mob zones always win: inside a mob zone the sword only fights the zone's packet mobs.

## Damage

`server-mobs.damage` in `config.yml` is the damage of a swing on a real mob, on the vanilla health scale (a zombie has 20). With `override-damage: false` the vanilla damage of the hit is kept and only rewards and enchants are added.

A swing on a real mob fires the same `SwordHitEvent` as a zone hit, so addons such as CodexMomentum count it too, and a plugin that cancels the event cancels the damage.

## Rewards

What a real mob pays is configured **in the sword's tool config**, next to the tool's other settings - the same place EdTools keeps a tool's `server-blocks`:

```yaml
# plugins/EdTools/tools/sword-tool/config.yml
server-mobs:
  default:                 # any entity type not listed (remove to pay nothing for unlisted mobs)
    currencies:
      mob-coins: '2'
  mobs:
    ZOMBIE:
      currencies:
        mob-coins: '5'
        money: '10'
      drops: {}            # item-prices.yml ids -> amount, into the backpack
      commands: []         # the same syntax as a mob file
```

The kill currency (`combat.kill-currency`) is paid for real kills too.

## Enchants on real mobs

Area enchants look for other real mobs within `server-mobs.enchant-radius` of the hit mob. Visuals are per player and packet-only; damage dealt to real mobs by an enchant is applied on the server (the killer stays the player, so rewards work).

## RoseStacker

When RoseStacker is installed:

* `reward-whole-stack: false` (default) - a kill pays the rewards once, RoseStacker spawns the next member as usual.
* `reward-whole-stack: true` - a kill pays the rewards once per mob in the stack.
* Enchants see the stack size of a target and can take members off a stack directly.

No RoseStacker jar is needed to build or run the addon; the hook is resolved at runtime.
