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!
Hey, for some reason I can't get enderman or blaze spawners to work.. I enabled them in the config and activated the spawners, yet no matter how long I wait they wont spawn. Any ideas?
@pongleung
Hi!
That is a strange error, but I will definitely look into solving it for the next update. It does look like it should be easily fixed though.
@Hypertrax
That is also peculiar, I am making sure all the permissions work very well for the next update though. By the way, it looks like you are using bPermissions, right?
EDIT: Just looked into this, try giving yourself the following permissions (I forgot to add these to customspawners.*):
@Enjoicraft
I will make sure it works with mobcatch for the next update.
Thanks for these bug reports! I will get right to fixing them. :D thebiologist13
Please make this compatible with mobcatcher because I try to mobcatch the mobs but it won't work
it keeps saying that i have no permissions to use /cse. even tho i have set them in my files..
error: http://puu.sh/1IXOk here is the perm somewhere: http://puu.sh/1IXOY
hello ~ i got this error on console, and when i spawn a skeleton or spiderjockey, both of them dont having a weapon, they attack like a zombie
--Plugins (26)--Implementation : git-Bukkit-1.4.6-R0.3-b2586jnks (MC: 1.4.6) QuickShop : 3.2B Orebfuscator : 1.8.2 GroupManager : 2.0 (2.9.6) (Phoenix) WorldEdit : 11-29e3c6e NoCheatPlus : 3.8.8-b301 Towny : 0.82.0.5 Vault : 1.2.22-b277 WorldGuard : 748-e3dfc6a CoreProtect : 1.73 Permissions : 3.1.6 AntiXRay : 1.5.7 Scavenger : 1.16c AdvancedBans : 0.8 CustomSpawners : 0.0.5 LogOres : 1.0.2 Lift : 32 Essentials : 2.9.6 EssentialsProtect : 2.9.6 EssentialsSpawn : 2.9.6 LWC : 4.3.1 (b767-git-MANUAL) (November 15, 2012) EssentialsAntiBuild: 2.9.6 dynmap : 1.3-1467 Dynmap-WorldGuard : 0.30 xAuth : 2.0.26 EssentialsChat : 2.9.6 Dynmap-Essentials : 0.3019:39:32 [SEVERE] Could not pass event EntityExplodeEvent to CustomSpawners v0.0.6 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_4_6.Explosion.a(Explosion.java:220) at net.minecraft.server.v1_4_6.World.createExplosion(World.java:1611) at net.minecraft.server.v1_4_6.WorldServer.createExplosion(WorldServer.java:773) at org.bukkit.craftbukkit.v1_4_6.CraftWorld.createExplosion(CraftWorld.java:456) at org.bukkit.craftbukkit.v1_4_6.CraftWorld.createExplosion(CraftWorld.java:452) at org.bukkit.craftbukkit.v1_4_6.CraftWorld.createExplosion(CraftWorld.java:464) at org.bukkit.craftbukkit.v1_4_6.CraftWorld.createExplosion(CraftWorld.java:460) at com.earth2me.essentials.protect.EssentialsProtectEntityListener.onEntityExplode(EssentialsProtectEntityListener.java:215) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_4_6.Explosion.a(Explosion.java:220) at net.minecraft.server.v1_4_6.World.createExplosion(World.java:1611) at net.minecraft.server.v1_4_6.WorldServer.createExplosion(WorldServer.java:773) at net.minecraft.server.v1_4_6.EntityCreeper.j_(EntityCreeper.java:102) at net.minecraft.server.v1_4_6.World.entityJoinedWorld(World.java:1334) at net.minecraft.server.v1_4_6.WorldServer.entityJoinedWorld(WorldServer.java:548) at net.minecraft.server.v1_4_6.World.playerJoinedWorld(World.java:1315) at net.minecraft.server.v1_4_6.World.tickEntities(World.java:1193) at net.minecraft.server.v1_4_6.WorldServer.tickEntities(WorldServer.java:445) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:580) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NullPointerException at com.github.thebiologist13.listeners.MobExplodeEvent.onEntityExplode(MobExplodeEvent.java:38) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 33 more
@thebiologist13
Thank you for your efforts! :)
@lilchocobo
Hello Again!
I just checked the code and that is exactly what is happening :D
When you make an entity with an amount of health greater that what that mob would have in vanilla, it saves the extra health. Then, when it is damaged, it subtracts from the extra health, but not from the vanilla hit points, so you do not see the animation. I will make sure to make the damage animation show up all the time next update. :)
Thanks for pointing this out, also, I'm glad you like the plugin! thebiologist13
@thebiologist13
It just seems that the entity is not hurt in any way and that it takes no damage, but it does! I gave a zombie 100 healthpoints and I think the "hurt animation" only shows up when the entity's healthpoints reached an amount what's almost equal to the amount the entity basically has in vanilla. I added no blacklisted items or stuff like that, I just increased the healthpoints and I do not think that it could be a conflict between custom spawners and another plugin because I'm just running world guard / edit, vault, multispawn, weatherman and variable triggers and I would be surprised if one of them influences your plugin.
Thank you for your fast answer!
btw: A very great plugin in my opinion! :)
@lilchocobo
Hi lilchocobo!
By not damaging until the last few, do you mean the mob doesn't even show that it was hurt, or it is just taking longer than usual? If it is just taking a long time, the health value might be high, but otherwise that damage type might be disabled for it, either through invulnerability or a damage black/whitelist.
Let me know how this works out :)
@Dudesmall117
Hi Dudesmall117!
Thanks for using CustomSpawners! :D
The "/cse addeffect" parameters for <effect> are in the following order: <effect type> <effect level> <effect duration>. So if you wanted a pig with Speed 10 applied to it for 3 minutes, you would use "/cse addeffect [id] speed 10 3600". The 3600 is for duration because it is in server ticks, of which there are 20 a second. Pretty much all of the potion commands in CustomSpawners use the same order when asking for an effect parameter.
Hope I could help!
thebiologist13
@thebiologist13
I would like to thank you on your effort towards this plugin! I am using it now on my server and think it is a really useful tool to have. I have yet to find any problems with it but I have ran into some trouble. Please could you explain what the plugin requires you to type for the "cse addeffect" command. The help page just tells me I need to give an "<effect>" value but everything I have tried it tells me that I have typed something incorrectly, any ideas?
Hello thebiologist13 !
I think I found a bug: When I create a new spawnable entity it seems that I can't damage it until the last few hits.
@kocopelly
Yes, in fact, it already is! The newest version just hasn't showed up on this page yet. If you click the "here" link under downloads, there is a 1.4.6 version (v0.0.6).
EDIT: Looks like it has been approved!
thebiologist13
I noticed that its pretty outdated. Is it gonna be updated to support 1.4.6?
Hooray!
Finally v0.0.6! I think it turned out very nice :)
I will be making a video with one of my friends tomorrow showcasing the newest features!
thebiologist13
@Yolju
It will be :D
I am making a video in the next day or two with a friend to show the progress. I will post it here or on my YouTube channel (https:www.youtube.com/user/thebiologist13)
@happychild123
Type "/css setinactive [spawner id]"
EDIT: Also, I have been slower to respond than usual because of finals week and a bunch of projects being due. But it is finally break now!
thebiologist13
I have a feeling it will be updated soon,
Patience...!
I just realized that this plugin is still in 1.3.2 ._.
how do you make them stop spawning
Hey!
I'm Still very excited to know your still working and putting effort into this plugin!
I'd like to know if these mobs will be added if possible:
If you can, let me know! Also look at my PM for other info! :D
@Amazing_kid
Hi!
This bug is caused by something I am fixing the next update. I think it is because when the world (or at least chunks) are unloaded, the mob IDs change and CustomSpawners no longer recognizes the spawned entities.
Your idea is really great too! I will look into adding it!
thebiologist13