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!
Does the newer version require any other plugins? I use a 1.7.9 server with the most current world guard version on bukkit if that helps :/
@zachsauer
u have to open the rar with - i don't know? - a program that can open rar files on mac - well google or whatever i guess there is something somewhere.
I've tried to get the latest on spigot but it shoots me to an external site and gives me a .rar file. And idk how to convert to .jar due to me on a mac :/ if you can
@zachsauer
v2.51 and older have some issues yes. this includes some issues with spawners and the limits. Please consider updating to v3.6 - this version also works with 1.7 up to the latest 1.8 release of spigot and craftbukkit.
If you still want to use craftbukkit 1.8 please have a look at the patching instructions included in the download. If you have issues/problems/questions feel free to ask.
As of v3.0 i don't support v2.51 and older anymore since these versions are just outdated and contain a lot of bugs.
EDIT: and yes i always try to answer as fast as possible.
EDIT 2: If you do update from 2.X to 3.X please backup all your mobfiles. and remove every data custommobs created before, so everything the "CustomMobs" folder contains, because version 3.0+ reads and writes its files differently and so i could not include a support for the old files. Converting them would've been so much work...
v2.5 with world guard and when i run ./killall all the crespawn deletes itself :/ or stops working?
V2.5 and holy crap quick response
@zachsauer
what version do you use?
2nd: No. 1 mob, 1 respawn location sorry.
3rd: No u have to control them yourself.
Hello! I was wanting to make a dungeon style server with this but when i make the mobs and place them i can only use one... Example: I place a limit on cows spawn to 5 I then place a spawner for a cow, it spawns infinite I try to do the crespawn cow 10 but that can only spawn one single mob, any way to set 5 spawn locations for 5 of the same mobs without having to create cow1 cow2 cow3 cow4 cow5
and if their anyway to disable wandering on mobs? Its annoying when they like to run off xD
Using v3.6 and I have encountered a few golden zombies and skeletons. One in a hundred is a zombie with full golden armor or a skeleton with full golden armor. When I click them with the cmob tool it will say that it once was a custommob but it got deleted.
Is this intentional or did you use it for testing and forgot to delete them? I don't see them in the /cconfig list or in the custommobs mobs folder.
I also have another small thing to report. I am using factions and in factions there is a flag named: Monsters. It will stop monsters from spawning in the claimed lands however the mobs from custommobs will still spawn eventhough no other monsters spawn in these lands. That isn't all too bad however the custommobs that spawn in these lands do not fight back, they don't even agro when you hit them and they will just walk around.
Maybe you know of a way to fix the agro or just not let them spawn on these kind of lands but it's not that big of a deal. The full golden armor monsters bother me a little more.
@RedDan7
i guess it does work yea. no guarantee from my side, never tested it.
Does this plugin work with MCMMO? Say if my player has +28 Damage on his Fists from Unarmed, would it do that damage to the mobs from this plugin?
@HellFirePvP
I lowered the animals limit from 15 to 7 and it's already a lot better now.
@EarlyReflex
The limit issue seems to be fixxed in newer spigot versions - just built 1.8.7 spigot and the limit handling is different now. however this also fixxes the issue mentioned below.
Edit: Looked at the wrong places, my bad, it's still not fixxed in the latest version.
@HellFirePvP
This is a weird case! lol I'll try fiddling with limits and see what I can come up with!
@EarlyReflex
That snippet is from spigot (1_8_R3 - latest i guess? not sure)
well the limit is respected with CM. Snippet from CM handling limits: http:pastebin.com/c04afTKC - Well they are almost the same :P
@HellFirePvP
Is this code snippet from CM or Spigot?
And it doesn't explain why animals spawn like there's no limit at all when CM is running, since the limit value should be respected for animals (which is at default 15). :D
@EarlyReflex
http:pastebin.com/EyDPNbv9
my bad it was ambient and monster what was mixed up -_- i'm sorry.
Edit: Well then i don't really have a solution for the animal issue then.. I guess adjusting the limits is the way to go
@HellFirePvP
OK, according to what you're saying, if I set monsters to 0 in bukkit.yml, animals shouldn't spawn at all, right? Well, that's not the case... Without CM installed, Spigot respects all the values that are there.
I've set animals to 0, no animals spawned. I've set monsters to 0, no monsters spawned.
I can't reproduce in any way the Spigot problem you're trying to tell me! I haven't seen those values as being swapped in any way... :(
@EarlyReflex
Well i can show you that spigot does take the limit for monsters when it comes to spawning creatures/animals and it uses the limits for creatures/animals when it tries to spawn monsters.
My plugin just fixxes this spigot problem. However it is weird yea... Maybe spigot fixxes this issue internally, but still uses the wrong methods when it comes to spawning mobs, but that would still be a major problem of spigot. Some weeks ago i analysed what spigot does wrong and as it looks/looked for me it simply swaps these 2 limits. That's all i know to this issue. Well you can still adjust the limits as you need with CM installed so yea. I guess that shouldn't be a big issue anyway.. ?
@HellFirePvP
Well, yes it's hard to understand! lol
Without your plugin, Spigot respects the values set for limits in bukkit.yml. Like, if I raise the limit for monsters, monsters spawn more, if I raise the limit for animals, animals spawn more too. Same for ambient... I can make more or less bats spawn.
So, as I see it, Spigot doesn't swap those values at all, and everything works normally. But things go out of control with CM installed... weird!