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.
@Teecle
It depends on the project really, however I'm not sure if we're allowed to discuss about that here. I'll send you a PM!
@Wazes
That doesn't answer my question, do you get that every single time you start the server, or was it a one time error?
@lemon42
Only on server startup.
Thanks for the reply and sorry I haven't responded to you yet. So i decided to just redownload it and it stopped doing the teleport. I also have one more question how much do you charge for plugin development.
@Wazes
Do you get it every time, or did you only get it once? I'll work on a fix.
On startup I receive this error: http://pastie.org/pastes/8139644/text
I don't believe its having an effect on the plugin functioning or if it is causing any lag. But it's an error none the less. Maybe someone could explain, and a way to fix this.
Thanks.
@Malvagio87
Hello,
PvPTimer will work just fine. This error is related to the updater and should not affect the rest of the plugin in any way. I am working on fixing this.
Thanks for your report, - lemon42
@lemon42
2013-07-12 14:32:55 [SEVERE] Exception in thread "Craft Scheduler Thread - 2" 2013-07-12 14:32:55 [SEVERE] org.apache.commons.lang.UnhandledException: Plugin PvPTimer v1.2 generated an exception while executing task 33 at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.NullPointerException at lemon42.PvPTimer.Updater$1.run(Updater.java:42) at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:58) at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more
Thats the error i get when i start my server ... Running Spigot build #1030
This is very useful, but I was wondering if you could have a re-enable feature?
You can use /pvptimer grant [player] [time] to give one specific player protection or can also use /pvptimer reset to give everyone starting protection.
@lemon42
Thanks man, will test it out a bit now.
@tntfactions @YoPro9
I normally only test against beta builds, however yes it should work without any problems. If you have any issues tell me and I'll fix them as quick as I can.
@tntfactions
I would like to know this as well
Is this working with 1.6?
@xanderortiz
Wow, didn't think of that! Thanks for the suggestion, will do! :)
Can you add an option in the config so that player's cannot turn their PVPtimer on after a suicide (or a death not involving another player)? Too many players are avoiding PVP in PVP regions on my server by purposely committing suicide so they have a window of 30 minutes to roam free and do as they please.
@Teecle
The "missing" message notes that a key in your language file is missing. Did you configure it properly? Make sure your teleport key is present. About the other issue with players returning to their initial position is probably not this plugin. Please test on a blank server with no other plugins. If you still have the issue, please tell me and I'll look further into it. If you don't, try removing PvPTimer and see if this issues persists. If so, another plugin is causing the issue. If not, then please send me your plugin list so I can check if any of your plugins conflict with PvPTimer.
@CaznowlSMP
Will be added in the next release, thanks for the suggestion :D
CAn yuo also add an option to disable enderpearls? If you use an enderpearl it starts the pvp protection and you can use them constantly to avoid pvp damage.
Hi guys I am having a problem with PVPTimer and when anyone tps to spawn or a nether player it will say that the "your protection has expired" and under that will say "Missing: teleport" and it will teleport them back to where they were standing. So please help me with this and thank you for your time.
@CaznowlSMP
Will be in the next release. Thanks for the suggestion :)
Can you add a permission so certain players dont have the pvptimer protection or an override please.