[INACTIVE][ADMN] SpawnMob v1.4.1

Discussion in 'Inactive/Unsupported Plugins' started by xmlns, Jan 23, 2011.

Thread Status:
Not open for further replies.
  1. Offline


    I used hey0's /spawnmob command a lot, and I haven't found /spawnmob for bukkit, so I created my own. This plugin uses nijikokun's Permissions plugin if you have it; otherwise, it uses ops.txt. Most plugins are built with bukkit.jar in the path, but SpawnMob is built with craftbukkit.jar so that it can call functions not in the API. Thanks to NathanWolf for saying to use world.a(e) because I was unable to get this to work until I saw his post. (This doesn't let me upload jarfiles so I put the plugin in a zip.) Source

    /spawnmob <mob name>[:<slime size> || ;<mob that is riding>] [amount of mobs]
    This syntax is probably confusing, so I'll give some examples:
    - /spawnmob Chicken;Giant 5 will spawn a giant riding a chicken
    - /spawnmob Slime:5 will spawn five huge slimes
    NOTE: Right now, you can't spawn slimes riding other mobs or vice versa.

    /mspawn <mob name>
    while looking at a mob spawner.

    Mob List:
    -Giant (not in /mspawn)
    -Slime (not in /mspawn)

    - spawnmob.spawnmob.<mob type || mob category (friendly || neutral || enemy)>
    - spawnmob.mspawn.<mob type>
    - spawnmob.spawnmob.neutral
    - spawnmob.mspawn.pig
    NOTE: Permissions is case-sensitive, so you have to type 'spawnmob.spawnmob.pig' and not 'spawnmob.spawnmob.Pig' or 'SpawnMob.spawnmob.pig'.

    Allow slimes to ride and be ridden.
    Allow the spawning of mobs riding other mobs.
    Allow the changing of mob spawner types.

    Now 1.4.1!
    -Attempted to fix a bug involving Permissions.
    -Fixed Giant spawning.

    -Mobs spawn at the pointer.

    -Updated to the newest version of Permissions. You have to update too.

    -Just another fix for a bug caused by my carelessness. The bug was that I didn't catch a NoClassDefFoundException when Permissions wasn't found.

    -I realized that I had never called the setupPermissions() method, causing the plugin to use ops.txt instead. Fixed.

    -Fixed PigZombie spawning.
    -Added the ability to spawn mobs riding other mobs.

    -Added /mspawn using toimelin's TargetBlock.java.
    -Changed Permissions.

    -Added variable slime sizes with "/spawnmob Slime:size" (any integer greater than one works)
    -Instead of saying "2 Pig(s) spawned." and "2 Sheep(s) spawned." it says "2 pigs spawned." and "2 sheep spawned."
    -Permissions are more customizable, i.e. "spawnmob.squid" or "spawnmob.neutral"

    Known bugs:
    -Slime size rendering
    -A mob spawner will continue to spawn pigs after its type is changed. The pigs will be invincible and will disappear on a chunk reload. This is similar to the mob spawner behavior on a server with animals off.

    New Project Link:


    Attached Files:

    Nick Foster and MationMac like this.
  2. Offline


    i try the command /spawnmob pig, and it says unable to spawn mob. It probably doesn't work for other mobs either... so please help!! thanks.
  3. Offline


    HAHA, version 1.0 is running with #188 ;)

    so, #188 latest version:
    /butcher from WorldEdit doen't kill slimes.
    The first big Slime, I can kill, the small slimes won't die, can't kill them, lava or /butcher doesn't kill them too.
  4. Offline


    Fixed Giants. Still 1.4.1. Update.
  5. Offline


    how do u add slimes and giants in permission or do u not have to?
    Plus I tried the op thing i deleted all things in permission for this i am a op on the paper but i cant spawn the things says im not permitted what do i do :(
  6. Offline


    Works with #207
  7. Offline


  8. Offline


    is there any way you can edit it so you can remove the light requirement for mobs to spawn?
  9. Offline


    I am getting this error in my console when I use /mspawn

    Feb 3, 2011 12:09:00 AM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_COMMAND to SpawnMob
    java.lang.NoSuchMethodError: org.bukkit.entity.MobType.fromName(Ljava/lang/Strin
            at org.bukkit.xmlns.spawnmob.SMPlayerListener.onPlayerCommand(SMPlayerLi
            at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.ja
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:547)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:523)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:65)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
  10. Offline


    Same here, this is the error I get also:

    Feb 3, 2011 4:27:10 PM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_COMMAND to SpawnMob
    java.lang.ArrayIndexOutOfBoundsException: 1
            at org.bukkit.xmlns.spawnmob.SMPlayerListener.onPlayerCommand(SMPlayerLi
            at org.bukkit.plugin.java.JavaPluginLoader$3.execute(JavaPluginLoader.ja
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:590)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:563)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:71)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:276)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:202)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    The Bukkit version I am using is, 188
  11. Offline


    Works with #238
  12. Offline


    does the mob monster get added?
  13. Offline


    please add the mob Monster (Human) again...
  14. Offline


    Apparently /spawnmob now conflicts with Essentials' /spawnmob, making the ridable feature useless.
  15. Offline


    Can you make it so you can limit how many mobs the mob spawner spawns?
  16. Offline


    Hi. I downloaded your plugin and Uploader to the server.
    I plug LWC WorldEdit WorldGuard sethome godpowers whitelist and your spawn, and the monsters.
    After installing the spawn mobs stopped me to run the following plugins:
    -sethome / home

    Please help me because I do dnot know what to do and I want to have mobs spawn on the server.

    I look forward to your prompt response
  17. Offline


    Do I Have To Change The Permissions Folder Or Just Install It To The Plugin Folder?
  18. Offline



  19. Offline


    The author hasn't updated in a week. So i guess I'll help him out a bit.
    Please take note of what HE wrote, since it seems quite a few of you don't bother reading it all.

    Known bugs:
    -Slime size rendering
    -A mob spawner will continue to spawn pigs after its type is changed. The pigs will be invincible and will disappear on a chunk reload. This is similar to the mob spawner behavior on a server with animals off.

    In n00b language it means don't make mob spawners right now with this plugin added. If your overwhelmed with invincible pigs, just destroy the spawners, and reboot... or walk far away.

    If its a horde of Slimes, trap them in lava, or reboot.

    Ghasts will linger in the server until killed by a player or lava, rebooting WILL NOT HELP YOU. Not even WorldEdit's butcher command will get rid of them, though it does a wonderful job killing any other aggressive mob.

    Also, with CraftBukkit 271 (the latest as of this post) it seems spawning mobs no longer work. Not 100% which version it stopped working at, but i know it worked for 251.

    In summary, if you running the latest version CraftBukkit, this plugin is useless to you right now until updated.
    Kayonesoft and rizz360 like this.
  20. Offline


    Don't work with #289.
    Nor Errors on serverstart, but if I use the commands, many java errors.
  21. So, yet another plugin to wait and watch for fixes :)
  22. Offline


    dosent work i tryed /spawnmob pig 5 nothing happened then i tryed /spawnmob 1 2 then it said invialid mob
  23. Offline


    I'm really hoping this gets fixed up.
  24. Offline


    Doesnt work with 290 either
  25. Offline


    CB#289, still working flawlessly. Can span mobs, including mobs riding other mobs and can still change mobspawner settings.

    Using Essentials, too, btw.
  26. Offline


    no, it's broke
  27. Offline


    Not for me, as I've said.
  28. Offline


    How do you know it isn't Essential's /spawnmob that's working? Aren't they still conflicting?
  29. Offline


    Its certainly not this plugin thats working, its essentials version. Try removing essentials and i promise it won't work.
  30. Offline


    So why can I still change the mobspawners and still can spawn mobs riding on other mobs?
  31. Offline


    is your bukkit up to date? what function are you using? what addons do you have? bukkit 302- 270 it doesnt work i mean at all. both functions complete not working.
Thread Status:
Not open for further replies.

Share This Page