Inactive [ADMN/MECH] NoSpawn v1.5.3 - Stop mobs from spawning [1000]

Discussion in 'Inactive/Unsupported Plugins' started by xXLupoXx, Apr 22, 2011.

  1. Offline

    xXLupoXx

    GreyBishop likes this.
  2. Offline

    Del43

    Wow, that was fast. Works great. Thanks again. :)

    The commands are getting very long though, might be better if you add denyspawn, so that one
    could type "/nospawn denyspawn world Mobname" instead of "/nospawn allowspawn world Mobname allow". This is just for convenience though.

    One thing I noticed is, that if you use allowspawn to change the value the config file gets updated, but the quotes in the BlockBlacklist get removed.

    So if you had:
    Code:
            BlockBlacklist:
                Monster: '1'
                Animal: '1,2'
    
    It will be
    Code:
            BlockBlacklist:
                Monster: 1
                Animal: 1,2
    
    after using allowspawn. This will result in the BlockBlacklist not working, right?
     
  3. Offline

    xXLupoXx

    You are right it won't work properly... I didn't notice that and will look into it
     
  4. Offline

    AdmiralKnight

    I was kinda hoping for the same thing. Ther are a couple plugins that allow you to spawn monsters (Essentials, VoxelSniper etc) but of course, when mobs are disabled in the server properties, none of them work. Is there any way this can be used to bypass that issue?
     
  5. Offline

    xXLupoXx

    I will try to create a own command to bypass the spawnprotection

    Fixed the Blacklist please replace the "," in the blacklist with a ";"

    If there are more than one entries in the blacklist it will delete the quotes but the plugin will still load the blacklist

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  6. Offline

    Ruinheart

    Is it possible to disallow only one type of mob to spawn on a certain block? like I want creepers spawning on sand but not zombies.
     
  7. Offline

    Del43

    Since you didn't really reply, will you add a denyspawn option to shorten the command (as I mentioned above)? I'd really appreciate it. ;)
     
  8. Offline

    xXLupoXx

    I will add this in the next update
    Sorry that I didn't answer you I think I've forgot it :p
    But yes this will be within the next update too.

    Tested and works with 766

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  9. Offline

    LingYun

    Thanks a lot for a great plugin :p
    I wanted to ask, will there be particular controls for each mob type? Like restrict squids or creepers to 50% only or a particular number? Somewhat like what crowd-control plugin did~
     
  10. Offline

    denace

    What about the invisible slimes bug? I tried 2 plugins before to prevent slimes from spawning, but on both my player got killed by invisible and immortal slimes. Did you tested you plugin for this bug?
     
  11. Offline

    xXLupoXx

    Updated to 1.4
    I've never noticed this bug so I didn't test it but I think it should work

    Like a rate? For example max. 50% of all mobs should be sheep etc?
     
  12. Offline

    denace

    Thanks, i will try it and report if there are invisible slimes.
     
  13. Offline

    LingYun

    Like limiting maximum amounts of a certain mob to a particular number~
    Instead of turning off, for example, sheep completely, we can limit their spawn to 20 entities at the same time~

    That's just an idea though :p

    [update] I just thought...
    The way u understood it... I mean the rate idea... About turning 50% of all mobs into sheep... That's epic in itself @[email protected] Now when I think about it - that's awesome too X)
     
  14. Offline

    Ruinheart

    Is there any way you could add both what the mob CAN spawn on and what the mob CANT spawn on? Lets say I want wolves to spawn on sand and not on grass, can you do that?
     
  15. Offline

    xXLupoXx


    Well I think I can make the limit ;)

    And about turning x% of the mobs into something... I think it would be a good command ;)

    Am I right that you want mobs to spawn on blocks they usually don't spawn on? I think thats not possible cause bukkit regulates where they spawn or not
     
  16. Offline

    NouvelleOrange

    This is a very very efficient plugin. Works perfectly with 766. Love it and recommend it to every server managers.
     
  17. Offline

    Jaypee

    This plugin reduce the total mobs? Like if there is 100 mobs in the world, if i remove the zombies it will me 80 mobs(exemple) or it will continue 100 mobs but without zombies(other mobs in place of zombie)?
     
  18. Offline

    Holylon

    Got an Error while typing in /nospawn:
    Code:
    11:14:20 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'nospawn' in plugin NoSpawn v1.4
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:278)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:682)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:645)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:639)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
            at me.xXLupoXx.NoSpawn.NoSpawn.onCommand(NoSpawn.java:87)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    
    Can u handle it?
     
  19. Offline

    xXLupoXx

    As far as I know there will be 100 mobs but without zombies so it will not cut the total number of mobs

    You get this if you only type /nospawn with nothing behind like despawn etc...

    I guess I can add an error message for this ;)
     
  20. Offline

    Holylon

    Only wanted to report, cause in console it do not look good^^
     
  21. Offline

    xXLupoXx

    Works on 798 and implemented and error message for /nospawn without an argument ;)
     
  22. Offline

    Futureproof101

    can u make the block backlist a whitelist?
    i only want them spawining on 1 material
     
  23. Offline

    Psychos

    I have a problem with console.
    If i type "nospawn despawn World Cow", in game, it's OK.
    but same command in console, don't work... Why ?

    And for the futur, need mob limiter :)
    Craftbukkit spawn mobs is so stupid (6 players and i kill 2000+ mobs with /butcher)
     
  24. Offline

    xXLupoXx


    Atm I filtered console comands cause I was too lazy for two different outputs :p

    I will add the limiter in the next version but atm I'm a little busy with my final exams, but after this I have a lot of time ;)

    Why? You could write all blocks you don't want on the blacklist and leave only this one it's the same if I make a whitelist but I probably add an inverter for the blacklist so it can be used as whitelist
     
  25. Offline

    Owned645

    Could you add in worldedit support so we can assign certain areas for creatures not to spawn? That would be amazing.
     
  26. Offline

    crispae

    Hey man. Have you tested your plugin in 1.6 with the nether enabled? My use for the plugin will be to stop zombie pigmen spawning on cobblestone, stone (or any 'normal' world blocks). I tried using this on one of the earlier bukkit releases and it created an entire new non-nether world when I used the portal.
     
  27. Offline

    Kruemelkatze

    Is possible to disable ordinary mob spawns (at night and unlit places) but still let monster spawners work?
     
  28. Offline

    xXLupoXx

    It works with Nether and 1.6 but it won't add a default config entry for the netherworld.
    You can use the commands too block/allow spawns to add them.

    I'm working on the new version with the moblimiter atm so I will fix the creation of the default config with this version.

    In a future version I will add it but why don't use worldguard? There is an option like this.

    For what I can tell, no.

    Updated see main post for changes

    818 compatible

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  29. Offline

    ToitagL

    Hello,

    Looking for a plugin to use instead of bMods, I tested yours. Everything went well, except when the server loaded my Warzone, where i got this :
    Code:
    2011-06-02 00:56:03 [SEVERE] Could not pass event CREATURE_SPAWN to NoSpawn
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:388)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:138)
        at com.tommytony.war.jobs.RestoreWarzonesJob.run(RestoreWarzonesJob.java:29)
        at com.tommytony.war.volumes.Volume.resetBlocks(Volume.java:153)
        at com.tommytony.war.volumes.Volume.clearBlocksThatDontFloat(Volume.java:546)
        at com.tommytony.war.volumes.Volume.switchMaterials(Volume.java:499)
        at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:60)
        at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:92)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:76)
        at net.minecraft.server.Chunk.addEntities(Chunk.java:470)
        at net.minecraft.server.World.a(World.java:1905)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:228)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.java.JavaPluginLoader$54.execute(JavaPluginLoader.java:619)
        at me.xXLupoXx.NoSpawn.NoSpawnEntityListener.onCreatureSpawn(NoSpawnEntityListener.java:27)
    Do you have an idea ?

    Thanks for your work ! Hope you can fix that :)
     
  30. Offline

    Owned645

    Oh my gosh oh my gosh thank you!! :D
     
  31. Offline

    Firelight7300

    Would Be Better if you can make the spawn command spawn mobs at where you're looking, not at where you are.
     

Share This Page