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!
@chakyl
Not yet. No.
@ValeraSTK
For now there's only the overall frequency and nothing more. anyway i can add some ofc.
Hi! So, is there any othere params, except for "Frequency"?
If I need, for example, define wich custom mob should be spawned in certain biome, can I do it with this plugin?
thank you.
Is there a way to get this to work with Mob Arena?
@Valagrance
still remember everyone pasting errors here: please send the file also. i mean the mobfile of the mob you want to spawn. cant help you if i just know it misses sth...
When every I try to spawn a simple custom mob I made, this happens:
[11:02:54 ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'cmob ' in plugin CustomMobs v1.6 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [cra ftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:19 6) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServe r.java:542) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerCon nection.java:932) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java :814) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java :28) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat .java:47) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146 ) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craf tbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:6 55) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:2 50) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:5 45) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java :457) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:6 17) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] Caused by: java.lang.NullPointerException at emp.HellFire.Cmobs.Command.CommandSpawn.spawnCMob(CommandSpawn.java:6 3) [?:?] at emp.HellFire.Cmobs.Command.CommandSpawn.onCommand(CommandSpawn.java:3 1) [?:?] at emp.HellFire.Cmobs.Command.CommandCmob.onCommand(CommandCmob.java:85) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [cra ftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] ... 13 more//
@1airwolf
Here is an example for you http://gamenet.lt/example.yml Just create example.yml in your custom mobs folder and paste this text. Then reload custommobs plugin and write /cmob spawn example
can someone post a video on how to use this and how to make a mob like a hell fire skeleton with diamond sword and red leather armor on fire for a example
please
tyvm
please add EnderDragon, cuz I really need dragon ._.
@publicg
yes ofc it works with 1.7.2. anyway some people have the same error and i'll look over the code again now. gimme one day and i upload a newer version (which waits for approval after then)
Anyway: once i fix that the thing with the spawners is not implemented yet then. I'm still working on it but thats a bit difficult in 1.7.2 now so this will take some time now i think..
@ArchCraftery
yea that happens if the mob cant be spawned for some reason... - can you spawn it with /cmob spawn ? if yes then PLZ send me the complete file of this mob! this means you open the .yml of the mob in the Mobs-Folder and copy the whole content of this file and send this to me please. this helps alot finding errors and constructing the error ;)
EDIT: and ofc send me also the file if you cant spawn it (obviously o.o)
Ahh alright, however for some reason my config keeps resetting? Not sure why, I type "/cconfig list" and what I set before disappears. I do reload after making the change, or even restart the server but it resets for some reason.
@ArchCraftery
thats one of the very basic things and of course that works -.-" :D
And does it work with mobs that dont naturally spawn in a certain world. Aka I want wither skeleton to spawn in normal world.
@ArchCraftery
/cconfig add <MobfileName> <false>
and then just set Frequency in the config to 1 (Frequency: 1) - then it will take some time until you see one (with Frequency 1 its VERY RARE). the number after Frequency is a percentage from 0 to 100. if it's set higher or lower than this interval it will automatically set itself again to 0 (if lower than 0) or 100 (if higher than 100)
@NinjaCookie45
yes. you have to create the mob as you like and add it to the randomly spawning mobs with /cconfig add <MobFileName> <(GroupSpawning) true/false> [average groupamount]
if you want more mobs of yours to spawn then open the config.yml and set "Frequency" as you like the mobs to spawn ;)
Just a question, but do the mobs you create naturally spawn in the world? I can't see that stated in the description anywhere.
So just as an example, please give me a command that will make my mob quite rare to spawn (as in, it will take you some searching to find one) under frequency 10 and always alone.
@ArchCraftery
first of all setting group spawning true or false means just if 1 mob is spawned (false) or the specific number in the config is used when trying to spawn the mobs (true)
(for instance if you set groupspawning to false and the group-amount to 20 it will just spawn 1 mob every time, because you set group-spawning to false. - otherwise if you set group-spawning to true and the group amount to 20 it will spawn a random amount from 1 to 20 [this can be 4 mobs, 10 mobs or maybe 20 mobs] - that explanation ok?)
The Frequency is the frequency on all spawn handlings, not just of 1 mob. it just means how often the plugin will care about it whenever a mob spawns. this means if frequency set to 1 theres a 1 percent chance that whenever a normal mob spawns, that the plugin will remove that mob and replace them with a random selected mob in the random group amount (or 1 mob if groupspawning is set to false).
in general: Frequency: 10 - means 10 of 100 mobs will be some custommobs you selected.
Of course if you dont want the normal spawning option of the plugin just ignore the /cconfig commands and leave the config empty. then nothing will spawn randomly in the world.
@Velerium
Adding many screenshots will just make it more confusing here in the project description... anyway you can send me screens of your custom mobs and i will place them in a gallery and link it here :D i think thats a cool thing.
puhh i already recorded a short tutorial one time with some cool guys but this got lost somewhere i think... i dont know maybe i have to record a tutorial some day again.... anyway i cant record by myself. my computer is just tooo bad to handle that :D
Hi! Anyone can insert a list with their own mobs with a screen and what it can do? I thinks it's a cool thing.
Thanks alot for implementing the RPG-Items 2! I have one issue, Im not sure about how the spawning works but I may have an understanding. If I set the spawning to "2" under the frequency of "30" does that mean that 2 out of 30 mobs will be the mob that I chose to spawn? Also what does the group spawning disabling or enabling does?
-Flobik