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.
@lemon42
okay thanks
@megasnipez_
I'll have a look at it, though it seems to be working here.
@lemon42
if the player protected tries to hit someone it will say there protected the time limit there protected for it will say 1 second, for the player hitting the pvptimer player it will just say you cannot hurt this player.
@megasnipez_
Are you sure this has to do with new player protection? The only 1s I see in there is under respawn. Even so that's very odd. Does this happen every time or did it only happen once?
@lemon42
Click me if you want look at my config here
@megasnipez_
That's odd. I'll have a look, however I can't guarantee anything right now. Could you check your configuration and language file, and make sure that everything is set properly? Are you sure this has to do with join protection?
hi i got a minor probelm when your in pvp timer and you try and hit someone it says [PvPTimer] you cannot hurt other players while protected! type /pvptimer remove or wait 1 second to be able to PvP! but i have my default new users join pvptimer set to 30 minutes not a second?
@NoHoPeLess
Thanks for the report, I will look into it.
Hello world exclude are not working...
But now in all worlds when i respawn have a 10sec protection....
The same issue with: excludedWorlds: [world1, world2, world4]
Used the last Craftbukkit build
@lemon42
Damn lemon beat me to it...
@hotshot0101
Not for now, sorry. For now just set it to a really high amount like 9001h until I fix the issue. In future versions you'll be able to set this to 0 to disable it :)
For your teleport issue, please show me your configuration?
Thanks!
is there a way to disable to auto save so it only saves on server restarts? also i can't disable the teleport protection it says pvptimer check or wait 1 second but nothing happends
Hello everyone, sorry about not replying earlier, but I have been in vacation this whole time without internet. I'll do my best to answer everyone.
@albireox
About death pickups, might be added later on. I think it could be possible, but I'm not sure if I'll be able to do it without draining performance. Still, thanks for the idea!
@ThaSourceGaming
This issue is fixed in the next version, just haven't had time to release anything yet. I'm waiting a bit for a beta build to pop up, Bukkit seems rather unstable at the moment, considering it's been through more than 20 builds without a beta.
@ThaSourceGaming
This has been taken care of in the next update, please wait for it's release :)
For anyone with feature requests etc. all plugins including this one are waiting on the bukkit team for a beta build. Once a beta build is released i believe then lemon will begin to fix/add onto this plugin so please be patient.
@ThaSourceGaming
If you have errors or problems with the plugin please fill out a ticket http://dev.bukkit.org/bukkit-plugins/pvptimer/create-ticket/
@albireox
I do believe this is possible as i think bukkit provides an API for this but i also think this might make the plugin too bulky.
Also when using Enderpearl, the PvPTimer thinks the person just spawned, so it will give another 10 seconds.
So every time they use Enderpearl they get another extra 10 seconds of PvP Protection.
It needs to be fixed i assume :)
@lemon42
Yes, every time I reboot my server.
@lemon42
Thanks, I thought it disabled item pickups altogether
EDIT: I'm browsing the code and it does disable all item pickups. I am talking about pickups of items dropped on death. People should be able to mine and gather resources with their pvp timer on.
@albireox
The allowPickup property does just that. Check out the configuration page for more details!
Could you possibly make it so you can't pick up items that dropped from player deaths while your PvP timer is on?