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!
@YourCoal
Player-Entity's will not be supported. Never.
Edit: And the create command will only be for creating. Not extra stuff. To adjust the custommobs there are other commands and if needed, additional commands will be added to customize the features of the mob that aren't customizable through other commands yet. Oh and that skin thingy on other mobs than players is not possible.
I have a suggestion for you.
When doing /cmob create, you should add a 'player' mob. This will allow people to use any player's username for their skin & make them mobs. I am thinking more to act these mobs as pigman, where if you hit them they will come after you. The way it could work is /cmob create player:(playerName) (entityName) So if I did something like /cmob create player:YourCoal TheBoss, then when I spawned it it could have my skin.
That or maybe /cmob create player:(playerName) (entityName) (mobData), where the mob data can be either a Zombie, Skeleton, Creeper, Pigman, Villager?, witch... you see my point, where its the same size as a player entity so that you can fit the skin in. So if I did /cmob create player:YourCoal TheBoss Pigman, then if I attacked it any other mob that is called TheBoss would come after me.
Got something to report again but I am not really sure what is going on, maybe you can help?
Using 3.5 and it seems as if monsters don't despawn. I had a zombie spawn at a location at night, I flew far away and I waited a few minutes till it got day. Then I warped back to where that zombie was and it was still there even though it should have despawned.
This happens a lot, some players just explore and then find lots of monsters burning because they were spawned there by another player then the chunks got inactive but the monsters didn't despawn.
I found a way to fix it and that is to loop a script that runs every 30 minutes and will use the command: /killall Zombie,Creeper,Spider,Skeleton,PigZombie,Witch,CaveSpider That way they will all be killed and will spawn around the player again, it also makes it so people cannot use Mob Farms and lagg out my server :) This isn't perfect though and I prefer some fix.
I tested this on my server with and without custommobs and it's not custommob that is not despawning monsters. Actually I deleted all my plugins and it's just spigot causing this not despawning monster bug.
Not sure if you know anything about this or a way to fix the not despawning monsters? Still using 1.8_R1 but I can't update yet, not all the plugins I use are compatible with a newer version.
BTW @EarlyReflex If you want I can send you my bukkit.yml and spigot.yml because for me the monsters are spawning and lots of them are spawning. You can also delete them two and restart your server so you got the default files again. And use /gc ingame, if you have essentials it should give you a list of entities loaded in your world. Just PM me if you want my bukkit and spigot.ymls.
@HellFirePvP
OK we'll wait for 3.5 and see. Thank you!
Edit: I was thinking of the Ambient option you talked about... This should not affect spawn rates in End or Nether since no ambient mobs spawn there. With CM running, there's no way to get more than 25 endermen in End, ghasts almost never spawn in Nether etc.
@EarlyReflex
me and Si7VdeR figured something out which leads us to the point where Spigot itself has a bug. In simple words it causes the following: The limit set in the bukkit.yml for Monsters counts actually as limit for Ambient (e.g. bat) and the other way around. This causes the spawning of far less monsters and far more bats. One solution could be changing the limits..
I'm currently unaware of any other issues around this but this might be one solution. I'm still unsure if that will solve the issue but version 3.5 (released tomorrow or on tuesday) will fix that - other issues around this case may or may not persist, but i ask you to try v3.5 before reporting the issue again.. Thanks in advance
We're investigating an issue where normal mob spawning is greatly reduced in all worlds. Our monster limit is set to 90 in bukkit.yml (mob cap). But the mob cap in-game was topped at 25 no matter what that setting is, making mobs (hostile & passive) extremely rare.
We solved the issue completely by simply removing CM and restarting server. Any clues on what can cause this?
@Si7VdeR
strength potions are one option i guess.
Edit: I suppose it goes /cconfig add ZombieBoss ... - and i'm unsure what went wrong. Is there anything wrong about the mob? If you're using WorldGuard i might already know what the issue is, so could you please send me the associated crash report?
Oh btw I made lots of custommobs and always changed their health to how strong they are supposed to be but I never actually changed their damage. Is there a way to change their damage done ? I know you can equip a zombie with a diamond sword but how about a spider?
Edit: Also I tried to make a ZombieBoss randomly spawn by using: /cconfig ZombieBoss false 1 1 It said it worked and now the file is created however 2 seconds later the server crashed and I had to delete the spawn file in order to get it working again. Did I do something wrong ?
@Si7VdeR
there will be a documentation soon ;) Since it is acutally quite powerful and breaks your server if you don't do it right, you should not use it yet...
Ok for some reason v3.1 and v3.1 causes my default spawning rate for monsters to almost be at 0 but now v3.3 everything seems fine again.
No clue why but I'll take it.
Also I see you added FullControl in v3.3, is there some documentation on how it works ?
@DavidWstng
then do it D: Waiting here~
(Hint: name is the same as here... )
@HellFirePvP
But I can whitelist you if you want :)
@DavidWstng
i'm not whitelisted though :P
@HellFirePvP
Well, they dont. You can have a look at my server if you want.
@DavidWstng
EZ2 will never spawn since you've defined the "region" as MESA there. That's connected to worldguard and means that the mob will only spawn in the defined regions.
EZ1 will/should spawn in a MESA biome.
@Spectatore
the tool has an issue with saving/creating yes - it's already mentioned on the plugin's spigot page linked above. Look there for information about this.
just type in '/cmob equip' - then it tells you how it works - and judging from the examples of cmob equip you've sent here, you're doing it wrong.
I still have the problem with the /cmob tool on every mob that I made. It says this after typing the name in the chat "saving of %s failed. Name probably already taken." Its my first mob and after I delete it and repeat it, it says the same thing. Also I cant understand how to use /cmob equip, I tried /cmob equip test stonesword and tried /cmob equip test 272 and it says An internal error occurred while attempting to perform this command. Is there something I'am doing wrong or is there a required plugin for this to work properly or do I need to update my spigot server?
Im sorry, But I got another question, They dont spawn! This is my config: http://pastebin.com/1DQpbQpK
@DavidWstng
no problem
@HellFirePvP
Thanks! It had to be in capital!
@DavidWstng
There is no biome called "Mesa" - please see the biomeInfo.txt file in the CustomMobs folder for names of biomes. ;)
Edit: The names have to be exactly as the biomeInfo.txt file says.. which means they also have to be all capitalized. In your situation you simply have to go to the spawnSettings.yml, look for the "biome:" sections and correct the biomes. Or to be more exact: Replace "Mesa" with "MESA" - that's mainly it. I'll add a handling to that so this doesn't cause errors anymore in v3.4