AntiPVPGamemode
AntiPvPGamemode
Ever hated how your staff members keep killing your players in creative gamemode? Did you ever want to make a plugin that would stop them but didn't know how to code in Java? Well AntiPvPGamemode is for you!
About AntiPvPGamemode
AntiPvPGamemode instantly changes any player who is in creative gamemode into survival if they tag another player using potions, swords, bow and arrows ect...)
Example
I am MineHelper, and I am a creative abuser. I hit Joe, and it then instantly changes me into survival and deals 4 hearts of damage to me.. Joe then has a fair chance of killing me, instead of a one-sided slaughter.
Features
The plugin contains many features:
- Arrows support
- Swords
- Potions
- Permission Nodes
- Bug free
- Easy To Use And More!
How To Install
Follow these simple steps to install AntiPvPGamemode successfully:
- Download AntiPvPGamemode (BE SURE THAT YOU ARE USING THE LATEST VERSION)
- Stop your server
- Drag and Drop AntiPvPGamemode.jar into your plugins folder
- Start your server
- Watch Staff fail at killing players while in creative :P
Video Tutorials
Show DarkSide some love by checking out his Youtube Channel HERE
- Do you have a video covering our plugin? PM Me the link and your server's ip will be added to our Sponser Server's List :D
Configuration
Config File
- No Config yet created Please comment below with some great ideas for the config.
Permissions
Permission Nodes (for 1.7.2 and Higher!):
- antipvpgamemode.bypass
Purpose of AntiPvPGamemode
- There will be no creative abusers out there in the Minecraft community
- New players will no longer leave your server due to creative abuse
- You Don't have to worry about staff PVPing while in creative
TODO List
- Potion support - Done
- Permissions - Done
- Flying/Flight Support - Done
- Auto Updating system - 17%
- Add PVP features (e.g. pvp effects, health info, sound, etc...) - NOT Done
- Disabling commands for a short period of time - NOT Done
Suggestions? Leave a comment :)
Report Bugs/Errors
- Found a BUG??? We Will help you kill it! Simply submit a ticket and will take it from there!
Wall Of Fame
- joehot200 - Manager, Author
- MineHelper - Author, Tester, Ticket Manager
- DarkSide - Showcased our Plugin
- You...?
Donation and Info
Donation Chain :3
- Donation chain:
- I receive some money
- Buy coffee
- Work longer
- Faster Updates
- Your benefit!

-
View User Profile
-
Send Message
Posted Oct 19, 2013@therealspoljo
Heh. Never knew that event existed. Learn a new thing every day i guess.
Actually the first check would be if (event.getEntity() instanceof Player) - Then it would be if (event.isCancelled) return;, and then if (player.getGamemode() == Gamemode.CREATIVE) player.setGamemode(GameMode.SURVIVAL);
Edit: Of course its not a damage event so i cant check if its cancelled... Could be a problem. im terrible at hooking into other plugins.
-
View User Profile
-
Send Message
Posted Oct 18, 2013@joehot200
You could use PlayerInteractEntityEvent, check if the entity is a player and if he is in creative, if so, change his gamemode to survival. Simple as that :)
EDIT: oh and yeah, first check if the player that is in creative mode is in a pvp protected area ( from plugins like WorldGuard or Factions)
-
View User Profile
-
Send Message
Posted Oct 18, 2013@MineHelper
It is impossible because there is no damage event fired when a survival player hits a creative player.
You would have to do it so that when the survival player left clicks, get the nearby entities and if they are a player and in gamemode make them survival. That is very inefficient and could annoy players (for example creative player working on spawn, survival player left clicks and creative player turns to survival).
It would be easy enough to add a config with the gamemode number to set them to.
-
View User Profile
-
Send Message
Posted Oct 17, 2013@taariq678
It is very hard and difficult to do that since you have to define where the warzones... are at and the safezones... It might also have some effects between it and between worldguard, factions and or any other claiming plugin BUT i will take this under consideration Thanks for the idea tho
-
View User Profile
-
Send Message
Posted Oct 17, 2013@CoasterCrazy
Okay thanks for letting me know. I am going to fix this bug on the next update
-
View User Profile
-
Send Message
Posted Oct 17, 2013Updated the plugin just waiting for approval :D
-
View User Profile
-
Send Message
Posted Oct 17, 2013Hello everybody :D great to be back to the awesome bukkit community :) Once i get my hands on the source code i will start updating the plugin and I will upload it as soon as possible :D Even tho i have a math unit test tomorrow Sigh... High School... @Joeshot200 okay i got the source code. i will take a look and see what i can do :)
-
View User Profile
-
Send Message
Posted Oct 16, 2013@taariq678
Unfortunatley next to impossible wihout a bit of lag
@xXrobin99Xx
Is that a joke question? "Please update"?
Serious questions please :(
I am going to be adding MineHelper as an author who will be doing future updates on the plugin.
@MineHelper might be worth checking if (thePlayer.hasFlyMode()) or something like that to block PVP while in flight.
-
View User Profile
-
Send Message
Posted Oct 8, 2013Please Update!
-
View User Profile
-
Send Message
Posted Sep 17, 2013Hey so this is what i would like you to do for a 1.6.2 server .
On this server we have a plugin to stop people from pvping in creative so thats fine . but what we want is that when a creative mode player goes into the wild and uses gm as protection when a player in survival mode hits them it reverts the gm player to survival . make sense ? please for a reply it will be great to have one
-
View User Profile
-
Send Message
Posted Jul 8, 2013Can you make it work so that if you do it with a mob it also changes you back?
-
View User Profile
-
Send Message
Posted Jun 18, 2013I have a minigame plugin that changes players to adventure mode so they don't destroy the surroundings. When people hit each other, those hittinh get damaged. Can it be made so it only does it if the player is in gm1 and not gm2?
Thanks
-
View User Profile
-
Send Message
Posted May 12, 2013@tibtebrummen
Is that a joke question?
-
View User Profile
-
Send Message
Posted May 2, 2013Please can you update it than can i use it for my server. :-)
ftw.minecraft.server.wordpress.com
-
View User Profile
-
Send Message
Posted Apr 25, 2013@lst96
Ooh. Sure thing!
-
View User Profile
-
Send Message
Posted Apr 10, 2013could you make it where if you are in fly mode/vanish it will be disabled.
-
View User Profile
-
Send Message
Posted Apr 4, 2013@Ruphies
Want me to to turn that off too?
-
View User Profile
-
Send Message
Posted Mar 17, 2013What about fly mode??
-
View User Profile
-
Send Message
Posted Mar 9, 2013@joehot200
Getting a ClassCastException on my live server :(
I will see if i can fix it, then relase the new version.
-
View User Profile
-
Send Message
Posted Feb 22, 2013@monkeymonk69
Ooh.
Sounds good!
Good idea!
So: When a player pvpes, he will be added to a list.
People in the list cannot do commands.
60 seconds later, they are removed from the list.