CustomSpawners
CustomSpawners
20K DOWNLOADS! You are all fantastic.
What is CustomSpawners?
CustomSpawners lets you make any block a mob spawner! These spawners can be of any type, have many configurable properties, and can be hidden because materials like stone, grass, even air can be a spawner block! After creation, you can use it like in-game MCEdit to make custom mob spawner blocks too!
The mob types can be customized as well. Create mobs for your spawners like giant slimes that have only half a heart of health, different colored sheep, and if you want the ultimate boss, try giants or charged creepers with damage resistance and regeneration potion effects! You can even change how mobs take and deal damage!
Some Ideas for CustomSpawners:
- Make multiplayer dungeons with mobs that only appear when you get close!
- Make arenas with powerful waves of mobs!
- Create puzzles that won't turn off a spawner until solved!
- Create entities that can only be damaged from certain items or objects!
- Make ultra-dynamic dungeons that change depending on the amount of players in them!
- Make Custom Mob Spawners in-game! (No MCEdit required!)
Getting Started
Tutorial Series Playlist on YouTube: http://www.youtube.com/playlist?list=PL7PtwLM1og9oiejuQ7RAAE0spHmIqLBKx
If you make a video about CustomSpawners, let me know and I could post it here!
Installing
Simply download the CustomSpawners jar file from the download button above, and drop it in you plugins directory. Make sure you only have one version of CustomSpawners in the directory. After that, you can refer to the configuration page on the wiki for configuration of the plugin.
Basic Usage
I strongly recommend watching the tutorial series! I go into much more depth there.
To make a spawner, follow these steps!
- Login to your server.
- Run the command "/cse create <type of entity>" where "<type of entity>" is a mob like a pig or zombie. Note the GOLD ID number printed on screen.
- Select the entity with "/cse select <id>" where "<id>" is the golden ID given to you.
- You can set properties to the mob now, all of which are listed on the wiki.
- Now look at the block you want to make a spawner on, and run "/css create". You will see a ID number in gold for the spawner too.
- Select the spawner with "/css select <id>" where "<id>" is the golden spawner ID given to you.
- Make the spawner work in any light level by running "/css maxlight 15".
- Turn on the spawner with "/css on" and watch the mobs spawn!
Some other useful commands:
- "/customspawners" - displays the plugin info, and provides links to the main page for CustomSpawners and thebiologist13's BukkitDev profile.
- "/css on [id]" - Turns a spawner on.
- "/css off [id]" - Turns a spawner off.
- "/css listall" - list all the existing spawners and locations.
- "/cse listall" - list all the existing entities and their names if they have one.
- "/css setname [id]" - gives a spawner a name so it is easier to find.
- "/cse setname [id]" - gives an entity a name so you can identify it easier.
Development and Downloads
CustomSpawners is currently in Beta and may have a few bugs here and there. Many features will be modified, added, or improved on soon! You can download these versions from the download button above.
CURRENT VERSION IS: 0.5 BETA
If you find any bugs, errors, or generally odd behavior, please create a ticket. You can also PM me or send me an email ([email protected]). Please include any error stacks, crash reports, what caused the error, and a description of what happened. Thanks!
Known bugs and changelog can be found on the file details: http:dev.bukkit.org/server-mods/customspawners/files/33-custom-spawners-v0-4-2/.
Source for CustomSpawners is on Github! https:github.com/thebiologist13/CustomSpawners
Want to Add Economy Features?
CustomSpawners now has a extension to allow buying/selling of spawner blocks! Just download CustomSpawnersEco!
Finally, thanks to Yolju and others for ideas on updates! I will be adding more each update!
Wiki
Check out the new CustomSpawners Wiki on Github! I am now putting plugin usage, commands, permissions, configuration, and other info on there. https:github.com/thebiologist13/CustomSpawners/wiki/
FAQ
CustomSpawners now has a FAQ! I've answered a lot of questions there.
https:github.com/thebiologist13/CustomSpawners/wiki/FAQ
Donations
Hey! I would really, really, REALLY appreciate it if you could donate to CustomSpawners. It helps a ton, because these things take months to make and are hard to maintain.
Also, I like doing this and don't want a real job XD.
As an added bonus, donors have the option of having their name listed here and when "/customspawners" is run on any server with CustomSpawners! If you are already a donor, or donate now, just email me (from the email account you donated from) with your Minecraft username and I will add it to the list!
Click the Button on the top right above download to donate via PayPal!
Donors:
pongleung
GleeCraft
Insanehero (Block Empires Server)
Zaxuno (Variant Server - mmovariant.es)
Upcoming Features
- Bugfixes! (Will this ever go away? :D)
- More economy stuff like give spawner commands!
- Pick up custom spawner blocks!
- Custom path finding, AI, and waypoints for mobs!
- Particle effects!
- Spawn cycles!
- A lot of other things!
- Other things suggested or pointed out in comments!
- Secret easter eggs!
Have Fun!
Hello, its me again... now with a problem i couldnt find to fix anyhow.
I want to have spawners with radius 0 (but they simply dont spawn after setting active), because i made a dungeon wich walls are very close together, i cant set spawners with radius 1 simply because they pop out of the walls or they pop inside and get damaged and die. So i need that radius 0 so they can spawn in a single block.
Another problem i have is (related to last one), i would like to set the spawn location to a block wich i destroy after setting the location, so mobs can spawn in the "air" where was the block previusly.
These two things would solve all my problems setting spawners to a fixed "air" block.
If that would be possible... it would be awesome.
@thebiologist13
Np! Thanks for looking into it!
@itsmethatswho
@XxBoonexX
Hi guys!
Yeah, I have had this problem in the past. I think somehow the mob becomes unassociated from the spawner, so when you come back it resets. Yet another thing for me to fix! :P
Sorry for taking a while for the next update btw, I have been really, really busy.
thebiologist13
@itsmethatswho
ya i have been having the same issue (b4 upgrading) cept it was with ghasts and other nether mobs on my nether island. it seems if you let them spawn and warp away and come back it like resets the count or something.
hmmm i don't seem to be able to get this to work on 1.4. my poor nether island is closed now lol. i look forward to the next update. great plugin btw.
Hi thebiologist,
Bit of a problem. I have a spawner that spawns 6 pigs within a 2 block radius. I have it set to where these pigs have no drops and all of that works perfectly!
Now the issue is that whenever I restart my server my pig spawner will now have 12 pigs and half of them will have drops while the other half will not. If I restart the server again there will be an additional 6 that are no longer the entities of the spawner. It's causing an issue mainly because my server restarts every night. Is there anyway I can opt to kill all spawner entities prior to a server restart? Or even keep this from happening somehow?
The pigs are beginning to take over...
Thanks!
P.S. In the next update will pigs from pig spawners be controllable by carrots on a stick? Because that would be fantastic!
@XxBoonexX
Hello!
Yes, CustomSpawners should work on the newer Bukkit builds for 1.4. However the new mobs added in 1.4 (witches, bats, etc.) will not work until I can finish the next update.
thebiologist13
sooo does this work for 1.4?
@Mysticaliptica
Hi!
You got it!
CustomSpawners can identify a entity by name or ID number, and you use the /cse command to modify entities, and /css to modify spawners. Also with the weird entity names, that is left over from an older version, pretty much anything works now (for example, zombie pigmen can be PigZombie or ZombiePigman).
Thanks for using CustomSpawners! :D thebiologist13
Errrr i posted these questions too early. I have found what light level is. And found almost every entity correct name, the rest didnt try it.
So nevermind? =)
It works thanks =) , so if im not mistaken, whenever i declare a new CSE with the "create" command, i just have to type the "name" (the ID works also?) of the entity i want right? If so, if i want to change the entity for any reason i have to do with CSE type command, is that correct?
A couple of questions more if you dont mind:
- You mentioned somewhere something about entities names being messed up like zombie pig for example. Wich ones are affected exactly? Because i use a different language than english and i can get a little confused.
- The other question is: what exactly "light level a spawner will spawn at." of light commands means? I get confused with this... light? what does light has to do with this? Unless you mean light in a different meaning wich i dont get.
Thank you in advance
@Mysticaliptica
Hi!
Sounds like a pretty simple fix.
Since a few versions back, I made it so you have to create a "SpawnableEntity" first before assigning it to a spawner (you can't just do "/css create <entity>" anymore. I did this so you can set more properties to mobs).
Try doing the following to create a zombie spawner:
1. /cse create zombie This will create a zombie spawnable entity. It will give it an ID number in gold lettering and print it on screen.
2. /cse select <id that was in gold lettering> This selects the entity for modification.
3. /cse setname myzombie This will set the name to "myzombie". After this, you can use the commands specified on the commands page to set properties.
4. /css settype myzombie This will set the type of spawned mob to the entity you just made.
If the problem persists, let me know. Also, CustomSpawners isn't updated for 1.4.2 mobs yet (will soon, just hang tight :D), so don't try those.
Hope I could help! thebiologist13
Hey there:
Everytime i try to set this command line: settype [id] <value> (/css settype [id] (name))
I get this error: "There is no spawnable entity with this name or ID.
Alright but I tried with every possible ID and entity Names but i keep getting this error.
Tried for example, ordinary zombi as Zombie, Zombi, zombie, zomb... IDs 383:54... 54... nothing.
Same with other entities, I cannot set any mob to a spawner.
I need some help here!
What is wrong?
Im running a Bukkit server 1.3.2-R3.0 with these plugins: (MC is 1.4.2)
- AutoGamemode
- EndReward
- EssentialsAntiBuild
- EssentialsChat
- EssentialsGroupBridge
- EssentialsGroupManager
- EssentialsProtect
- EssentialsSpawn
- NoLagg
- Nordic
- Tropic
- Vault
- WorldEdit
- WorldGuard
- zombiesurvival-R2.5
@ikGameDev
Hello!
The only way I can think of to solve this within the plugin is to set the spawn rate lower or make the spawn area smaller. That, or you can get a faster server if that's possible.
I am pretty sure the multiple spawns is because when the server lags, it would have to catch up on the spawning thread, which may not update the max mobs in time.
I hope I could help! thebiologist13
Just wanted to say I seem to have an issue where I think lag causes it to spawn double even triple the max mobs. Is their anyway to fix this?
@RCBASEBALL13
Greetings!
I have actually never tied in one of my plugins with other plugins, so this will be completely new to me xP. However, the next update will probably be tied into WorldGuard (for overrides and such), Multiverse (see other reported bugs), two new commands, and miscellaneous bugfixes. This is an ever-growing list though, so it might take 1 1/2 weeks at the least to release an update.
Thanks! thebiologist13
Do you think that you could possible make it so it can override WorldGuard? I like having no mobs spawn but when I want to use custom spawners I have to make a new region and set it and sometimes other mobs will even spawn there. I don't know, just a feature to suggest :D
@MountainKing24
Hello!
This is very strange with these errors. I am still looking into it, and will have a fix as soon as I can. :D I do think it is something with modified world loading or saving with multiverse, but I am not sure.
Thank for the additional error messages though, they help with the debugging a ton! thebiologist13
Same problem as others. Spawners are still working though, just constant scrolling error on the console. Your plugin is really great, just need to clean this up.
Plugin List (CommandBook, IslandWorld, ModifyWorld, Multiverse-Core, Multiverse-Inventories, Multiverse-Portals, Nethrar, Pex, SkylandsPlus, WorldEdit, WorldGuard)
Seems to start on a reload or server restart. I did no manual editing of yml files, all command line.
Thanks...
java.lang.NullPointerException
at com.github.thebiologist13.CustomSpawners$2.run(CustomSpawners.java:173)
at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:52)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:321)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:509)
at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:473)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:405)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
2012-10-26 11:45:14 [WARNING] [CustomSpawners] Task #6 for CustomSpawners v0.0.5 generated an exception
java.lang.NullPointerException
at com.github.thebiologist13.CustomSpawners$2.run(CustomSpawners.java:173)
at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:52)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:321)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:509)
at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:473)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:405)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
@jacobalford1995
Hi!
There is no way to delete all spawners from in game, however if you stop the server and navigate to the CustomSpawners directory, you can delete the .yml files for spawners to remove them.
thebiologist13