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
I did that, and the command goes through the console, but nothing happens
@XxXBlakeXxX
be sure that you didn't add the leading /
@Spectatore
the error around /cmob equip and /cmob drop is already known and a fix is coming.
and you misunderstood the functionality of /cmob tool...
Whenever I try to save a mob that I manually made using the /cmob tool, it says this is already a saved mob, how to fix? And whenever I try to use /cmob equip it says An internal error occurred while attempting to perform this command.
Hello, when I set the command to run when the custom mob dies, it doesn't work. I've done it many times and it still won't work, and I'm running the commands correctly. Is there something I have to enable, or what?
@ryanhughes12
thanks for the information. i guess mediafire is the first thing i've thought of..
@YourCoal
good ;)
The drops work now.
Nice, also you should remove mediafire links because they are banned by bukkit. Maybe use dropbox?
@YourCoal
I uploaded a bugfix-version since i found some issues when reading mobfiles - the dropchances and some other things are read wrongly causing some data to be lost when reading the mobs' file.
Try Version v3.2 if that resolves your issue
@YourCoal
drops do work for me as intended though - i can't reproduce your issue i'm sorry :/
I updated to the v3.1, and the drops still do not seem to work. I used existing mobs and created new mobs too, and ranged the drops from 0.0 to 1.0.
@Si7VdeR
either way it should work if you patched it correctly. Anyway it doesn't support 1.8 craftbukkit versions, only spigot - 1.7 does support both.
If you can't make it work, i may send you a download link to a patched 1.8.R1 spigot if you want.
Hi, I got my host to accept modified .jar files but now I have a problem. I am using spigot 1.8_R1 so I updated the .jar but now the server won't start. Was it correct I only had to drag 1 patch file into the .jar ? Also I had some problems with other plugins not loading because I am running Java 7 and some plugins are compiled with Java 8, could that be the problem here too ?
@YourCoal
There is some kind of issue tracker on the spigot project page and this issue is already listed there and will be fixxed in the upcoming version v3.1 released somewhat at the end of the week.
Hey, I tried setting drops for the mobs but they do not seem to drop. I set every rate from 0.0 to 1.0, but it still did not work.
I am using the vr 3.0, and as of this time of this comment there is no updated version.
@Si7VdeR
Well there is a possible solution now, but i haven't thought of killing all living custommobs of (for example) 'test' if the spawnlimit of 'test' gets manipulated in some way.
One (new) solution might be adding for example "killpirates" to the "spawnlimitResetCommands" in the config.yml and restart/reload then. Basically this functionality should be used to reset the spawnlimit of all mobs who have spawnlimit. But also it kills all mobs with limit so adding "killpirates" as resetcommand would cause the following:
Executing /killpirates ingame causes all mobs with spawnlimit to be deleted and the spawnlimit to be reset. This does happen, if you have the permissions (custommobs.limit.flush) to use the spawnLimitResetCommands regardless if the command "/killpirates" exists or not.
Making them stay near the spawner is not impossible but i won't implement that.
And thanks for the recommendation ;)
Oh btw just another thing, I haven't test the newest version but did you fix and old problem I had.
I had a spawner and a mob limit of 20 "Pirates" however these pirates swam very far away and I lost them. I couldn't delete them. Using /butcher or /killall isn't a possibility either since those would destroy ALL armorstands in the active worlds.
Maybe you already fixed this like setting the spawn limit of "Pirates" to 0 and then removing all extra mobs and then putting the spawn limit back to 20 ? Or maybe make them stay near the spawner ?
Either way I am talking to my provider to see if I can alter my .jar file and otherwise I really recommend this plugin to everyone, very simple yet so many features.
@Si7VdeR
i'm afraid i can't since the /cconfig-stuff does require changes to the jarfile in order to work properly.
If you're lucky, future spigot builds MAY merge the patch into spigot by default (since it isn't that much of a change the patch does) so there MAY be a chance you don't need to patch future spigot servers, but i'll put that in the description if that would be the case some day...
But for the time being there is no option for me to bring out a non-patch version. I'm very sorry and ofc i would like to remove the patch-stuff too since it does cause some problems for some people i guess :/
Man was so looking forward to this but as it happens the people that host my server do not allow me to change the server.jar and since I NEED to update it the plugin doesn't work ..
So will you ever bring out a version where we don't need to change the server.jar ?
@qq867648970
I'm sorry i can't... not dev.bukkit nor spigot does allow the .rar file to be uploaded there (security issues i guess)... Soo if you know somewhere i can upload it for you then tell me - Otherwise i don't have a choice tough..
..Sorry I cannot open v3.0's link. I hope you can move it in your files,thanks.