[{"data":1,"prerenderedAt":6},["ShallowReactive",2],{"docs:wiki\u002FSpawners":3},{"html":4,"title":-1,"frontmatter":5},"\u003Ch2>\u003Cstrong>WARNING: Once a spawner-configuration file has been loaded onto a running server, it can only be edited by ingame commands. If you want to edit an already loaded spawner-configuration file in a text-editor, you have to stop the server before you edit the file.\u003C\u002Fstrong>\u003C\u002Fh2>\n\u003Cp>Spawners allow you to define specific points in your worlds at which your custom mob creations can spawn. They can be used with a variety of useful options such as; conditions, built-in timers, cooldowns, and warmups.\u003C\u002Fp>\n\u003Cp>You can create spawners directly ingame by using [Commands](\u002Fcommands and permissions) or by creating the a configuration file in the folder \u003Cem>\u002FMythicMobs\u002FSpawners\u003C\u002Fem>.\u003C\u002Fp>\n\u003Ch3>Pros of Spawners\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>Doesn’t require natural mob spawning to be enabled to work.\u003C\u002Fli>\n\u003Cli>Allows for much more control over your spawning implementation as you can specify exactly where and how each mob spawn.\u003C\u002Fli>\n\u003Cli>Support timers, leashing and other features.\u003C\u002Fli>\n\u003Cli>Great for populating small arenas or dungeons.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>Cons of Spawners\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>Setup can be time consuming, especially for larger implementations.\u003C\u002Fli>\n\u003Cli>Can become very difficult to manage if not planned out correctly.\u003C\u002Fli>\n\u003Cli>Mobs need to be configured appropriately.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2>Example Config\u003C\u002Fh2>\n\u003Cpre class=\"language-yaml\">\u003Ccode class=\"language-yaml\">\u003Cspan class=\"yaml-key\">SpawnerName\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">:\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  MobName\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-plain\">mobTypeName\u003C\u002Fspan> \n\u003Cspan class=\"yaml-key\">  World\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-plain\">worldname\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  SpawnerGroup\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-plain\">GroupName\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  X\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-number\">0\u003C\u002Fspan> \n\u003Cspan class=\"yaml-key\">  Y\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-number\">0\u003C\u002Fspan> \n\u003Cspan class=\"yaml-key\">  Z\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-number\">0\u003C\u002Fspan> \n\u003Cspan class=\"yaml-key\">  Radius\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-number\">0\u003C\u002Fspan> \n\u003Cspan class=\"yaml-key\">  RadiusY\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-number\">0\u003C\u002Fspan> \n\u003Cspan class=\"yaml-key\">  UseTimer\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-bool\">true\u003C\u002Fspan>  \n\u003Cspan class=\"yaml-key\">  MaxMobs\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-number\">1\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  MobLevel\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-number\">1\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  MobsPerSpawn\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-number\">1\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  Cooldown\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-number\">0\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  CooldownTimer\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-number\">0\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  Warmup\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-number\">0\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  WarmupTimer\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-number\">0\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  CheckForPlayers\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-bool\">true\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  ActivationRange\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-number\">40\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  LeashRange\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-number\">32\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  HealOnLeash\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-bool\">false\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  ResetThreatOnLeash\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-bool\">false\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  ShowFlames\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-bool\">false\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  Breakable\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-bool\">false\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  Conditions\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">[\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">]\u003C\u002Fspan>\n\u003Cspan class=\"yaml-key\">  ActiveMobs\u003C\u002Fspan>\u003Cspan class=\"yaml-punc\">: \u003C\u002Fspan>\u003Cspan class=\"yaml-number\">1\u003C\u002Fspan>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch2>Options\u003C\u002Fh2>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Option\u003C\u002Fth>\n\u003Cth>Description\u003C\u002Fth>\n\u003Cth>Usage\u003C\u002Fth>\n\u003Cth>Default\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>mobtype: &lt;mobtype&gt;\u003C\u002Fstrong> or \u003Cstrong>mobname: &lt;mobtype&gt;:\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>This is mob type that the spawner will spawn. Can only be set to an internal MythicMobs mob. Allows for an array of mobs with weightings.\u003C\u002Ftd>\n\u003Ctd>\u002Fmm s set [name] mobtype 25%Mob1,25%Mob2,50%mMob2\u003C\u002Ftd>\n\u003Ctd>N\u002FA\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>world: &lt;worldname&gt;:\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>This is the filename of the world where the spawner is located\u003C\u002Ftd>\n\u003Ctd>\u002Fmm s set &lt;name&gt; world &lt;world&gt;\u003C\u002Ftd>\n\u003Ctd>Creation World\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>spawnergroup: &lt;group name&gt;\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>This sets the group name for the spawn. For larger configurations, such as if you are populating a dungeon, you can group all spawners and then change the settings for them all at the same time.\u003C\u002Ftd>\n\u003Ctd>\u002Fmm s set g:&lt;group&gt; &lt;setting&gt; &lt;value&gt;\u003C\u002Ftd>\n\u003Ctd>N\u002FA\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>X: \u002F Y: \u002F Z:\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>Coordinates of the spawner\u003C\u002Ftd>\n\u003Ctd>\u003C\u002Ftd>\n\u003Ctd>Creation Location\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>radius: &lt;number&gt;\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>This is the radius around the spawner at which the mob can spawn.\u003C\u002Ftd>\n\u003Ctd>\u002Fmm s set &lt;name&gt; radius &lt;radius&gt;\u003C\u002Ftd>\n\u003Ctd>0\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>radiusY: &lt;number&gt;\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>This is the vertical radius around the spawner at which the mob can spawn\u003C\u002Ftd>\n\u003Ctd>\u002Fmm s set &lt;name&gt; radiusy &lt;radius&gt;\u003C\u002Ftd>\n\u003Ctd>0\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>usetimer: &lt;true\u002Ffalse&gt;\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>Whether or not the spawner activates on a timer.\u003C\u002Ftd>\n\u003Ctd>\u002Fmm s set &lt;name&gt; usetimer &lt;true\u002Ffalse&gt;\u003C\u002Ftd>\n\u003Ctd>True\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>maxmobs: &lt;number&gt;\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>This is the max number of mobs that can be spawned and existing in the world for this spawner. \u003Cstrong>Must be equal to or greater than mobsperspawn\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>\u002Fmm s set &lt;name&gt; maxmobs &lt;amount&gt;\u003C\u002Ftd>\n\u003Ctd>1\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>moblevel: &lt;number&gt;\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>This is the level of the mob that should spawn from this spawner. Mob must have level configuration for this to work.\u003C\u002Ftd>\n\u003Ctd>\u002Fmm s set &lt;name&gt; moblevel &lt;level&gt;\u003C\u002Ftd>\n\u003Ctd>1\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>mobsperspawn: &lt;number&gt;\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>This is the number of mobs spawned each time the spawner spawns a mob.\u003C\u002Ftd>\n\u003Ctd>\u002Fmm s set \u003Cname> mobsperspawn &lt;amount&gt;\u003C\u002Ftd>\n\u003Ctd>1\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>cooldown: &lt;number&gt;\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>This the amount of time in seconds that the spawner waits after a mob has been spawned before another mob is spawned.\u003C\u002Ftd>\n\u003Ctd>\u002Fmm s set \u003Cname> cooldown \u003Ctime>\u003C\u002Ftd>\n\u003Ctd>0\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>cooldowntimer: &lt;number&gt;\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>This option is set automatically by the spawner. Used to bridge cooldowns over server reboots.\u003C\u002Ftd>\n\u003Ctd>\u003Cem>does not require any user setting\u003C\u002Fem>\u003C\u002Ftd>\n\u003Ctd>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>warmup: &lt;number&gt;\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>The amount of time in seconds before the spawner starts cooldown. Warmup starts on activation and if maxmobs is reached and a mob dies.\u003C\u002Ftd>\n\u003Ctd>\u002Fmm s set \u003Cname> warmup \u003Cduration>\u003C\u002Ftd>\n\u003Ctd>0\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>warmuptimer: &lt;number&gt;\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>This option is set automatically by the spawner, used to bridge warmups over server reboots.\u003C\u002Ftd>\n\u003Ctd>\u003Cem>does not require any user setting\u003C\u002Fem>.\u003C\u002Ftd>\n\u003Ctd>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>checkforplayers: &lt;true\u002Ffalse&gt;\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>Whether or not players must be near the spawner for it to “activate”\u003C\u002Ftd>\n\u003Ctd>\u003C\u002Ftd>\n\u003Ctd>true (recommended for performance)\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>activationrange: &lt;number&gt;\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>What radius must players be within for the spawner to activate.\u003C\u002Ftd>\n\u003Ctd>\u003C\u002Ftd>\n\u003Ctd>40 blocks\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>leashrange: &lt;number&gt;\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>This is the max distance that a mob can move from its spawn location before it is teleported back.\u003C\u002Ftd>\n\u003Ctd>\u002Fmm s set &lt;name&gt; leashrange &lt;distance&gt;\u003C\u002Ftd>\n\u003Ctd>-1(none)\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>healonleash: &lt;true\u002Ffalse&gt;\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>Whether the mob should heal to full health when it leashes back to its spawner\u003C\u002Ftd>\n\u003Ctd>\u002Fmm s set &lt;name&gt; healonleash &lt;true\u002Ffalse&gt;\u003C\u002Ftd>\n\u003Ctd>false\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>resetthreatonleash: &lt;true\u002Ffalse&gt;\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>Resets ThreatTables (if enabled) when a mob teleports back to its spawner.\u003C\u002Ftd>\n\u003Ctd>\u003C\u002Ftd>\n\u003Ctd>false\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>showflames: &lt;true\u002Ffalse&gt;\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>Set this to true to show flames around the spawner.\u003C\u002Ftd>\n\u003Ctd>\u002Fmm s set &lt;name&gt; showflames &lt;true\u002Ffalse&gt;\u003C\u002Ftd>\n\u003Ctd>false\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>breakable: &lt;true\u002Ffalse&gt;\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>Determines if the spawner is broken with the block it is placed on\u003C\u002Ftd>\n\u003Ctd>\u003C\u002Ftd>\n\u003Ctd>false\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>conditions:\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>the conditions to be met for the spawner to activate.\u003C\u002Ftd>\n\u003Ctd>\u002Fmm s addcondition &lt;name&gt; &lt;condition&gt; &lt;action&gt;\u003C\u002Ftd>\n\u003Ctd>None\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>SpawnConditions\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>the conditions to be met by the position a mob is being attempted to be spawned at\u003C\u002Ftd>\n\u003Ctd>\u003C\u002Ftd>\n\u003Ctd>None\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cstrong>activemobs: &lt;number&gt;\u003C\u002Fstrong>\u003C\u002Ftd>\n\u003Ctd>Used to keep track of mobs connected to (spawned by) the spawner.\u003C\u002Ftd>\n\u003Ctd>\u003Cem>it does not require any user setting\u003C\u002Fem>.\u003C\u002Ftd>\n\u003Ctd>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Cp>\u003Cstrong>Note on timing of spawns:\u003C\u002Fstrong> \u003Ccode>Timing: warmup-&gt; mob spawns-&gt; cooldown-&gt; mob spawns*&gt;\u003C\u002Fcode>\u003C\u002Fp>\n",{},1779063024024]