[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

    xmlns

    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:
    -Chicken
    -Cow
    -Creeper
    -Ghast
    -Giant (not in /mspawn)
    -Pig
    -PigZombie
    -Sheep
    -Skeleton
    -Slime (not in /mspawn)
    -Spider
    -Squid
    -Zombie

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

    Goals:
    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.

    1.4.0:
    -Mobs spawn at the pointer.

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

    1.3.2:
    -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.

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

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

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

    1.1.0:
    -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:

    http://forums.bukkit.org/threads/admn-fun-spawnmob-v1-8-support-for-ops-txt-531.6010/
     

    Attached Files:

    Nick Foster and MationMac like this.
  2. Offline

    650david650

    *HELP*
    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

    Jobsti

    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

    xmlns

    Fixed Giants. Still 1.4.1. Update.
     
  5. Offline

    qlpwii

    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

    Jobsti

    Works with #207
     
  7. Offline

    EvilSeph

  8. Offline

    tikkiman777

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

    Moochie

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

    Code:
    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
    g;)Lorg/bukkit/entity/MobType;
            at org.bukkit.xmlns.spawnmob.SMPlayerListener.onPlayerCommand(SMPlayerLi
    stener.java:134)
            at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.ja
    va:135)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:201)
            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

    Blackswordsman

    Same here, this is the error I get also:

    Code:
    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
    stener.java:134)
            at org.bukkit.plugin.java.JavaPluginLoader$3.execute(JavaPluginLoader.ja
    va:133)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:60)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:213)
            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

    Jobsti

    Info:
    Works with #238
     
  12. Offline

    shadydeath999

    does the mob monster get added?
     
  13. Offline

    robertdiecry

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

    Daedalus`

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

    Legolas75893

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

    hubi300

    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
    -godpowers
    -whitelist

    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

    Trevdor

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

    nissehutt

    HOW DO I REMOVE THE MOBS?

    (caps)
     
  19. Offline

    chibirubara

    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

    Jobsti

    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

    uasmin

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

    LlmDl

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

    riuthamus

    Doesnt work with 290 either
     
  25. Offline

    Galrath

    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

    Daveyo

    no, it's broke
     
  27. Offline

    Galrath

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

    Mhalkyer

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

    chibirubara

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

    Galrath

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

    Daveyo

    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