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.
Hi Lemon, here is one of the errors that comes up:
This happened on startup:
this happened on player join
@lemon42
No problem mate always trying to improve my favorite plugins by supporting them with ideas,bugs and other stuff ;)
@EatingEmoKids
It would help me if I had an error log or something to assist me fix this issue. I don't know what could be possibly causing it, or even what it is at this point. I have tested it on my server with the latest development build of CraftBukkit (2611) and it works like it should.
@CollinDesigns
Glad it does, it doesn't seem to affect everyone. I still don't know what the issue is though. If you ever run into any problems, please send me an error log. Thanks!
@EatingEmoKids
Its working for me atm, what issues you have?
Is anyone else having issues with this plugin and the latest bukkit dev builds for 1.4.7?
@deaddude22
While this is true, some people dont use Essentials. I think it would be nice to have that feature in.
For the two comments below if you use essentials just check the config and you can see there is an option for that exactly.
So when the player teleports they have a given amount of time having pvp protection.
@ravand
This is happening on my server too, while we warn our players not to accept teleports from people they don't know or trust, they still do and get killed.
Thanks for the great idea, will implement in the next release! Can't believe I hadn't thought of this earlier!
Another nice feature would be to disable pvp upon teleporting. For example on our server people are tricking people into using /tpa and later on killing them. It would be nice to have 10 seconds protection after teleporting to a user.
Also depending on the performance of the players machines and or of the server it can take time to load all the chunks and enemies around you. So having a little gap of time wouldn't be bad at all.
@next2myown
What do you mean? People with a timer enabled normally can't hit people. If it isn't the case and protected players can hit people, it could be a bug. Someone else sent me a report about this. I'm still investigating the issue.
Needed UPDATE!!! Players with PVPTimer On when they hit someone with PVP Timer OFF (removed) their PVP Timer == should disable for duration of battle or remove until player turns it back on. == Also ==== should be a delay before it can be turned back on. ====
This is for anti-PVPTimer abuse!
Please contact Pookok and/or Dennild of WantedPVP (wantedcraft.net) with update. Thank you!
I'd like to confirm the latest build works on 1.4.6 R0.1 & 1.4.6 R0.3 with no errors.
@SkepticCraft
It would actually help if SOMEONE could post some error logs. I don't know why it's not working for you as everything works fine here!
Input appreciated, but please, give me something that could help me resolve this!
Not working on my server. Currently running 1.4.6 R0.1 build. I get an internal error message, I'm using 1.0c pvptimer.
@arriej
Hello, plugin seems to work fine on R0.3 Beta build. Could you specify what errors you are encountering? Thank you!
this build is not working on 1.4.6R0.3
How long do you thinks its going to take?
@MachetePanda
What you did will work without any problems. The player does not start protected when set to 0, else it would simply be, as you said, unfair. Setting a value to 0 completely disables protection for that kind. If you are still unsure, test it out yourself!
Just searched your forum thread and the comments here. surprised no one has asked this. In the time amounts section. I dont want respawners and joiners to receive protection. So I have set the values like this:
However I noticed you have a protection check line(checkEvery:). Will what I did work, or due to the protect check, does the player start protected first and not get updated till the next check?
We have Factions with NoLogger so you can imgaine how unfair it would be for someone to raid and the person TPs back to their base with protection, takes all their valuable out of the chests and logs off. Thank you, MP
@deaddude22
(The author edited his post, here is a new reply)
Well that might be more possible, and more possible with my current way of managing protections. Don't know though, since my implementation did not originally intend to have cooldowns... maybe. I like it better than your first idea though, thanks for the input! :D
@deaddude22
I don't know if this fits the plugin, it's meant to protect players against malicious player killers. This functionality might be added, but I have some stuff to add in first. The current protection system isn't adapted to what you are asking for. Suggestion considered though! :)