CompleteMobControl
CompleteMobControl is a craftbukkit plugin that aims to give you more control over where mobs spawn and how they interact with their environment. It provides many features such as recipes, structures, commands, and configuration values.
WIKI | COMMANDS | PERMISSIONS | SOURCE
**ATTENTION**
This plugin will not be updated on bukkit.org! I am currently working on rewriting the plugin from scratch but it is going very slowly. I am unsure when an update will come but it will be posted to the spigot resources when it is completed.
- LAST UPDATE ON MAR 28, 2022 -
==========
INSTALLATION
This plugin is extremely easy to install on any bukkit enabled server! To install this plugin you simply place the CompleteMobControl.jar in your servers /plugins directory and restart your server. After a successful installation, all configuration files should be generated automatically and you should see a message on the server console stating the plugin was successfully enabled. If you run into any issues, feel free to submit a ticket above or visit the forums.
Please note that this plugin requires java 7 or later to function properly!
USAGE AND FEATURES
Some of the more prominent features that this plugin adds to your server consist of entity repellers, forcefields, commands, configuration settings, and crafting recipes. As the plugin development continues you will begin to see new and more widespread features becoming available for you to use.
- ENTITY REPELLERS -
An entity repeller is an object that can be made from different blocks in the game to repel mobs. To create an entity repeller you will need seven iron, gold, diamond, or emerald blocks. "The block types can be set in the plugin configuration." You must first take five blocks and construct the base of the entity repeller by creating a shape similar to a plus "+" sign parallel to the ground. Next, take the remaining two blocks and place them directly above the center of the base or plus "+" sign that you created. If you constructed the repeller correctly, you should see a message in chat and in the server logs saying that an entity repeller has been created at the location. There are currently four different sizes of entity repellers. The sizes consist of small "iron", medium "gold", large "diamond", and extreme "emerald". The entity repellers work on a cuboid basis to repel mobs within a certain distance of the entity repellers base. For instance, if you construct an extreme "emerald" repeller, it will prevent mobs from spawning in a 200x200x200 cube centered at the base of the constructed entity repeller. You can remove an entity repeller by breaking one of its blocks or using either /erepel remove or /erepel removeall. Below is an example of the default entity repeller lineup "small on left, extreme on right".
- ENTITY FORCEFIELD -
An entity force field is an object that can be built in-game to kill hostile/all mobs that pass over/under it. To create an entity force field you will need clay "can be changed in config.yml", redstone dust, and a redstone power source. First use /ffield toggle to enter building mode. Then take the clay blocks and place them where you would like to have your force field located. "It is possible to have a 1x1 force field". You can now use /ffield toggle to exit building mode. Now that you have constructed the entity force field, you must provide redstone power to the blocks for it to activate. "An example is in the image below." Entity force fields can be turned on or off by turning on or off the redstone power to them. Mobs will be killed if they have the same X and Z coordinate of an active force field block. You can remove a force field by breaking all of its clay blocks. "You do not have to enter building mode to destroy a force field."
- MOBREPELLENT -
MobRepellent is used to prevent mobs from targeting players. This allows players that are holding the mobrepellent item and have it as the active item "in-hand item" to not be targeted by hostile mobs. Any mobs that have already targeted the player before choosing the mobrepellent as the active item will not be stopped. Here is the current crafting recipe for mobrepellent:
- REPELLING SWORD -
The Repelling Sword is used to prevent mobs from targeting players while adding the ability for players to attack entity's effectively. This allows players that are holding the repelling sword and have it as the active item "in-hand item" to not be attacked by hostile mobs while providing a sword for the player to attack them with. This works in much the same way as the MobRepellent. Any mobs that have already targeted the player before choosing the repelling sword as the active item will not be stopped. After crafting the repelling sword, you can add enchantments to it and it will not loose its functionality. Here is the current crafting recipe for The Repelling Sword:
PLUGIN CONFIGURATION
The config.yml file contains many different configuration values that modify how CompleteMobControl works. Almost all aspects of this plugin can be set within the configuration. Please see the automatically generated configuration file for more information.
ALL KNOWN PLUGIN CAVEATS
All issues have been fixed as of version 2.00 D3
If any issues are found or any concerns, please submit a ticket!
FEATURES AND DEVELOPMENT
Would you like to see the upcmming features or provide feedback for the development of this plugin? Make sure to click on the forum link above! If you would like to help out with this plugin, a big way of doing that is through donations. Just simply click on the donations button below and give what you are willing. All donations are very much so appreciated!
DEVELOPMENT BUILDS
Do NOT use the development builds from my CI server at this time. They will NOT work on your server and will corrupt your current configuration files and possibly break other plugins. I am not responsible for any loss of data if you do not heed this warning!
Development builds of this project can be acquired at the provided continuous integration server.
These builds have not been approved by the BukkitDev staff. Use them at your own risk.
The dev builds are not recommended for normal use!
CLICK HERE FOR DEVELOPMENT BUILDS
CHANGELOG | CONTACT | DONATIONS
I would like to thank you very much for using my plugin on your server!
I also hope you have enjoyed using this plugin and will continue!
Make sure to leave a comment even if it's just to say hi :)
I've tested version 1.12 and 1.14 B1. Both don't work on my server. The plugin throws the following error:
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/smartwolftech/cmc/CompleteMobControl : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) [craftbukkit-1.7.2.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) [craftbukkit-1.7.2.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) [craftbukkit-1.7.2.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:255) [craftbukkit-1.7.2.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.<init>(CraftServer.java:233) [craftbukkit-1.7.2.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at net.minecraft.server.v1_7_R1.PlayerList.<init>(PlayerList.java:63) [craftbukkit-1.7.2.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at net.minecraft.server.v1_7_R1.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit-1.7.2.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit-1.7.2.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [craftbukkit-1.7.2.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit-1.7.2.jar:git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks]
I'll test it with a dev build as soon as the servers are up and running again.
Also, our dev servers are currently down. We are sincerely sorry and will get them back up as soon as possible so you can download the dev builds. :D
Currently working on making the signs. They should be available before next update.
I have just uploaded the CompleteMobControl v1.14 B1 plugin. It is currently awaiting bukkitdev staff approval. Please note that the permission nodes issue that appeared in v1.12 is fixed in this version. Also note that the crafting recipes will work in v1.14 b1 and up. Sanity and I plan to start adding videos to the tutorials section in the upcoming days.
Our development build system is now up and going, it will always contain the latest coding we have made public. We are also working on making the source code public domain where that you can see how the plugin works :P
@cg49me
Sorry about that, I had to rewrite the code for entity repellers when I added the force fields and I forgot to set the permission nodes back. I just updated the commands and permission nodes page to match how they should be. The latest development build above is working correctly and all the permission nodes are correct. We have been pushing the development to get the latest coding out for you all to use. **
Have the permission nodes for constructing and destroying/deconstructing repellers changed? You don't have any listed (though you have permissions listed for using the commands), so I removed the old nodes from my manager. My players haven't been able to construct repellers since the update.
[edit]
Did some experimenting... Apparently it's wrapped up in the completemc.ercreate and completemc.erremove nodes, meaning players get access to the commands as well as being able to construct/deconstruct repellers. Any chance of going back to having seperate nodes?
@cg49me
Thank you very much for the feedback!
With how we currently have the plugin coded, if you modify the configuration values while your server is still running they will get rewrote when you reload or stop the server. I will get this issue fixed in the next release where they will stop rewriting themselves. For now you will have to completely stop your server and modify the configuration then restart it for them to stay. Sorry about any inconvenience there.
There is a typo in the code causing that small;: to show up. Will also have that fixed in the next release.
If you are also seeing the plugin showing a new update message, there is a glitch in the code when comparing the version name to the last published one on bukkitdev. Trying my best to get it fixed.
Playing around with the configuration a bit, and I think I may have found a small bug (pun not intended - read on)...
I tried modifying the config file to set the following radius values:
small: 50
medium: 100
large: 150
extreme: 250
However, when I save the file and reload my server, it's like the file gets regenerated - all these values get set back to default (25, 50, 75, 100).
I tried using the cmcconfig command, and it seems to work for everything except small. Taking a look at the config file after running the command, and the values look like this:
Radius:
small: 25
medium: 100
large: 150
extreme: 250
small;: 50
I'm guessing there's a typo in the *.jar file resulting in that bottom small; (with a superfluous semicolon) value getting created. If I try editing the top small value, saving, and reloading, the file gets regenerated with a value of 25 for the top small, but all other values (including the bottom small;) left as what I set them.
Also, in game, the effective radius for the small repeller is 25 - it doesn't seem like the bottom small; value actually affects anything.
I've never done any Java programming, so on a whim I did a search for "small;" in the *.jar file, found a single entry, and deleted the semicolon. Unfortunately, that broke the plugin. XP
[edit]
Seems like there's a similar problem with editing the block IDs - medium, large, and extreme work as expected, but attempting to alter small results in a "small;" entry being created, with no effective amendment taking place.
@HowlingWolf14
You have it explained correctly in the comments at the top of the config file - I should have paid closer attention.
Thanks!
The patches that we have applied to the update checking still seem to have had no effect.
We are working hard on trying to get this error fixed.
@cg49me
Thanks!
If the radius value is set to 100 in the config, it will prevent mob spawning within a 200x200x200 volume. Typo in the description, will get that fixed now.
Awesome plugin!
Question on terminology...
The config options are all listed as "radius", but is that accurate? Let's say I set my radius value to 100... Does this prevent mob spawning in a 100x100x100 volume, or a 200x200x200 volume? If it's 100x100x100, then the config options are more accurately "diameter" values (ignoring that we're talking about cubes instead of spheres, of course).
ETA for CMC v1.020 was 10/18/2013. It has been uploaded but is still awaiting bukkitdev staff approval.
@Blue_Mustache
Thanks! It's a custom texture pack, it was a combination of 3 or 4 different packs but never was updated for 1.6.
Sweet Plugin. Whats that Resource Pack?
I have just uploaded a new version of CompleteMobControl and it is currently awaiting bukkitdev staff approval. It should be available sometime tomorrow. It has all the below issues fixed and more. I will update the description to include the new version changelog once the plugin is approved.
@HowlingWolf14
Thanks for your reply
New/old Permissions nodes work but I still cant get that config file to stay I will wait for the updated release.
Sugestion Is it possible to repel mobs so they can't even enter the radius of the repeller
Thank you for letting me know about those errors. I accidentally entered an incorrect string in the code. I have fixed both of the issues and will post a new update. Until the new update is approved you will have to use CompleteMobControl instead of completemc on the permission nodes. Use the example config layout but you will have to remove all of the comments "lines starting with a #" or it will clear.
YAY been waiting for this to be updated!
Wont work with 1.6.2
Few problems i'm having
Permissions nodes do not work even with completemc.* set to true, the only way is to op myself.
The Config file and Repellers/list over write themselves blank even after copying the config from here.
Thanks