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.
Scource ? For a Translation ?
Please :)
Great Plugin! Good job lemon!
@lbb601
Soon! :D
lang file please?
@Assertive
I have checked Multiverse-Inventories' source and can't find the value my plugin uses. I'm afraid both plugins aren't compatible, sorry! :(
@lemon42
Thanks for the consideration. Whatever is easiest would be nice!
@Assertive
Pretty much, however my plugin does not directly read it: PvPTimer uses Bukkit's functions to do that. I could add an option to make it compatible with Multiverse-Inventories, but only if they keep the join timestamp in there. Else it just wouldn't be possible.
I'll look into it, thanks for the suggestion.
@lemon42
Sorry, basically I am assuming your plugin reads a player.dat file to check their timer? If so, this causes a conflict with a plugin like Multiverse-Inventories. Multiverse-Inventories kind of makes its own world folder with player.ymls (instead of dats) to keep their inventories separate.
This is commonly used to keep Creative separate from Survival if you know what I mean. If you were to navigate to your ./serverhome/worldname/players/ this would be empty. Only the main world defined in the server.properties contains the .dat files. So, if a player is not on this main world, they show up as never being connected for pvptimer.
I'm wondering if the timer can be compatible with Multiverse-Inventories. If not, it isn't a huge deal. Thanks again!
@xXxKillDogxXx
In the works :)
lemon this is really small suggestion but new players seem to "miss" the signs shall we say about the command to remove the pvp timer could you add in a way to config and adjust the message they get when they try and pvp please?
Its just i would love to be able to change it to "You are under PVP Protection for "X" Mins. Please do /pvptimer remove to disable this.
Thanks xXxKillDogxXx
@Assertive
I'm not sure if I understand you right, could you explain a bit further what you want the plugin to do? Your message is confusing me, sorry :(
@Jacold
Your plugin implements a new gameplay style, which isn't what my plugin does. The aim of my plugin is to disallow all those experienced players from killing you. It's quite funny someone directed you here though :)
Hi Lemon. I posted request similar to your plugin. Can you look at this and add these features?
http://forums.bukkit.org/threads/req-limited-pvp.89454/
Thanks!
P.S. Send me PM if you get started adding these features. Then I'll close this request.
Hey lemon,
Plugin is working great, but I wonder if you could look into one feature. We use Multiverse-Inventories and this plugin doesn't see a player's player.dat (I assume that's how it works) when they join a world that's not sharing the same inventories with the main world (like our PvP-only world). Any way we could get some compatibility with MV-Inventories? Or maybe always make it check the main world's player files?
@vicente947
Yes working on it.
Please add a protecction when you respawn
@trancedkuja
Yeah, has already been suggested, adding it in the next release :P
Hello,
Could you make it to where when people die, they have PvP protection for a certain amount of time?
Thanks.
@Reptar_
I might in a later release. Thanks for the suggestion.
Any way you can add a feature so when they enter a certain world, they have a certain amount of no damage/hurt time? And they can keep using this over and over.
@Blaikie
Oh I see! Yes it's possible to add this eventually. Thanks for the suggestion :)