Daylight Mob Spawning

Discussion in 'Archived: Plugin Requests' started by Rungario, May 26, 2013.

  1. Offline

    Rungario

    I've been searching for a plugin that lets monsters spawn during the day, but for the life of me I can't find a single one. Maybe it's because it's impossible to do, or maybe it's because this feature isn't in high demand.

    In case that it is something possible to do, could someone pretty please write up a quick plugin that keeps monsters spawning during the day?

    I could see the issue of monsters starting to spawn in people's houses even when well lit wit with torches and glowstone becoming a problem, but if in the plugin you prevent monsters from being spawned within a certain distance of torches or glowstone during the day then that problem shouldn't happen.

    Thanks in advance.
     
  2. Offline

    Zarius

    Spawning during the day is easy if you're ok with just replacing a certain percentage of existing spawns (eg. 5% of all animals spawn as zombies, another 5% spawn as skeletons, etc). The zombies & skeletons will burn in daylight unless you give them a helm.

    This can be done in OtherDrops as per the below example:

    PHP:
      ANY_CREATURE:
      - 
    actionmobspawn
        time
    day
        drop
    : [ZOMBIE/5%, SKELETON/5%]
    Detecting torches/glowstone in a radius is theoretically possible but could also be laggy. I do plan on adding a conditon that the mob be actually outside soon (ie. no blocks above it) - that might help.

    You could give the mobs a helm by replacing ZOMBIE with ZOMBIE@eq:head:leatherhelm to stop them burning. CREEPER & SPIDER spawns are also possible if you wanted to add them - adjust the chance values to your liking.
     
  3. Offline

    Rungario

    Meh, can't afford to sacrifice mobs.

    Bump, still looking
     
  4. Offline

    Zarius

    Well, you could add the standard drop back in and not sacrifice a mob - eg.

    PHP:
      COW:
      - 
    actionmobspawn
        time
    day
        drop
    : [cowzombie/5%]
    You could also increase the spawn rates in your Bukkit.yml config file to account for the extra daytime monsters.
     
  5. Offline

    AndyMcB1

    zachrywilsn Do you realise this is 4 months old? Plus the OP hasn't logged in for 2 months.
     
    timtower likes this.

Share This Page