[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


    Theres an error with mspawn making PigZombie, I ended up just pasting it from schematic but
  3. Offline


    here is my config.yml I will have to post the server log a bit later. I will make sure to use the commands so they are captured in the log.

    Attached Files:

  4. Offline


    You don't need to put any nodes besides '*' in the Admins group. Same thing with your name. Also, 'mspawn.*' doesn't do anything. If you wanted to use it, it would have to be 'spawnmob.mspawn.*'. Anyone who's in the Default group with no extra commands doesn't need an entry in the file. The duplicate entries might be messing up Permissions. Try this revised file.
    --- merged: Jan 28, 2011 1:00 AM ---
    Also, some problems might be caused by Permissions's case-sensitivity. Make sure you type 'spawnmob.spawnmob.pig' and not 'SpawnMob.spawnmob.pig' or 'spawnmob.spawnmob.pig'.

    Attached Files:

  5. Offline


    Could you make a way to change the command /spawnmob to something else? It conflicts with Essentials =/

    fail. There's an option to disable commands in Essentials :D never mind!
  6. Offline


    My plugin is integrated into Essentials, so you don't need to have the standalone SpawnMob.jar if you have Essentials. You only need it if you have something like General.
  7. Offline


    /mspawn, mobs riding other mobs dont works on my server. I have newest craftbukkit and permissions... Ohh, I forgot, i cant kill slimes.
  8. Offline


    1.4.0 is out.
  9. Offline


    Will you be able to fix that some time? :)
    Or is that beyond your power because it's simply not possible or a problem with what Bukkit can do?
    Because we would like to build a Zoo and your Plugin seemed perfect for that matter. ;)
    We wanted to place mob spawners and edit them with your plugin. But they spawn too much, so the enclosures will get too crowded. XD
    But the phanatom pigs are more problematic as it's not very elegant when there are always pigs mixed in. :/

    If you'll be able to fix that some time in the future, I'll keep an eye on this thread. ;)
  10. Offline


    The phantom pigs, I believe, have something to do with the way Bukkit changes the block data. The server knows what the correct type is and spawns it but sends the client a packet saying that it's a pig spawner. For some reason, the client preemptively renders pigs before the server actually spawn them, probably to reduce lag.
  11. Offline

    Lime Studios

    Is it just me or can no one kill the stuff the spawn?
  12. Offline


    So we have to wait and hope Notch changes the way the client behaves.
    Thanks for the detailed explanation. ;)

    @ Lime: Read back a few pages. It's the same problem I am facing. How the server acts and the client thinks the server would act, are not in sync. So the client spawns pigs (and probably other mobs too) that are not killable.
  13. Offline

    Shay Williams

    False, your plugin spawns the mobs wherever the player is pointing, Essentials just spawns them on-top of you.
  14. Offline


    Someone has to update the Essentials code first. If you want updates as fast as possible, you might want to use the standalone.
  15. Offline


    I am so glad someone made this plugin. I missed being able to rain 100 cows onto unsuspecting players.

    I am having a problem with spawn cages, and I don't know if it is due to how the spawn cages work or not. I place the cage on grass and it'll spawn anything I want all day long. I place it on bedrock and it won't spawn anything.
  16. Offline


    Hey i need some help..... ive benn trying to get this to work for quite a while now. I think i have the permissions working, but whenever i try to spawn a mob it says: Unable to spawn mob. Any ideas? really want some help so i can have a ghast rideing a spider/chicken riding a Ghast
  17. Offline


    Great Plugin.But can you please add mobs Monster and Mob to mobs list?
    It will be good for building cities.
  18. Offline


    Animals need grass under the spawner (and in a certain area around it?), unless you try to spawn squibs. Enemy mobs don't need grass afaik, so they should be spawnable everywhere.
  19. Offline


    Permissions add this
    - spawnmob.spawnmob.<mob type || mob category (friendly || neutral || enemy)>
    - spawnmob.mspawn.<mob type>

    in game message

    /spawnmob blahblah 'You can't use this command'
    /mspawn - 'You are not authorized to use this command'..

    another admin commands are works..
    but only this spawnmob plugin doesn't working help TT
  20. Offline


    Oh, And just incase i was doing somthing wrong, i just tried adding
    - spawnmob.spawnmob.<mob type || mob category (friendly || neutral || enemy)>
    - spawnmob.mspawn.<mob type>

    any ideas?
  21. Offline


    can you please add the "Monster" (Human)...
  22. Offline


    You're not really adding "- spawnmob.spawnmob.<mob type || mob category (friendly || neutral || enemy)>"
    are you? That line explains how you should added...not what to add. Insert something like "- spawnmob.spawnmob.pig" and then add "- spawnmob.spawnmob.cow" and on and on until you've added them all. That way you can give a player the right to spawn chickens, but nothing else.
  23. Offline


    I'm getting some strange Permissions problems as well. At this point, it seems like it's only working for Ops on the server. I was the only Op on my server, and I could use the command just fine. I provided the permission for /spawnmob in the config.yml for the Permissions plugin, and the users in those groups cannot use the command, "You can't use this command."

    I have version 1.9 of the Permissions plugin, version 1.4.0 of your plugin and build 166 of CraftBukkit powering my server, but it seems that Ops are the only ones that can use the command. I've tried giving groups access to both spawnmob.spawnmob.* and I've tested with spawnmob.spawnmob.pig, in case it just wasn't liking the wildcard, but no-go in either case. I've seen other plugins actually indicate on server-startup that the Permissions plugin was detected and is in use, but I saw no such output from your plugin, just the fact that it was enabled at startup. Let me know if I can provide any other information!
  24. Offline


    I think 1.4.1 fixes the Permissions.
  25. Offline


    no im not..... But i think 1.4.1 might fix this, going to go try
    EDIT: Oh noes same thing!
  26. Offline


    Anyway to get Monster/human mob to spawn again
  27. Offline


    I just found out its not permissions, Its bukkit! is this not compatible with the most up to date version?
  28. Offline


    NathanWolf just PMed me with something about a new update. I'm going to take a look at it.
  29. Offline


    When I enter the amount of mob I want to spawn, it spawns double. Please fix this.
  30. Hello, FYI Giant minecraft entity is now GiantZombie not ZombieSimple
  31. Offline


    Hey Im confused here i think i wrote the commands the right way in permissions cause i can alter what spawns out of mob spawner but i cant just spawn a mob it doesnt notify me of anything happening when i type the command in
    is it - 'spawnmob.spawnmob.zombie' or - 'spawnmob.spawnmob.zombie*' ? and can someone show me exactly how to spawn mobs riding mobs? like the comman for permission and the in game command
Thread Status:
Not open for further replies.

Share This Page