NoSpawn

NoSpawn - A simple mob control plugin:

Version: v1.9.6

Features:

  • Prevent any mob you don't like form spawning
  • Very easy to use
  • Works with multiworlds
  • Configure each world individual
  • Edit config on the fly!
  • Block mobs from specific blocks
  • Spawn mobs with a command though they are blocked!
  • Permissions support!(Vault, Bukkit Permissions and OP)
  • Optional limit the number of Mobs
  • Allow/Deny spawner Eggs
  • Allow/Deny spawns from spawners
  • Allow/Deny jockey spawns

Notice:Bukkit updates shouldn't break this plugin so if the version in the file discription is lower than the actual bukkit version it should work fine :)

Configuration:

After installing the plugin (just put the .jar file into your plugin directory) it will create a NoSpawn folder within your plugin directory.

In this folder there will be a configuration file where you can choose which mobs are allowed or not.

The global block blacklist blocks all mobs to spawn on the specified blocks on the specific world.
It can individually be enabled and disabled for each mob (default is enabled), to see how look at the commands.

If the global block blacklist is enabled it will add to the blacklist of the specific mob for example:

All mobs are forbidden to spawn on grass and cobblestone, but in addition only pigs shouldn't spawn on cleanstone too. So you add the cleanstone to the blacklist of the pig and they complement one another.

If you don't want a mob to spawn on specific blocks you can put these blocks on the blacklist for the specific mob.

Please separate the block id's with a ";" (without the quotes), this syntax is used for the global block blacklist too.

See example below:

properties:

    RefreshTimer: 20000

worlds:

    world:

        creature:

            Creeper:

                spawn: false

                BlockBlacklist: ''

                Limit: 1

                UseGlobalBlockBlacklist: true

            Chicken:

                spawn: true

                BlockBlacklist: 2;3

                Limit: 0

                UseGlobalBlockBlacklist: true

            Sheep:

                spawn: true

                BlockBlacklist: '1'

                Limit: 3

                UseGlobalBlockBlacklist: false

      .

      .

      .

              properties:

                        TotalMobLimit: 10
                        GlobalBlockBlacklist: 1;4
                        AllowSpawnerSpawn: false
                        AllowEggSpawn: false
                        DenyJockeySpawn: false

After restarting/reloading your server the unwanted mobs will be disabled on the configured world.

Note: If you have more than one entry in the blacklist the quotes will disappear but the plugin will still load the blacklist!

If you don't want to blacklist some blocks you can ignore the Blacklist.

The limit option sets a maximum of mobs of that mobtype that can spawn.

In the example above the maximal number of sheep for example is 3 so there are only 3 sheep on the whole world.

If you set the limit to 0 (default) the limit is disabled.

The TotalMobLimit sets a total maximum of ALL mobs on the world, so if you set it for example to 10 there will only be 10 monsters on the entire world.

The RefreshTimer is an option that tells the plugin in how often it will check the number of mobs on the world. The default is 20000 ms (20 seconds).

The config node "world" is the name of the world you configure.

The plugin will detect new worlds automatically if they are loaded and adds them to the configuration file so you don't need to add them.

Commands:

If you want to configure the plugin from the game you can use :

/nospawn allowspawn <worldname> <mobname> : To allow a mob to spawn
/nospawn denyspawn <worldname> <mobname> : To block the mob

This will change the plugin on the fly and you don't need to reload anything!

If you want to despawn a certain type of mobs you can use:

/nospawn despawn <worldname> <mobname>

To change the limits you can use:

/nospawn setmoblimit <worldname> <mobname> <ammount> : To limit a certain mob
/nospawn settotalmoblimit <worldname> <ammount> : To limit all mobs

If you want to change the timer you can use:

/nospawn settimer <milliseconds>

To enable or disable the global block blacklist for a specific mob use:

/nospawn usegbbl <world> <mob> <true/false>

To edit the global block blacklist use:

/nospawn addgbbl <world> <blockID> to add a blockID to the list
/nospawn delgbbl <world> <blockID> to delete a blockID from the list

To edit the block blacklist use:

/nospawn addbl <world> <mob> <blockID> to add a blockID to the list
/nospawn delbl <world> <mob> <blockID> to delete a blockID from the list

To reload the config use:

/nospawn reloadconf

Permissions:

You can use this commands if you are an OP or if you have installed permissions and use these permissions:

  • nospawn.allowspawn
  • nospawn.denyspawn
  • nospawn.despawn
  • nospawn.setmoblimit
  • nospawn.settotalmoblimit
  • nospawn.settimer
  • nospawn.useglobalblockblacklist
  • nospawn.editglobalblockblacklist
  • nospawn.editblockblacklist
  • nospawn.reloadconfig

