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!
@HellFirePvP
Ok awesome :P Cause I want to add custom mobs to my survival world :P
@coreymichealroy
i'm afraid i didnt add it in v1.5. im still not sure how i'll add that and how this can be configurable but im working on that and i'm planning to add it in v1.6 including some other features.
So is V 1.5 gonna have normal spawn behavior of custom mobs? or will that be added in a later version?
@KrustyLv
ofc you dont need it to run Custommobs. its the other way round: the rpg-system works with the customized mobs. and pleease dont think the rpg-system is just a collection of errors and bugs. im working on that plugin since september 2013 every day and just the 1.7 inventory changes destroyed everything -.- but im working on what and with the newest version now the inventories got fully restored but the bugs of duplicating items still persist. but this is an error of Craftbukkit/bukkit itself and not my fault.
@Velerium
without the error i cant help you. anyway it doesnt matter if an enchantment has protection 1 or 200. every lvl is saved and not dependent on normal minecraft physics. would be also great if you (velerium) can send me the content if the file (just open the .yml with e.g. notepad and send me everything whats written in there on hastebin (open hastebin.com, copy and paste the filecontent and the error there, save, send me the link)) thanksnin advance.
@Velerium
I think max Protections is 4.
Do i need RPG system for it? ( Please no )
@HellFirePvP
Alright I'll be looking out for that update then, thanks!
When I equip enchanted armor like PROTETION X (10) the mob doesn 't spawn with a console error!
@Celeress
for leatherarmor i'm afraid you have to wait till v1.5 - anyway its uploaded and just waits for approval!
btw. v1.4 got released.
i didnt thought of that... these are always just little things i have to add.. maybe ill add also some other things mentioned in TODO in v1.6 but that will be included (Playerheads and so on)
@HellFirePvP
I'm just trying to pimp out my skeletons in some leather armor. Will I just have to wait for v1.5 then? And will it let me equip mob/player heads onto the mob?
@Celeress
i know whats going wrong there. i know i have some little errors in my MaterialEnum i had to create because in mc 1.7.* materialid's dont exist anymore. So i had to create an enum like the materials before just with id's.
aaand yea there are a few errors in the code. for example with diamond boots o.o -.-"
Thats the line that causes the error:
int itemid = MaterialEnum.fromMaterial(item.getType()).getId();
and if the MaterialEnum doesnt know the Type/Material of the Item, an error occurs. it would be great if you tell me what item you want to set.. :D in v1.5 (Already uploaded but needs approval!) this error is caught by the plugin and instead of "internal error", the item which causes the error is sent to the player and you can send it directly to me, what simplifies solving errors :D
but anyway its mainly caused by an item the plugin doesnt know (more or less)... well the equip command is somehow buggy but im working on that.
EDIT:
And obviously: you have to wear the armor you want to set the mob to wear! in case you want to set boots or leggings, you have to wear it! your boots will get the mobs boots. not the item in hand is meant by that. equip yourself like the mob should look like and equip him then.
@HellFirePvP
Well the plugin is working now but when I try to set the equipment of a mob, in this case a skeleton, I get a internal error. Setting the item held in hand works but not adding things like armor. http://hastebin.com/tabahaseli.vbs
@Celeress
I think i know why this happens. did u already create a mob? if not and the folder "CustomMobs" with the folder "Mobs" in it both doesn`t exist, thats why the error occurs - simply the folders arent there. after creating the first mob and reloading this error will disappear.
Otherwise be sure you dont storage any other files than the mobfiles in that folder. an error will occur if you do so.
i will fix this little problem soon, yes.
I get this when trying to start the plugin: http://hastebin.com/xagulikoru.avrasm
Can you give us the download of v1.4 or insert it in a dev-builds list where can we download it, please?
@DmNova
ouh yea i didn't thought of leather armor dye... will be added in a version i upload tomorrow! v1.4 is waiting for approval, uploading v1.5 with that tomorrow and it waits for approval then.
I'm sry enderdragons are faar different from other mobs. but i see what i can do on that...
Try to use essentials ITEM META or not? im nub. sorry
It's posible to change leather chestplate color? cuz I created mob but I want like this P.s add enderdragon, becouse i want to add more health to him.
@DmNova
Every item you like! - /cmob equip <Name> 0
0 is weapon aka item in the hand of the mob. just take the item you would like it to hold in your hand and type the command.
then /cmob reload, and afterwards /cmob spawn <Name> - and you'll see the mob has your item in his hands!
It's possible to put something into monster hands?