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
http://gyazo.com/e63cec09fa535277d1503df10c1aa6f1 http://pastebin.com/wUAcf00U
@HellFirePvP
Yeah I disabled Blockmanager but for some reason its still there.
@DavidWstng
whatever that "log" is, its only some error-stacktraces from a plugin called "BlockManager" - nothing relevant for me there.
Edit: Please post a full server log when the problem with my plugin occurs - or if you don't want to post it in the comment section, then send it to me via pm.
@HellFirePvP
log: http://pastebin.com/Jvj1s8RW But as I said I don't see any error. Server version: I use v1_8_R2 spigot (http://gyazo.com/e681886dfba6c79810301c260abdcc6b) I use CM 3.3 and the patching was successful. It worked first.
@EarlyReflex
What i do is basically listen on every command that's executed. if it happens that the command that's executed matches with any command listed in "spawnlimitResetCommands" and the player executing the command has the permissions to kill the custommobs with limit, then i'll just remove the mobs affected.
Either way i don't do anything to the command itself. If that's the case what you describe, then i might guess no command will work..
I'll look into that and send you a pm once i'm done. If possible you can also send me your server ip via pm so i might see it for myself.
@HellFirePvP
Could the distance error be caused by your plugin reissuing the original /killall command with arguments changed or destroyed? The distance error doesn't seem to happen when I just do /killall mob but does when I supply a radius (/killall mob 100).
/killall is pretty dangerous without a radius argument!
What's the command path? Is the command issued intercepted by your plugin, then forwarded to bukkit/minecraft when done, or is it going directly to bukkit and your plugin at the same time, in parallel?
And /killall's 1st argument can be a TON of stuff, it can even be a comma-separated list.
For the moment, we're aware that any CustomMob should not be killed by a command, so we'll simply be careful with them! As long as we understand what the implications and solutions are, we can work around it.
Thank you for your reply, and awesome plugin btw!
@EarlyReflex
What the commands listed in "spawnlimitResetCommands" do is explained in the Configuration section in the description above.
However, i don't actually do ANYTHING to the command. I completely ignore what the command will do or if it does exist anyway. My part of the job is done, when you see the message of how many mobs with spawnlimit are killed. What happens then is the normal command-execution as the command normally does. I don't do anything to the command that's executed in the end..
The problem is as i said, if you have a mob named "Test" and its limit is set to 1. Killing it with a sword or anything is OK. The limit knows then, that it has been killed by a player and decrements the limit-counter to 0 again so a new "Test"-mob can spawn. If you kill the only 1 living mob of "Test" with /killall or /butcher, then the limit will not reset and you cannot spawn "Test" again until you've restarted the server or increased the spawnlimit of "Test". That's the problem with /killall and related commands.
Edit: Since the normal functionality is modified in some way (as you said), i'll look into it, but since i don't interfere with the command at all, i cannot really explain why it doesn't work..
@HellFirePvP
Well, for me, I saw it as completely taking over because I get this whenever I try to use /killall on any mob or animal:
0 mobs with SpawnLimit killed. Error: Cannot measure distance between world and world_nether
I was in the overworld and I simply issued /killall rabbit 100.
Making the /killall completely unuseable, as it doesn't kill anything anymore.
Edit: deleted totally irrelevant part of msg.
Edit2: we actuallty had to remove /butcher and /killall from under "spawnlimitResetCommands:" in config to get normal functionality back. But they surely were there for a purpose, what are the implications? Like you said? If I use killall on zombies and it also wipes out CM zombies, plugin will break?
@EarlyReflex
It doesn't take it over. It works as it always does, i just do something additional to it. You can disable that the limit mobs get killed and the limit gets resetted with /killall in the config, but remember, if you kill custommobs with limit without resetting the limit along with it, you'll break the plugin.
@YourCoal
Then you're doing something wrong.. Try deleting custommobs completely including all files and start anew. Maybe some mobfiles are not in the intended format.
Is it normal that CM takes over Essential's /killall command? Doing some testing unrelated to CM, I had to kill 1000 rabbits by hand...
This is what happens for me, every version of 3 did it. even 3.3
@DavidWstng
CustomMobs version, Server version and the server log when this happens.
Edit: please. ;)
after a restart it doesnt do anything else then this: http://gyazo.com/9966334b6d345fc86b1d2bb8f43b493f When I do /cconfig it just responds with /cconfig The same for /cmob With other commands of other plugins I dont have any errors I also dont get any errors in the console!
@YourCoal
1st: CustomMobs does not support the /reload command.
2nd: With this you mean the plugin does not load your mobs at all? That's a bug i've never heard of. Be sure to use v3.3 since the plugin had issues reading the enchantment-relevant data. If the plugin does not load certain mobs after updating, recreate them.
3rd: /killall or /butcher are only supported as Limited-mobs kill command, if included in the config.yml. Given by the fact that killall is included in the default config, you may notice that it only kills the mobs which have limited spawnings; or in other words: only mobs where you've set a limit with /cmob limit or editing the file manually. Also note that the plugin does not require Essentials or other plugins to make /killall or /butcher kill the limited mobs.
Bug: When Using /reload, the console says "[Custom Mobs] Patching the server failed" and then "[Custom Mobs] Disabed!" (Spigot 1.8.5)
Another Bug: Whenever the sever restarts, all the custom mobs lose all their properties & then burn if they shouldn't of and lose their drop rates.
Last Bug I Got: Cannot remove the mobs using /killall mobs, or /killalll in general. (Essentials)
@Si7VdeR
I guess you still won't believe me if i said i don't do anything that hinders mobs from spawning... Anyway i really don't know anything i've modified from default minecraft so spawnrates would be lower.
However, i've noticed the same some time ago.. But i don't know why and i don't know anything what could cause that. I'll look into it yea, but i can't guarantee anything sadly.
Well I put my spawn rates really high but nothing spawned. Then I delete the custommobs.jar and folder and suddenly I get 500 entities. Otherwise with custommobs still in there I get maximum 40-70 entities. Something is stopping the mobs from spawning and I can't find anything in the config or anywhere.
@Si7VdeR
Nothing interferes with the normal spawning except for the fullcontrol-feature added in v3.3 and that's only the case if you're activating it in the config.yml and only if you modify it yourself.
Otherwise i don't change anything... :|
Hey I am having a problem again. I only just noticed but custommobs limits the default mob spawning. Nearly no monsters are spawning, how can I change that back to default ?
@XxXBlakeXxX
then the command you've added to the mob doesn't work on console or has the wrong syntax or whatever. It's not the plugins fault, that's what i can tell you.