Metrics

NoSpawn uses the Metrics system to collect some data to determine the usage of the plugin.
This will help the plugin developers to see how many servers are using the plugin and what versions these servers are running,
If you don't want this, edit /plugins/NoSpawn/config.yml and set sendMetrics to false

If there are questions or errors please post them so I can fix it ;)

Donations:

If you like my plugin, feel free to donate some Bitcoin or via PayPal (Donate button at the top right hand corner)

Bitcoin address:
1Hg9shJTUjTZjwWGeQoupS4iszm6JUYMLi

Changelog:

Version 1.7.2

  • Added commands to reload the config and to edit the blacklists ingame

Version 1.7.1

  • NPE fix if global blacklist contains nothing....

Version 1.7

  • Added a global block blacklist

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of xXLupoXx xXLupoXx Sep 18, 2014 at 10:04 UTC - 0 likes

    @zachrywilsn: Go

    If spiggot gets its 1.8 update and still uses the bukkit api the plugin should be able to detect new mobs automatically. And as for spongepowered we'll see what to do when they actually have something to work with

    Last edited Sep 18, 2014 by xXLupoXx

    BFAK:xXLupoXx,28563,20319c92542ef5e74131b1cef590c715ceb1b8bbd55cc2702af8355064d307fe

  • Avatar of zachrywilsn zachrywilsn Sep 18, 2014 at 05:44 UTC - 0 likes

    @xXLupoXx: Go

    Look into Spigot. They plan to get to 1.8 and SpongePowered.Org is a sign of hope. I will def donate to you privately if need to get this compatible for the switch in the future.

    Im not sure all I can offer but I can fund it to a extent. Pm me and maybe we can skype or just email like snails to discuss.

    [ZachryWilsn]: Server Website: KronicZombies YouTube: ZachryDoesMinecraft

  • Avatar of xXLupoXx xXLupoXx Sep 05, 2014 at 12:35 UTC - 0 likes

    @zachrywilsn: Go

    Is there even a build with working monsters yet? The bukkit download page is down cause of the DMCA thing...

  • Avatar of zachrywilsn zachrywilsn Sep 05, 2014 at 10:00 UTC - 0 likes

    @xXLupoXx: Go

    Bunnies? I can donate again and Guardians?

  • Avatar of zachrywilsn zachrywilsn Jun 17, 2014 at 10:37 UTC - 0 likes

    Thanks So Much For Adding The Jockey's!

  • Avatar of pepper82 pepper82 Jun 11, 2014 at 16:34 UTC - 0 likes

    Does not work with horses -.-

    I wanted to disable natural spawning of horses !

    Last edited Jun 11, 2014 by pepper82


    German Minecraft Server [RPG][PVP][SURVIVAL][+MANY FEATURES]
    Minecraft RPG Survival PvP Server

  • Avatar of xXLupoXx xXLupoXx May 25, 2014 at 07:56 UTC - 0 likes

    @sakura_blades: Go

    Yes I added this after he asked ;)

  • Avatar of sakura_blades sakura_blades May 25, 2014 at 07:04 UTC - 0 likes

    @zachrywilsn: Go

    Features:

    • Prevent any mob you don't like form spawning
    • Very easy to use
    • Works with multiworlds
    • Configure each world individual
    • Edit config on the fly!
    • Block mobs from specific blocks
    • Spawn mobs with a command though they are blocked!
    • Permissions support!(Vault, Bukkit Permissions and OP)
    • Optional limit the number of Mobs
    • Allow/Deny spawner Eggs
    • Allow/Deny spawns from spawners
    • Allow/Deny jockey spawns
    Last edited May 25, 2014 by sakura_blades
  • Avatar of zachrywilsn zachrywilsn May 14, 2014 at 02:43 UTC - 0 likes

    @xXLupoXx: Go

    Can you add or does this already allow the non-spawning of the mobs that ride mobs like chickenjockeys etc? if not would it be possible to add. I have a donate button ready to hit, just pm me if yah can add that ability.

  • Avatar of xXLupoXx xXLupoXx Mar 31, 2014 at 18:27 UTC - 0 likes

    @allix8: Go

    Sorry, this only officially supports bukkit, so mobs other than original minecraft will break the whole thing

Facts

Date created
Nov 22, 2011
Categories
Last update
May 15, 2014
Development stage
Release
Language
  • enUS
License
MIT License
Curse link
NoSpawn
Downloads
15,293
Recent files

Authors