This sounds a little difficult, but I might be willing to give you a "prize" if you catch my drift. Basically this plugin has it so you can die in creative from a player and mobs but not lava and fall damage. When a creative person dies they drop their inventory in their survival not creative. The people in creative cannot pvp however, and I would enjoy it very much if you could make it so they lose faction power. No commands No permissions Is this possible? My skype is brmd_sloop1
In creative dig straight down all the way through bedrock at the bottom, make sure you are not flying, fall into the void and die. Now can I get my prize of grass? Sorry for this troll I'm just bored Anyway, from the point of a developer this would be hard as pain is not even registered when a user is in creative mode (unless I just haven't noticed that it is...). So it would require them to have to check all the pain giving scenarios and act upon them (with a virtual health as the health bar is removed client side) or they would have to graphically add the creative GUI when the user accesses their inventory (but keep them in survival mode) (could be done by switching game mode just as they open their inventory, then back once they close it). tl;dr this would be very hard.
I made this. The health bar is removed but not the health. They still have health/hunger/air and satiation. It's just not visible
Unless the entity damage even is still called in creative then I can not think of a short method. If it is still called then it should be easier than I was making it out to be, just keep it virtually like you did.
Then I am interested in seeing your code please. EDIT: Just seen this which you may be interested in as well. http://forums.bukkit.org/threads/pvp-in-creative-possible-break-minecraft-limits.104253/
Ahah that's how I did it xD Although I didn't see this post xD BAh I wish I saw it sooner xD I Would spare myself to some frustration ahah http://pastebin.com/Cc44Na5k You have 1 hour to see this
Ahh that's quite cheeky Thanks I have acquired a greater knowledge. Submit the plugin to the other thread anyway, just to make yourself look good
Btw this did not incllude the new change, which checks if the entity on projectile hit is not the same as the shooter so yeah...
I didn't even think of that when checking the code . You are a great thinker, I hope you have fun with your future endeavors and that our paths shall meet again some time. Thanks man.