MobSpawn
MobSpawn allows you to create custom mob spawners, no longer you will need to keep spawning mobs for your players let this do the work for you, just create a spawner and that's it. It will spawn mobs to reach the amount you want, after the time you want it will respawn them again.
Commands:
- /MScreate <spawn name> <mob> <amout> <time> : This will create a spawner at the player location replenishing the mobs at the given time.
- /MSedit <spawn name> <mob> <amount> <time> : This will edit the selected spawn to the new values.
- /MSReload : Cleans up the mobs and updates the spawners.
- /MSDelete <spawn name> : Deletes the spawner.
- /MSCE <spawn> <config node>:<value> ... [configNode]:[value] : Edits the specified node in the spawn configuration to the assigned value.
- /MSList : List all the spawners.
- /MSView <spawn> : Lists the specifications for the spawner.
- /MS : Shows all commands.
Permissions:
- mspawn.create: Allows the use of the /MScreate command.
- mspawn.customedit: Allows the use of the /MSCE command.
- mspawn.delete: Allows the use of the /MSdelete command.
- mspawn.edit: Allows the use of the /MSEdit command.
- mspawn.list: Allows the use of the /MSList command.
- mspawn.listcommands: Allows the use of the /MS command.
- mspawn.reload: allows the use of the /MSReload command.
- mspawn.view: allows the use of the /MSView command.
Spawns.yml
Source code
WARNING
- When the spawn is created the enchantments are wrong, they aren't defined by their name, but by their ID's. Please see the page above(Spawns.yml)
TODO:
- - Change the commands. (/ms create instead of /mscreate)
- - Optimization.
- - Be able to set mob health on spawn.
Estou com um erro interno no plugin!Aconteceu quando eu criei meu 4 spawn! sabe me dizer o que pode ter ocorrido isso?
This is crashing my sever. :( I love the plugin, however, so please update!
2013-06-10 18:15:17 [SEVERE] "Silently" catching entity tracking error. 2013-06-10 18:15:17 [SEVERE] net.minecraft.server.v1_5_R3.ReportedException: Adding entity to track 2013-06-10 18:15:17 [SEVERE] at net.minecraft.server.v1_5_R3.EntityTracker.addEntity(EntityTracker.java:118) 2013-06-10 18:15:17 [SEVERE] at net.minecraft.server.v1_5_R3.EntityTracker.track(EntityTracker.java:69) 2013-06-10 18:15:17 [SEVERE] at net.minecraft.server.v1_5_R3.WorldManager.a(WorldManager.java:18) 2013-06-10 18:15:17 [SEVERE] at net.minecraft.server.v1_5_R3.World.a(World.java:958) 2013-06-10 18:15:17 [SEVERE] at net.minecraft.server.v1_5_R3.WorldServer.a(WorldServer.java:791) 2013-06-10 18:15:17 [SEVERE] at net.minecraft.server.v1_5_R3.World.addEntity(World.java:951) 2013-06-10 18:15:17 [SEVERE] at org.bukkit.craftbukkit.v1_5_R3.CraftWorld.spawn(CraftWorld.java:1018) 2013-06-10 18:15:17 [SEVERE] at org.bukkit.craftbukkit.v1_5_R3.CraftWorld.spawn(CraftWorld.java:792) 2013-06-10 18:15:17 [SEVERE] at org.bukkit.craftbukkit.v1_5_R3.CraftWorld.spawnEntity(CraftWorld.java:339) 2013-06-10 18:15:17 [SEVERE] at com.gmail.gkovalechyn.mspawn.SpawnItself.checkAmount(SpawnItself.java:96) 2013-06-10 18:15:17 [SEVERE] at com.gmail.gkovalechyn.mspawn.SpawnItself.run(SpawnItself.java:52) 2013-06-10 18:15:17 [SEVERE] at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftTask.run(CraftTask.java:53) 2013-06-10 18:15:17 [SEVERE] at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) 2013-06-10 18:15:17 [SEVERE] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 2013-06-10 18:15:17 [SEVERE] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 2013-06-10 18:15:17 [SEVERE] at java.lang.Thread.run(Unknown Source) 2013-06-10 18:15:17 [SEVERE] Caused by: java.lang.IllegalStateException: Entity is already tracked! 2013-06-10 18:15:17 [SEVERE] at net.minecraft.server.v1_5_R3.EntityTracker.addEntity(EntityTracker.java:98) 2013-06-10 18:15:17 [SEVERE] ... 15 more 2013-06-10 18:26:57 [SEVERE] net.minecraft.server.v1_5_R3.ReportedException: Ticking entity 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:567) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) 2013-06-10 18:26:57 [SEVERE] Caused by: java.lang.NullPointerException 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.Chunk.a(Chunk.java:720) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.World.getEntities(World.java:2275) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.World.getEntities(World.java:2262) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.World.getCubes(World.java:1034) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.Entity.move(Entity.java:553) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.EntityLiving.e(EntityLiving.java:1083) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.EntityLiving.c(EntityLiving.java:1332) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.EntityMonster.c(EntityMonster.java:20) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.EntityZombie.c(EntityZombie.java:116) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.EntityLiving.l_(EntityLiving.java:526) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.EntityMonster.l_(EntityMonster.java:24) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.EntityZombie.l_(EntityZombie.java:135) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.World.entityJoinedWorld(World.java:1355) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.WorldServer.entityJoinedWorld(WorldServer.java:614) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.World.playerJoinedWorld(World.java:1336) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.World.tickEntities(World.java:1224) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.WorldServer.tickEntities(WorldServer.java:480) 2013-06-10 18:26:57 [SEVERE] at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:563) 2013-06-10 18:26:57 [SEVERE] ... 4 more 2013-06-10 18:26:57 [SEVERE] Encountered an unexpected exception ReportedException net.minecraft.server.v1_5_R3.ReportedException: Ticking entity at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:567) at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226) at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.NullPointerException at net.minecraft.server.v1_5_R3.Chunk.a(Chunk.java:720) at net.minecraft.server.v1_5_R3.World.getEntities(World.java:2275) at net.minecraft.server.v1_5_R3.World.getEntities(World.java:2262) at net.minecraft.server.v1_5_R3.World.getCubes(World.java:1034) at net.minecraft.server.v1_5_R3.Entity.move(Entity.java:553) at net.minecraft.server.v1_5_R3.EntityLiving.e(EntityLiving.java:1083) at net.minecraft.server.v1_5_R3.EntityLiving.c(EntityLiving.java:1332) at net.minecraft.server.v1_5_R3.EntityMonster.c(EntityMonster.java:20) at net.minecraft.server.v1_5_R3.EntityZombie.c(EntityZombie.java:116) at net.minecraft.server.v1_5_R3.EntityLiving.l_(EntityLiving.java:526) at net.minecraft.server.v1_5_R3.EntityMonster.l_(EntityMonster.java:24) at net.minecraft.server.v1_5_R3.EntityZombie.l_(EntityZombie.java:135) at net.minecraft.server.v1_5_R3.World.entityJoinedWorld(World.java:1355) at net.minecraft.server.v1_5_R3.WorldServer.entityJoinedWorld(WorldServer.java:614) at net.minecraft.server.v1_5_R3.World.playerJoinedWorld(World.java:1336) at net.minecraft.server.v1_5_R3.World.tickEntities(World.java:1224) at net.minecraft.server.v1_5_R3.WorldServer.tickEntities(WorldServer.java:480) at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:563) ... 4 more 2013-06-10 18:26:57 [SEVERE] This crash report has been saved to:
Sorry about the spam, it was a long error.
Great plugin! I just wished it didn't keep chunks loaded all the time, to continuously spawn mobs while we're away xD Really enjoying this on our server! Thank you for this plugin!
@jmartin657 Wow, what a jerk.
This is neat.. but is there any way to tell the spawner to check a radius for the mobs and if they already exist.. dont spawn any more ? My dungeon room had like soo many mobs you couldnt see after awhile :)
For example if you have a spawner that creates 4 skeletons every 10 minutes /mscheck <radius> would check the count of skeletons nearby before spawning and only spawn what is needed to hit the required number..
Rage quit
@jmartin657
Then create a ticket.
Not working on 1.4.7 :(
"An internal error occurred while attepmting to perform this command."
it still doesn't work. 2 normal zombie spawns work, but as soon as I do a spawn of zombie pigmen and type /msreload I have a red error message saying "An internal error occurred while attepmting to perform this command."
and another question, how do you reduce the spawn radius?
Hi, mobspawn is one of the newest plugins we have on our server and has been a ot of fun! However, I keep getting random crashes. We are running CB 1.4.7 r1.
Here is the crash report: http://pastebin.com/M8j3c7sr
I took mobspawn off the server for about a day. No crashes. It has become an integral part of the theme of our server, so if there is a fix or a dev version you would like testing help with. Let me know. THX!
O plugin está funcionando na 1.4.7? Está dando diversas vezes erro =/ @Edit: Desculpa, foi engano meu, só aparecia erro de não estar atualizado mas funcionou perfeitamente =)
@esMisiek
Zombie pigman is: "pig_zombie"
Hey, I want to create a spawner of Zombie Pigmen but i tried everything in the /mscreate <name> [MOB] ... bit and I can't find an appropriate naming for them? Apart from that, this plugin is great! Especially for making VIP and/or SuperVIP spawners ;)
@jmartin657
Could you try the latest version (0.6.4) and see if the error is still there?
@gkovalechyn
The world is loaded and I believe it does have to do with one of the spawners mob names being incorrect, because if i remove the spawns.yml the error is gone.
Only problem is finding which one is misspelled -_-
@jmartin657
Is the world the spawner is in loaded? and is the mob name correct?
Keep getting this error every few seconds..... endlessly the plugin seems to be working though... I think i get the message once one of the spawners create a mob possibly ?
18:49:09 [INFO] This server is running CraftBukkit version git-Bukkit-1.4.6-R0.3 -b2586jnks (MC: 1.4.6) (Implementing API version 1.4.6-R0.3) 18:49:09 [INFO] [MobSpawn] Loading MobSpawn v0.6.3 18:49:12 [INFO] [MobSpawn] Enabling MobSpawn v0.6.3 18:49:12 [INFO] [MobSpawn] Original english version by: gkovalechyn 18:49:13 [SEVERE] Exception in thread "pool-1-thread-2" 18:49:13 [SEVERE] org.apache.commons.lang.UnhandledException: Plugin MobSpawn v0 .6.3 generated an exception while executing task 20 at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftAsyncTask.run(CraftAsync Task.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at org.bukkit.craftbukkit.v1_4_6.CraftWorld.spawnEntity(CraftWorld.java: 336) at com.gmail.gkovalechyn.mspawn.SpawnItself.run(SpawnItself.java:62) at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftTask.run(CraftTask.java: 53) at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftAsyncTask.run(CraftAsync Task.java:53) ... 3 more
Awesome plugin works great! I like the fact that I can create invisible spawners, as well as the huge customization.
@CapBlackShot
Deve estar funcionando. A configuração dos spawns não estava sendo atualizada quando um spawn era criado.
Edit 1: Se ainda estiver tendo o problema com a última atualização me adicione no skype: ***(não quero que todos tenham o meu skype).
@gkovalechyn
Ele está funcionando corretamente? Aquele problema que eu estou tendo é conflito com algum plugin?
@CapBlackShot
Como assim? A única coisa que eu ainda tenho que fazer nele é mudar os comandos.