[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


    doesnt work w/ permiossions2.0 + craftbukkit432
  3. Offline

    Håkon bergset

    I cant use spawnmob i have all the permissions and i are using the newest bukkit mode. The server say that it is working but i cant use it
  4. Offline


    I am using the latest version of Bukkit (as of today) and the lastest server jar (1.3)
    I am using this in conjunction with Permissions.
    I am the only admin on my server.

    My Admin goup permissions looks like....

    default: false
    build: true
    - '*'

    /mobspawn works fine.
    /mspawn does not. if i were to say type /mspawn Zombie, I get
    "You are not authorized to use that command"

    As I should have full permission access under the admin group (and all other plugin commands work) why does this one command not seem to run ?

  5. Offline


    Great plugin !

    But I have a little bug.
    /mspawn don't seem to work with all mobs on my server.

    I can Spawnmob, but when I put a Monster Spawner, and, for example, I set "/mspawn Spider" (and I aim the block), no spider are spawning.

    Any idea ? :)
  6. Offline


    ----------------------------------------------------------New Version---------------------------------------------------------​
    Please update!​
    Find it Here
    This should solve all issues with /mspawn and /mobspawn, me myself have absolutely no issues at all with it on this version :D
  7. Offline


    I still get the stupidly long constructor message.
  8. Offline


    Nothing changed for me. It's impossible to spawn a spider with a Monster Spawner and /mspawn spider /mspawn spider -10 (or others values)

    I don't have any log about that. :/
  9. Offline

    The PC Tech Guy

    Hi jordanneil23,
    I updated to the 1.5.6 version, however it is saying that I cannot spawn this type of mob when I try to use any command for mobspawners or to spawn a mob in general. I'm suspecting your plugin doesn't work with Permissions 2.1? (I have previously used Permissions 2.0).
  10. Offline


    Are you using permissions 2.1 ?
  11. Offline


    how do i install this?
  12. Offline


    I still can't spawn slimes. :(
  13. Offline


    mspawn seems to work but /spawnmob doesnt seem to
    how exactly do i put it in all i get sometime is invalid mob type
  14. Offline


    Doesn't work
    (using GroupManager and newest craftbukkit)

    2011-02-25 21:30:48 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-459-g33fb4d6-b443jnks (MC: 1.3)
    2011-02-25 21:30:48 [INFO] Preparing level "AlienWorld"
    2011-02-25 21:30:48 [INFO] Preparing start region
    2011-02-25 21:30:49 [WARNING] Using the stupidly long constructor org.bukkit.xmlns.spawnmob.SpawnMob(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag the plugin author of SpawnMob to remove it! (Nothing is broken, we just like to keep code clean.)
    2011-02-25 21:30:49 [INFO] Hint! It's probably someone called 'xmlns'
    2011-02-25 21:30:49 [INFO] GroupManager - Scheduled Data Saving is set for every 10 minutes!
    2011-02-25 21:30:49 [INFO] GroupManager version 0.99b is enabled!
    2011-02-25 21:30:49 [INFO] Fake Permissions version 2.0 is enabled!
    2011-02-25 21:30:49 [INFO] SpawnMob version 1.4.1 enabled.
    2011-02-25 21:30:49 [INFO] [SpawnMob] Permission system enabled.
    2011-02-25 21:30:49 [INFO] Done (566748289ns)! For help, type "help" or "?"
    2011-02-25 21:30:52 [INFO] Unknown console command. Type "help" for help.
    2011-02-25 21:30:59 [INFO] 143 recipes
    2011-02-25 21:30:59 [INFO] davispuh [/] logged in with entity id 148
    2011-02-25 21:31:07 [INFO] davispuh issued server command: spawnmob
    2011-02-25 21:31:07 [INFO] Unknown console command. Type "help" for help.
    2011-02-25 21:31:14 [SEVERE] Could not pass event PLAYER_COMMAND to SpawnMob
    java.lang.NoSuchMethodError: org.bukkit.Server.getWorlds()[Lorg/bukkit/World;
        at org.bukkit.xmlns.spawnmob.SMPlayerListener.onPlayerCommand(SMPlayerListener.java:57)
        at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:150)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
        at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:651)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:601)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:595)
        at net.minecraft.server.Packet3Chat.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.a(SourceFile:230)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-02-25 21:31:14 [INFO] davispuh issued server command: spawnmob Spider 4
    2011-02-25 21:31:14 [INFO] Unknown console command. Type "help" for help.
  15. Offline


    Please don't attach downloads to the post. It's a huge pain for people who only have ssh/ftp access to add. Upload to dropbox or another prefered site that allows direct downloads
  16. Offline


    panderiz, I hope you know that the main posts version will never EVER be updated again so download this: My Post (The jar only file is totaly working the zip is outdated at the moment as I am trying to update it now)

    I am now making a new thread for the continuation of this plugin, I will post a link here when done. :D

    New thread here I will no longer be watching this one :D

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


    hey man pls help me...when i tipe /spawnmob Chicken: 5 a message with Invalid mob type...
    What must i do ?
    sorry for bad english...[​IMG]
  18. Offline


    how do you differ between this program and essentials, because i think that this command conflicts with the already installed spawnmob commands built into essentials, so when i try this command the server assumes i mean the Essentials commands and will not let me spawn mobs riding mobs
  19. Offline


    Please add support for CraftBukkitUpToDate!
    You just have to provide direct links for the jar and give them to the Plugin author!

    Please also support GroupManager additionally to Permissions
  20. Offline


    lol i dont think that works anymore
  21. Offline


    Not working i have minecraft 1.3 and i can spawn mob :S
  22. Offline


    I'm on CB 440 and using permissions and I have it set to this:

    group: Admin
    - '*'

    And I try to do: "spawmmob cow" and it says: "You can't use this command."
  23. Offline


  24. Offline


  25. Offline


    *facepalm* That's the new thread for SpawnMob with a new author, this one won't be updated.
    jordanneil23 likes this.
  26. Offline


    whenever I try to spawn something riding another thing it says this mob likes to be alone. :mad:
  27. Offline



    You know this post is no longer watched go here:
    --- merged: Mar 6, 2011 3:40 AM ---
    It's for that AND LOWER -_-
  28. Offline


    Hey guys, when i try load up this page, that is just white blank screen xD
  29. Offline


    Yup and don't know why it's doing that :(
  30. Offline


    This is an error I got,

    2011-03-06 09:25:31 [SEVERE] Could not load plugins/SpawnMob.jar in plugins: null
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodException: org.bukkit.xmlns.spawnmob.SpawnMob.<init>()
    at java.lang.Class.getConstructor0(Class.java:2706)
    at java.lang.Class.getConstructor(Class.java:1657)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:75)
    ... 8 more
  31. Offline


    same for me
Thread Status:
Not open for further replies.

Share This Page