Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 237
    • Issues 237
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Wiki
    • Mobs
  • KillMessages

Last edited by Woodyso Aug 31, 2021
Page history

KillMessages

Kill Messages allow you to customize what is displayed when a player is killed by your mobs. Normally when someone is killed, it will just print “Player was slain by Zombie” or “Player burned to death”, Etc. Giving your mobs custom kill messages with MythicMobs is easy and can add new depth to… dying.

Syntax

The syntax for adding Kill Messages is simple. You can even have multiple messages defined for each mob (a random one is then chosen).

Souleater:
  Type: SKELETON
  Display: 'Soul Eater'
  Health: 666
  KillMessages:
  - '<target.name> had their soul completely devoured'
  - '<target.name><&sq>s soul was feasted upon by Soul Eater'
  Skills:
  ...

It's that easy! Any player killed by the Soul Eater mob would have one of those two custom death messages displayed to the server. Variables can also be used in the message, the important one being <target.name> for the name of the dead player.

For more customization, you can also edit your config.yml file and change KillMessagePrefix. This allows you to put a simple prefix in front of all kill messages (variables do not work in the prefix, however).

Tricks

You can use a solely empty line on the KillMessages field to deactive the mob's kill messages completely. Goes like this:

SilentUndead:
  Type: zombie
  Display: 'Silent Undead'
  KillMessages:
  - ''
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Mythic Add-ons
Compatible Plugins
API Information
Packs
Mobs
  • Mob Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Effects
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Placeholders
  • Variables
  • Math
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drop Types
Spawning
  • Spawners
  • Random Spawns
Examples