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!
@Darkmagic70
it does take any value that's between 1.0 and 0.0 and that can be translated to a 64bit java double value. That would be 2x10^-1074 - that's a 0 with 1073 zeros after the comma and then a 2. so.... yea. is that small enough? - or to translate it, you can set the drops to 0,00000000000001 and even lower.
Edit: if you want to know why it is that way and what numbers you can exactly specify, please look that up in the java language specifications or java related books. you might find something there, but i won't go in detail here :P Kappa
@koonpingth
the maxHealth cap is capped only by spigot's config. if you use spigot and you want to have mobs that have more than 2000 health, change your spigot config accordingly. that's no issue with my plugin.
btw is there possibility to make drop chance really low? (for expample 0,01%) whats the floor?
The Health of mob is full of 2000 i want to get more under 2000 please config your plugin now
@HellFirePvP
absolutely, thanks
@Darkmagic70
Oh yeah, just to give you a status update (i almost forgot tho...)
I tested it myself and it happens to me too. I don't know why yet, but as soon as i can provide something, i'll send you a pm. Is that ok?
@HellFirePvP
I am using craftbukkit lastest version. Completely new server, I just wanted to test it out.
I opened it with winrar, went to server.jar->net->minecraft->server->v1_8_R3->and there I replaced the file from CustomMobs_v3.6.rar->patchfiles->1_8_R3->SpawnerCreature.class
Then I moved the CustomMobs_v3.6.jar to plugins folder.
I did it multiple times but I got the error everytime.
Did I do something wrong?
I use http://tcpr.ca/craftbukkit (the lastest version) If I did it right, could you please patch the craftbukkit file and reupload it?
@Darkmagic70
If you're using spigot, please provide the spigot version.
If you want to use it with Craftbukkit, you have to patch your server. The Readme explains how this is done.
This has to be done because minecraft doesn't want plugins to interfere with spawning mechanics. In spigot i found a workaround for this, but craftbukkit doesn't want me to do this apparently..
I can rewrite it so it doesn't need that but it takes WAY more server capacities. And i don't know what's better: patching the server or let the plugin use more RAM and it needs longer to spawn mobs. Sooo... i guess patching is easier? See the included readme how it's done.
What's wrong?
@Captain_Cactus
For now i don't support that, you'll have to mess around with strength/weakness for now until the next update.
@qq1447375349
I'm sorry - These links were given to me by someone. I did not upload them. If they don't work anymore, i fear i can't so something about that.
@HellFirePvP
I From china notDownloadv3.6 3.6下载不了.怎么办
Hey. Could you possibly add the ability to change the damage a mob does? Thanks !
@kzking
this might occur if you deleted the world where the spawner was in or you renamed it or whatever.
make sure the names of worlds on your server and in the "spawnerData.yml" match!
If you are sure the world's names are not the issue, send me the contents of your "spawnerData.yml"
Hello Plugin Author,I want to report a problem or error of your plugin(custommobs) When i add spawner in server(of course , /cmob spawner) and I re-open the server. It show a error [21:20:45] [Server thread/ERROR]: Error occurred while enabling CustomMobs v3.6 (Is it up to date?) java.lang.NullPointerException at org.bukkit.Location.getBlock(Location.java:87) [spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] at de.hellfire.cmobs.file.read.SpawnerDataReader.readSpawnerData(SpawnerDataReader.java:56) [?:?] at de.hellfire.cmobs.data.SpawnerDataHolder.loadData(SpawnerDataHolder.java:25) [?:?] at de.hellfire.cmobs.CustomMobs.onEnable(CustomMobs.java:118) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) [spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:356) [spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:316) [spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414) [spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378) [spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333) [spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263) [spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:524) [spigot-1.8.8.jar:git-Spigot-6c9b0a1-de5c261] at java.lang.Thread.run(Unknown Source) [?:1.8.0_60]
Sorry for my bad english
Cool plugin but you should be able to spawn more than 1 mob at a time :-/ can you add it?
@HellFirePvP
Yes, I use is China's download address, of course I can also be uploaded to your country
@FuChuanQiu
you mean you uploaded them somewhere where chinese ppl can download it? AWESOME man ;)
Hello, HellFirePvP, I translate this plug-in into Chinese, this is the download link V3.6:Your text to link here... V2.6:Your text to link here...
@BlazeGod10
see the links in the "Downloads" Section for 1.8 versions.
I can't upload any .rar package on dev.bukkit.org but i have to because if you want to use it with craftbukkit you will need to patch your server.
update for 1.8 I need a 1.8 custom mob plugin like this
@HellFirePvP
Ok, thank you.