CustomMobs
CustomMobs moved to spigot for newer versions! Check out the page here: CustomMobs on spigot
VERSION 4.0 AND NEWER ARE ONLY AVAILABLE ON SPIGOT

Bored of the normal mobs spawning all over the world? Mobs which just have always the same weapon, same health and nothing else? Here's the solution: CustomMobs! Customize your mobs just like you want and save them to a simple file. Once created and saved you can spawn them easily as often you want and where you want. In addition it's easy to spawn mobs with other plugins since the whole spawning process got shortened to one single method!
What is CustomMobs?
With simple words this is a mob-customizer. create mobs just as you like them and spawn them with potion effects, armor or whatever you like. Even the drops of a mob can be customized!
Permissions
- custommobs.* gives access to all customMobs commands
- /op - Operators have access to all commands of CustomMobs.
- Each command has its own permission, to use any command you need the "custommobs.cmduse" Permission! See the Command-Descriptions and Examples Page.
Commands
Command-Descriptions and Examples: Click Here...
/Cmob
[Command descriptions for v3.0 and newer]
- /cmob - Overview of the /cmob commands.
- /cmob create <Type> <Name> - Creates a mob with given type and filename (not the displayname of the mob!)
- /cmob burn <Name> true/false <duration/-1/infinite> - Sets the mob on fire or not with given time (ticks not seconds)
- /cmob delete <Name> - Deletes the mob from the database
- /cmob name <Name> <CustomName> - Sets the displayname of a mob shown above it's head
- /cmob fireproof <Name> <true/false> - Sets a mob fireproof so it doesn't take damage from fire, lava and related anymore.
- /cmob exp <Name> <ExpAmount> - Sets the amount of exp it dropps on death
- /cmob health <Name> <Health> - Sets the health of the mob as high as you like
- /cmob setpotion <Name> <Effect> <Amplifier> <Duration> - Sets potioneffects on the mob when spawned
- /cmob resetpotion <Name> <Effect> - Removes the given effect from the mob
- /cmob equip <Name> 0/1/2/3/4 - Sets current weared armor/item-in-hand on the mob (0 weapon, 1 boots, 2 leggings, 3 chestplate, 4 helmet) (Enchantments are possible)
- /cmob drop <Name> <Chance (0.0 - 1.0)> - Sets the item-in-hand as possible drop of the mob with the chance 0% to 100% (0,0 - 1,0)
- /cmob spawn <Name> - Spawns the mob on the block you look at.
- /cmob spawner <Name> [delay > 0] - Sets the named mob as the spawned mob of the spawners youre looking at.
- /cmob cmd <Name> <CommandLine> - Sets a Command that's executed by the ServerConsole on Mob Death. (see configuration section for banned commands)
- /cmob limit <Name> <limit/-1/infinite> - Sets the limit how often a mob can be alive at the same time on the whole server.
- /ccmob spawn <Name> <worldname> <x> <y> <z> - spawn command for Console and CommandBlock!
/Cconfig
- /cconfig - Overview of the /cconfig commands.
- /cconfig add <Name> <(groupspawn) true/false> <groupamount> <(SpawnRate 0.0 - 1.0> [b:Biomes] [w:Worlds] [r:Regions] - sets a new mob to be spawned randomly.
- /cconfig remove <Name> - removes a mob from being spawned randomly.
- /cconfig list - lists all mobs that are spawned randomly.
/Crespawn
- /crespawn - Overview over the CRespawn commands
- /crespawn add <Name> <Time in seconds> - Spawns and sets the mob to respawn after <time in seconds> after being killed at the block you look at. See command description for detailed information behind this.
- /crespawn add <Name> <Time in seconds> <x> <y> <z> - Spawns and sets the mob to respawn after <time in seconds> after being killed at the location you specify. See command description for detailed information behind this.
- /crespawn remove <Name> - Removes the mob from being respawned after certain time.
Installation
Installation instructions and patchfiles for your craftbukkit or spigot server are included in the download Zipfile.
Configuration
- frequency - (Default: 10 - Recommended.)
Its range can be from 0 to 100 and it defines how often a mob-spawning is controlled by the CustomMobs plugin and a normally spawned mob is replaced by a randomly selected mob of the mobs that are added to the randomly spawning mobs.
- spawnAtStartup - (Default: false)
Connected to the /crespawn-settings. If a mob is set to respawn at a certain location this mob will spawn there at server startup if this is set to true.
- spawnAtStartupDelay - (Default: 100)
Connected to the /crespawn-settings. If spawnAtStartup is 'true' all mobs that set to respawn at their defined location will spawn not instantly at startup, but <delay> ticks later. (1 second = 20 ticks; Which means by default they will respawn 5 seconds after startup if spawnAtStartup is set to true)
- spawnerRange - (Default: 16)
Connected to Spawners. This defines how near a player has to be to a spawner so the spawner actually spawns the mobs specified. Like if you are 17 blocks away, but this is set to 16, the spawner will spawn nothing.
- bannedMobCommands - (Includes by default: pex, restart, stop, sudo, op, reload)
Connected to the /cmob cmd-settings. Commands listed here are banned from being executed when a mob dies. Which means if a mob has been set to shedule the command '/stop' (to stop the server obviously) when being killed, but this list contains this command as banned command, it will not execute. This secures some restrictions so that somebody who has access to the functionality of this plugin only, cannot take over the server. However, if you wish that a mob should be able to execute /stop or /restart when killed for WHATEVER reason, then you just have to remove that command from the list and reload or restart your server. Commands listed here in the config.yml must not start with the leading '/'.
- spawnlimitResetCommands - (Includes by default: butcher, killall)
If one of the commands listed here is executed, all mobs with spawnLimit will be killed and the player will recieve a message about how many mobs are killed. Killing mobs with this command does not shedule the respawning. Commands listed here in the config.yml must not start with the leading '/'. Only players with the permission custommobs.* (permissions will change and multiple permissions will be introduced with v3.1) can use this functionality so be sure that all players that have access to /butcher or /killall or whatever command listed here has permissions to use the limit-resetting functionality. Permission needed for usage of spawnlimitResetCommands: custommobs.limit.flush
Developer-relevant Information
(Moved to the following Site:)
History
[Outdated D:]
Downloads
As dev.bukkit.org doesn't allow the sharing of .rar files, i'll upload v3.0 and newer versions to dropbox.
See the Readme file for instructions on installing the plugin!
v2.51 and older still available on the "files" page
v3.0: CustomMobs_v3.0 (Dropbox.com)
v3.1: CustomMobs_v3.1 (Dropbox.com)
v3.2: CustomMobs_v3.2 (Dropbox.com)
v3.3: CustomMobs_v3.3 (Dropbox.com)
v3.4: CustomMobs_v3.4 (Dropbox.com)
v3.5: CustomMobs_v3.5 (Dropbox.com)
v3.6: CustomMobs_v3.6 (Dropbox.com)
Chinese mirrors:
v3.6: CustomMobs_v3.6 (Chinese Mirror)
v2.6: CustomMobs_2.6 (Chinese Mirror)
Upcoming Features
Upcoming features are not listed in the "Future Plans" section on the spigot page!
-
View User Profile
-
Send Message
Posted Oct 3, 2014Could you please add quests support
-
View User Profile
-
Send Message
Posted Oct 3, 2014bummer! I hate to say it but its happening to me too ;{
-
View User Profile
-
Send Message
Posted Oct 3, 2014@Rien321
i can not reproduce that error. Can you tell me your Craftbukkit or spigot version, CustomMobs version, and can i get a paste to your SpawnerData.dat and the mobfile of "spider1"? thanks in advance.
To get a copy of the SpawnerData.dat or the mobfile of spider1 (<yourPluginFolder>/CustomMobs/Mobs/spider1.yml) just open it with any text editing programm (notepad or whatever) and copy the content to pastebin.com or the site you like and send me a link to it.
-
View User Profile
-
Send Message
Posted Oct 3, 2014The Spawner gets deleted ._.
Before turn off the server : A customob- Spawner Spawns: spider1 Next Spawn:21
After turn on the server : A Normal Spawner. Spawns: Next Spawn:0
-
View User Profile
-
Send Message
Posted Oct 1, 2014@Rien321
Can't reproduce that error. You are sure the spawner gets deleted instead of just having a long waiting time? as you may know the random-timer how long a spawner decides to wait before spawning mobs again is from 20 to 30 seconds. Please check with rightclicking the Block which is set as CustomMobSpawner with the CustomMobs-Tool (/cmob tool) - this provides information about the spawner and how long you have to wait until the spawner spawns the next mob/-s again
-
View User Profile
-
Send Message
Posted Oct 1, 2014Hi, i have some problem with the spawner.
when my server off and i turn back on the spawner doesn't work. Then i fix the spawner then i turn off my server and the next day i turn it on again the spawner doesn't work again. ._.
-
View User Profile
-
Send Message
Posted Sep 29, 2014@farrel88
known bug. Already noted in the upcoming Features/Fixxes for v2.5
EDIT: Just to let you know: v2.5 is going to be released tomorrow.
-
View User Profile
-
Send Message
Posted Sep 29, 2014BUGS
http://pastebin.com/wd4W3E4U
-
View User Profile
-
Send Message
Posted Sep 25, 2014@xcraftnation
If i could read the contents of your spawnSettings.dat could help on that issue. Could you send me the content of that file in a pm? thanks in advance.
Next time please edit your comment instead of posting 3 comments. Thanks.
That command could be added yea, but there are some specifications i won't show in the stats command (such as leatherarmor color, skullowner name, lore/displayname/enchantments of items dropping/equipped, ...) But i'll finish my work on the API first.
-
View User Profile
-
Send Message
Posted Sep 25, 2014i have an idea you should add to custom mobs.
add a stats command that diplays the custom mobs potion effects, if it burns, its spawns, spawnrate, drops, death command, pretty much everything that is important.
-
View User Profile
-
Send Message
Posted Sep 25, 2014i always find bugs in this plugin like the slime spawning issue that a bug i guess but its not a big issue.
-
View User Profile
-
Send Message
Posted Sep 25, 2014hmm i think theres a problem with spawning i set the mob to spawn in a specific biome but it ignores that and the mob spawns anywhere
-
View User Profile
-
Send Message
Posted Sep 24, 2014I can help you guys and be a Tester/Or anything else you need
-
View User Profile
-
Send Message
Posted Sep 22, 2014@xJeremyCx
replied, but the fix could take a while eversince it doesn't work at my local server, but i don't know why... o.O it should have to work, anyways if i just run the code twice, the second time it works fine...
@xcraftnation
i did. and i will update to 2.5 the next days because i encountered some problems that need to be fixxed as soon as possible
-
View User Profile
-
Send Message
Posted Sep 22, 2014@HellFirePvP Hey, I sent you a message because I can't really say it in public. Please reply, thanks.
-
View User Profile
-
Send Message
Posted Sep 22, 2014ohh you updated :O
-
View User Profile
-
Send Message
Posted Sep 21, 2014@xcraftnation
can't reproduce that error. works fine for me
Anyways: i will delete the current file v2.4 in a few minutes and upload a newer version (with 3 bugfixxes). this also includes some clarifications for developers and so on. BE SURE to check your code with the latest version and make sure to update it.
Short changelog:
Main.class renamed to CustomMobs.class, fields in CustomMobs.class are protected now, so consider using CustomMobs.data() or CustomMobs.data().setup() to get access to the variables and set/get them. EventListeners were moved out of the CustomMobs class.
-
View User Profile
-
Send Message
Posted Sep 21, 2014FOUND A BUG Hellfire! Custommobs cannot drop Enchanted leather armour :P and if you try to set the enchant leather armour as a dop it removes all drops and wont allow you to add anymore.
-
View User Profile
-
Send Message
Posted Sep 21, 2014@charchar64
should not appear anymore.
the problem is, i don't know if an entity gets removed by a command. well, i could check whenever a player fires the command /butcher /killall or whatever, but i have the problem that i don't know if he has the permissions to execute that command. and so everyone could like fake-butcher all mobs away and the custommob limits get cleared although there are no mobs removed.
mobs with certain specifications don't get despawned.
@Dillzzzzz
Yea, you can create mobs and set them to spawn randomly with the /cconfig commands. I don't have a support for the usage of spawn eggs. they just spawn the mobs they normally spawn.
-
View User Profile
-
Send Message
Posted Sep 21, 2014When I launch the server I get this error:
[00:54:49] [Server thread/INFO]: [CustomMobs] Hooking WorldGuard...! [00:54:49] [Server thread/INFO]: [CustomMobs] WorldGuard found! [00:54:50] [pool-3-thread-11/WARN]: Exception in thread "pool-3-thread-11" [00:54:50] [pool-3-thread-11/WARN]: org.apache.commons.lang.UnhandledException: Plugin CustomMobs v2.4 generated an exception while executing task 40 at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.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.NumberFormatException: For input string: "2.4 (with worldguard)" at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source) at java.lang.Double.parseDouble(Unknown Source) at emp.HellFire.Cmobs.Update.query(Update.java:63) at emp.HellFire.Cmobs.Update.<init>(Update.java:39) at emp.HellFire.Cmobs.Update.<init>(Update.java:32) at emp.HellFire.Cmobs.Update.<init>(Update.java:28) at emp.HellFire.Cmobs.Main$1.run(Main.java:152) at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more
Also, you should make it so if a mob has a limit and it is at that limit, then if it despawns or is /butcher-ed it should take off from the limit (if that makes any sense). Like......if the limit for a mob is 1, and there is 1 alive, then if it despawns or is killed with a command the plugin should think there are 0 again. Currently it doesnt account for that as killing the mob, and no more will spawn.