PvPTimer
PvPTimer
Don't get join-killed ever again!
This is my second public Bukkit plugin. Enjoy!
Are you tired of those player-killers who keep tracking down the new members on your server? Well, there is a solution! PvPTimer will protect players from PvP for a set amount of time, and during that time will be able to build and discover the server, without worrying about those pesky player-killers! :)
Plugin suggested by Highneon from the awesome KingsOfMinecraft forum. Thanks to him! :)
Download and other links
I am aware of the issues present. If PvPTimer 1.3 does not work for you, please downgrade to 1.2, this should fix your issues till I manage to issue a new build. Thanks everyone for being so patient!
Stable release: PvPTimer 1.3
Additional languages
Configuration help
Command help
Source code on GitHub
Bukkit Forums thread
Plugin statistics
Features
- New players get a cooldown of a configurable amount of time where they will be immune to PvP, but will not be able to hit anyone.
- Lots of other protections, too!
- Players can disable their protection at any time!
- Admin commands!
- Easy configuration!
- Multilanguage support! Customize messages to will!
- A lot more!
Planned features
- Prevent people from using McMMO special strikes. Not sure if this will be possible. Looking into it.
- Remove protections on hit (with warnings).
- Official documented API.
- Permissions to disable automatic protection (join, etc.)
- All accepted and started tickets, hopefully.
Submitting feature requests/bug reports
If you want to submit a feature request or a bug report:
- When posting feature requests, make sure the request has not been posted by another user. Check the ticket tracker before doing anything!
- If you would like to report a bug, please be as clear as possible: tickets which aren't clear enough will be marked as Invalid or Waiting.
- If you have a crash log, please use a pasting service to post it, such as Pastebin, Pastie, or BukkitDev's own paste service.
- If you submit a log, please add information. Tickets showing logs with a description such as "It does not work" will be rejected. When does it happen? Did it happen once or is it recurrent?
Support
I speak English! If you need help, post your question in the comments, or send me an e-mail!
Je suis Français! Si vous avez besoin d'aide, envoyez-moi un e-mail!
Hablo Español! Si necesita ayuda, mandeme un mail!
Changelog
Version 1.3
- You can now disable the periodic save
- Added join message delay
- Added enderpearl trigger option
- Added non player death trigger option
- Added PvPTimer.remove permission (to allow/forbid removing player's own protection)
- Added protection timeouts
- Fixed excluded worlds
- Fixed enderchests and containers
- Fixed animation issue with trapped chests
- Fixed updater
- Fixed ConcurrentModificationException errors
- Fixed mob protection
- Fixed potential memory leak while saving configuration
Version 1.2
- Added updater
- Language files now support new lines with \n
- Configuration will now parse raw numbers as seconds
- Fixed container configuration
- Fixed teleporting to different worlds causing exceptions
- Fixed migration issue
- Fixed first join protection
- Fixed group issues
For the full changelog, please look at the latest file.
You should make it so that if a player with the defense timer hits another player it automatically removes it. But let it be a configurable option so that users who do not like the idea can turn it off. If you added this feature I would definitely use this plugin on my server. :P
@Davyhalliday
Well I'm not sure, I'll have to do some further testing but hopefuly I can find an API to use, but can't guarantee I'll be able to implement that :P
Could you make it so that a player can't use McMMOs serrated strikes while in protection?
@sbeexDEV
For multilanguage, I might add support for custom languages, however it is currently not planned.
For the join protection, this might be added in the next release, i had that in mind, and since you request it :)
And about the swords no, I don't want to limit people when using it. If they try to hit them they will see they are protected.
@lemon42
It works very well ! But could you add some features please ? It could be very pleasant if we could change the messages like "Error : you are not protected" by something else in an other language for example. Another thing. Could you enable this functionality for people that are not new to do a "spawn protection with another delay" ? I mean :
case 1 : I'm new to the server i'm protected for 10 minutes
case 2 : I already played I just connected to the server I'm protected 30 seconds versus players
something like that ?
Thank you in advance for that if you can do it. (Maybe another feature that could be cool is that if you are "protected" you can't take a sword or something like that in your hand and so like that other players will see you are protected.)
@sbeexDEV
You're welcome! Please report any bugs, issues, questions, or suggestions you have! Thank you!
Looks really cool our community have exactly the same problems as your plugin try to solve . Will try it and tell you our mind ! Thank you very much
@Agnostics
Glad it helped! :)
Awesome plugin! This solves all my problems from users always leaving because they are getting killed by my donators.
@lemon42
Oh alright. That's understandable. Thank you I'll still use this, hopefully you do add that option. :)
@gzEthereal
All the checks are based on the time joined. So if you set it to 5 hours, hoin at 2PM, your protection will last till 5PM. If you log off at 3PM and log back in at 4PM, you will have lost 1 hour of protection. I might code an option to let you choose how it works, but I don't know.
Ahh this is a great idea. I disliked how players were constantly being killed. Thank you! I have one question. If I wanted to set the protection to be 5 hours, does it check 5 hours from when the player first joined? Or is it 5 hours of the player's actual game time?