Skip to main content

MythicMobs NPC

Official compatibility

ElementReference
TypeWriterRequired. Use the official TypeWriter release supported by the extension release.
Related extensionsInstall the related extensions listed on this page before using entries that depend on them.

The MythicMobs NPC Extension integrates MythicMobs entities into the TypeWriter NPC system, allowing for complex, animated, and interactive characters with full 3D model support.

Features

  • MythicMobs Integration — Use any MythicMob as a persistent NPC with full configuration support.
    • 3D Model Support — Native support for BetterModel and ModelEngine with automatic model visibility management.
    • Audience Groups — Show NPCs to specific player groups using TypeWriter's audience system. Supports PlayerGroup for per-player NPCs.
    • Visibility Control — Fine-grained visibility control per player with automatic handling for joining players.
    • Interactions — Trigger quests and dialogues on NPC interaction with customizable click types.
    • Animations — Control animations, stances, and movement states through ModelEngine/BetterModel API.

Architecture

Model Integration

The extension supports both BetterModel and ModelEngine for 3D model rendering:

BetterModel is the preferred model provider. The extension uses the native EntityTrackerRegistry API for optimal visibility control:

  • Uses registry.spawnIfNotSpawned(player) for showing models
  • Uses registry.remove(player) for hiding models
  • Full support for per-player model visibility

Note: The model must be configured in your MythicMob YAML file. TypeWriter will automatically manage visibility but does not apply models to entities.

Audience Groups

The extension supports TypeWriter's audience system for controlling NPC visibility:

# Using PlayerGroup - each player sees their own NPC instance
group: player_group_entry_id

When using PlayerGroup:

  • Each player has their own dedicated NPC entity
  • NPCs are invisible to players outside their audience
  • Automatic handling for players joining/changing worlds

Entries

User guide

  • 1. Trigger Actions — Use action entries to interact with the extension: show_npc, hide_npc. Trigger them from commands, NPCs, events, or other entries. → show_npc → hide_npc

Configuration Options

NPC Definition

OptionDescription
mobTypeThe MythicMob internal name to use
tickingtrue for server-side (real entity), false for client-side (packet-based)
showDisplayNameWhether to show a nametag above the NPC
cancelInteractAnimationDisable the arm swing animation on interaction

NPC Instance

OptionDescription
spawnLocationWhere to spawn the NPC (supports dynamic positions)
groupAudience group for visibility control
activityEntity activity entry for NPC behavior

Dependencies

ExtensionRequiredUsage
TypewriterRequiredIncludes the native quest engine.
BasicExtensionRequiredCore extension utilities.
EntityExtensionRequiredEntity management framework.
RoadNetworkExtensionRequiredNPC pathfinding and road network.
PlaceholderAPIOptionalFor @Placeholder fields.

Troubleshooting

The extension is not visible

Check that the installed release matches the supported TypeWriter release and that the related extensions listed in the compatibility section are present.

An entry is missing

In the Typewriter Web panel, use the Search bar or the + button to find or create the entry with its exact identifier. Entry IDs and field names are case-sensitive; do not translate them.

The entry saves but nothing happens

Check that the entry is connected to the trigger, command, objective, event, or menu interaction required by its type. Test with optional permissions and criteria removed, then add them back one at a time.

An integration does not work

Verify the dependency and version shown in the extension card, then check the server log for the first error. Do not replace a missing dependency with a similarly named plugin unless the extension source explicitly supports it.