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.
work with 1.12?
It will be great plugin if it have World Guard regions support. When player is in pvp disable region then timer freeze.
1.8 support please?
There is a free Steam gift card giveaway at http://getsteamgifts.com/ I recommend this!
How to translate the help and reload! I have tried to translate all the other parts, but at the help I do not know how translate developers hope to help.
and can not check time protect the player. I'm using version 1.8.3 server!
Heey
What's up
This is not cool, so yea die
New link: http://www.spigotmc.org/resources/pvptimer.2713/
Said he's gonna make it worth the cost, adding more and more features and keeping it well maintained.
@clovisdelmotte
I'm not in control of what he does, so if he decides he wants to be paid for his work then he can.
@deaddude22
Your "Friend" just removed his plugin from the link you gave and has now made it "Paid".
Here's the new link: http://www.spigotmc.org/threads/pvptimer-paid.41858
Had my friend re-make the plugin guys.
http://www.spigotmc.org/resources/pvptimer.2796/
Missing some features, but are slowly being added back and to be better maintained for now on :)
http://pastebin.com/LNzedcse
@deaddude22
This is an open source licensed plugin:
"By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program"
You can redistribute as is, you can make changes to the code and redistribute, you can basically do anything you want with the code with only one exception.
"For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights."
This means that you have to also provide the source code and any new source code you have added or changed and provide the same license that the original code was released under.
Through this license, this author has already given you permission to use the code, you are not required to contact the author and ask his/her permission. (this license guarantees this right)
Even if the author was to login right now and change this license to something doesn't allow you to do this, anything written prior to today would fall under the license it was released under, meaning you could take any previous code and do whatever you want with it as long as you follow the original guidelines of keeping it open source. (you would never be able to change it to a non-open sourced license as you are not the original author)
For some unknown reasons, at certain point the plugin spams the console with these logs:
http://pastebin.com/ZU8MrB50
It nearly freezes the server, please help!
@deaddude22
I personally used pvp timer so that new players had an optionally removable, configurable period of grace in pvp.
But I do also find the respawn grace period very usefull for preventing killspam on my factions server.
It is quite a complex plugin to make, It's very important that this grace period does not annoy players who are not protected, or it can ruin gameplay. I guess many of pvptimer's features can't be ommited... But I do see some that could be removed.
If this plugin were to be re-made it'd be going off PvPTimer v1.2
Would there be any features that aren't really needed in there that'd make this process easier?
@deaddude22
You can make a diferent plugin, diferent coding, but same purpose.
Of course, If you don't have the time it's comprehensible... lets hope Lemon42 shows up...
@deaddude22
I think you're able to, but you have to put a note saying that if lemon42 requests for the takedown of the plugin then you need to. I've seen someone do it before when they were unable to contact the old developer.
I'm not allowed to just take his source code, change it, and distribute it. Read the license.
I also do not have time to re-write this myself either.
@deaddude22
Why not just make a new one? Please tell us if you consider this c:
Wat is this- How do i fix <<code 18.09 15:51:31 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) 18.09 15:51:31 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:71) 18.09 15:51:31 [Server] INFO at lemon42.PvPTimer.CheckTask.run(CheckTask.java:13) 18.09 15:51:31 [Server] INFO at java.util.HashMap$KeyIterator.next(Unknown Source) 18.09 15:51:31 [Server] INFO at java.util.HashMap$HashIterator.nextEntry(Unknown Source) 18.09 15:51:31 [Server] INFO Caused by: java.util.ConcurrentModificationException 18.09 15:51:31 [Server] INFO at java.lang.Thread.run(Unknown Source) 18.09 15:51:31 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 18.09 15:51:31 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 18.09 15:51:31 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) 18.09 15:51:31 [Server] WARN org.apache.commons.lang.UnhandledException: Plugin PvPTimer v1.3 generated an exception while executing task 58 18.09 15:51:31 [Server] WARN Exception in thread "Craft Scheduler Thread - 356" >>
<</code>>