CreativePvP
Description
A simple plugin that prevents players in creative mode from hitting other players. If the player in creative mode hits a mob, the mob is immediately killed without dropping anything. This plugin helps prevent players from abusing creative mode.
Features
- Disables PvP for players in creative mode
- Players in creative mode kill mobs with a single hit. These mobs won't drop anything
No Commands
Permissions
- creativepvp.bypass - Ignores the player
- default: op
Installation
Drag CreativePvP.jar to your plugins folder and /reload your server. Edit config.yml if needed.
Planned features
- Prevent players in creative mode from picking up or dropping items. Configurable
@S6ge
Thanks, I'll fix it
I find one bug :)
IF Gm men shot with bow gm 0 then he get hit ....
i hope u understood :D not very good at english.
@TheOneWhoOwns
Please use this
Error log you provided doesn't show enough information.
@1mpre55
I got a error : 2012-10-11 16:48:13 [SEVERE] Could not pass event EntityDamageByEntityEvent to NoCreativePvP v1.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341) 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 org.bukkit.craftbukkit.event.CraftEventFactory.callEvent(CraftEventFactory.java:80) at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:364) at org.bukkit.craftbukkit.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:386) at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:591) at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:595) at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:353) at net.minecraft.server.EntityMonster.k(EntityMonster.java:80) at net.minecraft.server.EntityMonster.a(EntityMonster.java:86) at net.minecraft.server.EntitySpider.a(EntitySpider.java:91) at net.minecraft.server.EntityCreature.be(EntityCreature.java:56) at net.minecraft.server.EntityLiving.d(EntityLiving.java:1095) at net.minecraft.server.EntityMonster.d(EntityMonster.java:21) at net.minecraft.server.EntityLiving.h_(EntityLiving.java:447) at net.minecraft.server.EntityMonster.h_(EntityMonster.java:25) at net.minecraft.server.EntitySpider.h_(EntitySpider.java:20) at net.minecraft.server.World.entityJoinedWorld(World.java:1245) at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:511) at net.minecraft.server.World.playerJoinedWorld(World.java:1227) at net.minecraft.server.World.tickEntities(World.java:1125) at net.minecraft.server.WorldServer.tickEntities(WorldServer.java:428) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:563) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:473) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:405) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftSpider cannot be cast to org.bukkit.entity.Player at net.endercraftbuild.Main.pvp(Main.java:24) at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339) ... 28 more
For some reason, it appears that this plugin stopped functioning at all in CraftBukkit 1.3.1-R1.0...
I hope it can be fixed, because this is an awesome little plugin!
@bigscary
This isn't really a complete anti-griefing plugin, I never meant it to be that. This plugin is meant for either small servers or servers with an anti-grief protection that doesn't have this feature. I don't intend to add a lot of other features at the moment. When I do, I'll look it up, thank you.
There's a HUGE list of bad things griefers do in creative mode. If you really want to solve that problem as whole, you've got months of work ahead of you. Look to "Grief Prevention" for some ideas. :)