MonsterFix
MonsterFix v0.4.2
Highly customizable anti-farm, gameplay and explosion control, bug-fix and anti-cheat plugin. It was create special for server MCCity Project (game.minecraft-mccity.ru)
Features
- Antifarm (preventing drop (item and xp) from mob that was not killed by a player, drop from mobs that was spawned from the mobspawners, detecting traps (butcheries) and preventing drop from mob killed in the butchery area, preventing cactus farms, snowfarm, obsidian generators, etc...)
- Anticheat (sending blockcodes for cheating plugin, preventing moving and action processing after player perform blocked action, boat placing only on water... etc.)
- Gameplay (headshots, sprinting in armour limiter, long time sneak preventer, health regeneration limiter, ender pearl preventer, etc...)
- Explosions (total explosions control, detonating TNT in player inventory)
- System (save-all, use colors and font modifiers in chat, etc..)
- World (unsnowable block list, remove trash blocks in nature, allow to place redstone_lamp_on etc...)
- Mobs (now here is only equipment for spawned mobs, description will be added later)
Video
It is not possible to create videos to show all features of MonsterFix.
Last feature - wool coloring video:
Explosions control video:
Why Do I Want It?
If you interest in any listed features you need the MonsterFix :-) Even you need only one feature - you can easy disable any feature that you don't need to use.
How Do I Install It?
Just copy it in your Plugins folder.
How to use it?
Just install it. After first run config file will be created. All fixes will be enabled. You can change any parameter with commands, or edit config file.
Commands
- /mfix help - help page, includes all parameters list
- /mfix cfg - display current status, and group list
- /mfix <groupname> - display group variables settings
- /mfix <groupname>=<on/off> - enable/disable all fixes included in group
- /mfix <parameter> - check variable value
- /mfix <parameter>=<value> - set the value of variable
- /mfix rst - reload variables from config.yml and restart plugin
- /mfix fly - Fly!!!! (permissions required)
Most parameters require to set "on" or "off" value ("on" is default value). But there's some additional parameters required to configure basic fixes:
Permissions
Metrics and update checker
MonsterFix include too features that use your server internet connection. First one is Metrics, using to collect information about plugin (versions of plugin, of Java.. etc.) and second is update checker (required to find newer version of MonsterFix at dev.bukkit.org). If you don't like this features you can easy disable it. To disable update checker you need to set parameter "version-check" to "false" in config.yml. Obtain more information about Metrics and learn how to switch off it, you can read here.
Like this plugin?
You can buy me a chocolate :)
It's always giving errors in the console for me:
17:48:49 [SEVERE] Could not pass event EntityDamageEvent to MonsterFix
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.Entity.aA(Entity.java:346)
at net.minecraft.server.EntityLiving.aA(EntityLiving.java:264)
at net.minecraft.server.Entity.F_(Entity.java:269)
at net.minecraft.server.EntityLiving.F_(EntityLiving.java:437)
at net.minecraft.server.EntityMonster.F_(EntityMonster.java:25)
at uk.co.jacekk.bukkit.bloodmoon.entities.BloodMoonEntitySkeleton.F_(BloodMoonEntitySkeleton.java:64)
at net.minecraft.server.World.entityJoinedWorld(World.java:1264)
at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:106)
at net.minecraft.server.World.playerJoinedWorld(World.java:1246)
at net.minecraft.server.World.tickEntities(World.java:1153)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:560)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:461)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.NullPointerException
at fromgate.mccity.monsterfix.MFPlayerListener.onEntityDamageMob(MFPlayerListener.java:188)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
... 16 more
version:
17:49:30 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.5-R4.0-33-gd3f3ce6-b2254jnks (MC: 1.2.5) (Implementing API version 1.2.5-R4.1-SNAPSHOT)
my Players Doesnt get any Items Or XP orbs when killing mobs :/ ?? can anyone help me?
@xocolate008
Two exe? You mean they do it with two accounts? One window - one account, second windows - other?
@fromgate
Thank you for your prompt response, the form that exists to be deceptive to the inventory is to open two EXE of minecraft and to leave the things in the vault and to open the second exe you have your inventory and what you have deposited in the vaul, which I comment to you, that with few plugins it me works, does not leave me to open the second window but on having loaded all the plugins leaves me to open the second window and the "trap" can do a greeting to him and I wait for an improvement of your magnificent plugin;)
@fromgate
@xocolate008
Sorry I'm not sure that I've understand you right (I think my English is terrible:))
close_inventories_description key is just a description for node close-inventories: true
This node means that when MosnterFix performing /save-all command all players open inventories must be closed.
If you can describe how players "fooling inventory" I can try to create feature to prevent it.
Good morning I have a slight problem of functionality. everything works fine except as to open two windows at once, which allows users to fool the inventory.
doing several tests and concluded that, with few plugins working properly, but when loading the list does not work the close-inventories_description. if you need to know that plugins use let me know and I pass the list to the configuration.
sorry for my English;)
carefully a follower
This is sbit and ruins my server
@predawnia
New version with totally recoded headshots system uploaded :)
@nhoclesnar
Hello, I remember your suggestion about wolves. And I'm going to learn what can I do with those mobs. Our players asking me to fix wolves too.
v0.2.1
Hey fromgate, I requested a feature related to wolves and wonder if it is in the to do list yet. It's just a little bit ironic if the plugin name is monster fix and it doesn't concentrate on fixing monsters' bugs. The author of this plugin seems to gave up on his work, as he has found no other solution. I hope that you can find a fix for that. I will make a ticket in order for you to keep track of the progress easier. Thanks for your awesome work fromgate.
Edit: Oops there is no Ticket page. I guess I will post it here.
The main feature of Ranged Wolves is broken due "the broken setTarget() issue". Beside that, I'm really glad if we can set maximum capacity of how many wolves a player can tame. One more feature I think of is making other hostile mobs attack the wolves back if the wolves attack them first. It is, IMO, a big issue because players can just 'farm' monsters by running around and let their wolves do the killing job. Imagine if a player has a big family of wolves following him, he will become the master of farming very quickly. The only hostile mob wolves do not attack even if we hit them that I know is creeper, which is very fair.
@np98765 Cobblestone generators... I easy add a delay until other cobble stone will generate in the same point. It will turn mining cobble stone more faster and easy, than waiting the next cobblestone will generated.
Lol "But considering that my server is called LAVAcraft, it's a bit dumb..." that made my day. :P
I do like this plugin, but since I have a multitude of other plugins that together do most things this plugin does I don't use this atm. But I tried it and it was great. :)
Hey,
All of the features work great :D I haven't gotten around to testing all of them, yet.
I have a request... But I'm not sure if its possible :/ You seem to have excellent java skills, so if anyone can make it, you can...
Can you make an option to stop cobble generators? Those seem to be a big problem on my server. Currently, I've taken away the ability to use lava for users... But considering that my server is called LAVAcraft, it's a bit dumb...
The only way I could think of is if a cobble block is found to be forming in the same spot 'X' amount of times, cobble generation in that spot would be disabled for 'Y' amount of time, or something. I just don't want to lag down the entire server for stopping cobble generators...
@fromgate
My request is http://forums.bukkit.org/threads/req-formatted-custom-portal-gates.76687/
@np98765 Yes I'm going to add some monster-control feature to MonsterFix (or may be create another plugin) in future. But now I've no time for it. And my primary goal now is to finish the Lockpick & Rent releasing.
But what about portals? What is your idea? I'm working on one portal plugin, but it will long work - I don't when I will release it....
@fromgate
Ok, good! Yeah, I'm using Essentials. I just wanted to make sure that it wouldn't keep checking then canceling, because I am still trying to reduce usage and lag.
Great plugin! :D I've been looking for a good mob fixing plugin for a WHILE, trust me... I even posted a request... (I currently want a portal plugin and no one is willing to make it :( ).
@np98765
Use of server resources will be reduced to a minimum: all inactive scheduler's threads will stops, all event listeners will not process anything. All unused arrays will cleared - it will reduce usage of memory. If you are using AdminCmd (for example) you will not afraid about system resources for MonsterFix :)
@fromgate
:D
So, if I turn off everything else, they won't use up server resources??
@np98765
MonsterFix is HIGHLY customizable :) You can disable everything you don't want to use.
To use only antifarming you need to:
Install MonsterFix. Run server, login as OP and type: /mfix anticheat=off /mfix explosion=off /mfix gameplay=off /mfix system=off /mfix world=off
And then restart MonsterFix with command: /mfix rst
Type /mfix cfg to check - all groups except antifarm must be red, antifarm must be green.