Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 143
    • Issues 143
    • 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
  • Options

Options · Changes

Page history
updated Despawn option authored Apr 27, 2024 by Lxlp's avatar Lxlp
Show whitespace changes
Inline Side-by-side
Showing with 12 additions and 7 deletions
+12 -7
  • Mobs/Options.md Mobs/Options.md +12 -7
  • No files found.
Mobs/Options.md
View page @ f6c3963f
...@@ -66,14 +66,19 @@ Teleports the mob two blocks up if it takes `SUFFOCATION` damage. Defaults to `f ...@@ -66,14 +66,19 @@ Teleports the mob two blocks up if it takes `SUFFOCATION` damage. Defaults to `f
#### Despawn #### Despawn
Determines how the mob will despawn. Determines how the mob will despawn.
This option should be turned on if you're using a lot of mob spawners or entities will overwhelm your server. This option should be turned on if you're using a lot of mob spawners or entities will overwhelm your server, or the entity you are making requires some special behavior regarding its despawn policy (Npcs, Bosses etc.)
Defaults to `true`. Defaults to `true`.
Available values: | Mode | Aliases | Description |
- `true` - despawns the mob if there are no nearby players, on chunk unload. |-----------------|------------------------|-------------------------------------------------------------|
- `false` - despawns the mob only on server restart. | NORMAL | TRUE, YES | - Despawns if no players are nearby<br>- Despawns if the server is restarted<br>- Despawns if the chunk is unloaded<br>- Is killed by normal mythicmobs kill commands |
- `chunk` - despawns the mob when the chunk unloads. | CHUNK | | - Despawns if the server is restarted<br>- Despawns if the chunk is unloaded<br>- Is killed by normal mythicmobs kill commands |
- `persistent` - the mob is persistent and doesn't despawn. To remove a persistent mob, you have to either use the kill command (`/mm m kill <type>`) or append the `-p` flag to the killall one (`/mm m killall -p`). More information on the subject can be found [here](/Commands-and-Permissions#mob-commands). | NEVER | FALSE, NO | - Is killed by normal mythicmobs kill commands |
| PERSISTENT | | |
| NPC | | - Despawns if the server is restarted<br>- Despawns if the chunk is unloaded |
> For the PERSISTENT despawn mode: to remove a persistent mob, you have to either use the kill command (`/mm m kill <type>`) or append the `-p` flag to the killall one (`/mm m killall -p`). More information on the subject can be found [here](/Commands-and-Permissions#mob-commands).
```yml ```yml
Options: Options:
Despawn: true Despawn: true
......
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Guides
Troubleshooting
Mythic Add-ons
Compatible Plugins
API Information
Packs
  • Pins
Mobs
  • Mob Options
    • Display Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Templates
  • Vanilla Overrides
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drops
  • DropTables
  • FancyDrops
Spawning
  • Spawners
  • Random Spawns
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Technical
  • Math
  • Operations
    • Attribute Operations
    • Stats Modifiers
  • Particles Types
  • Audience
  • Equipment Slots
Examples
Useful Tips