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
Did that, no change. When I set the other protection times to 1s it will work though...
@H8llfire
Don't know then. Try making a new temporary empty server with no plugins and add PvPTimer. See if that works.
@lemon42
Changed it, no fix.
@H8llfire
Ok, let me see.
First of all, you don't need this:
It's just for groups.
As to why it doesn't work, I'm not sure. Try changing
to
and see if it fixes it. If it does, I have another bug on my hands that I'll need to fix.
As you can clearly see it's PvPTimer 1.1
However, even though it does not give errors on 1.5.1 Server it does not protect newly joined players. My config file: http://hastebin.com/vobapeyeme.vala
@lemon42
woohoooo, thank you man!
@DreamCastNetwork
You're in luck, it was approved right this minute! The link is right above, but here it is too:
http://dev.bukkit.org/server-mods/pvptimer/files/10/
@lemon42
Here is a screenshot of my log, start up and when I type /plugins you can see that pvptimer is enabled and lightgreen colored. http://imgur.com/Zeu8oLD,5wdIWcb,r64AVEd THERE ARE 3 PICTURES! I am running version 1.0c, because that is the lastest version I can find? Can you link me the 1.1? And it doesn't generate any folder/files.
FutureCraft
@H8llfire
What version are you running? PvPTimer 1.0c? If you're running 1.1, I really don't know what the hell is happening.
@lemon42
This is what happens on /pvptimer reload: http://hastebin.com/nojucunuvu.coffee
I downgraded to 1.5.1 spigot as I had a lot of issues right now (not just with pvptimer) and it is working well.
@mclightcraftproduction
What server software do you have? What version? Are you sure you put the jar in the right folder? Does the plugin tell you anything on start up? Does the plugin generate any files/folders?
@H8llfire
I'd need to see what the exact exception is to know what happened... is it when running the /reload or the /pvptimer reload command? At what step does it happen? Could you fetch me the console logs? If it happens when reloading the configuration/language, could you send me the associated files?
Also thanks for the german translation. I'll add it in a bit.
@danb123
I had released it and had the link up, however BukkitDev staff had me remove it since it wasn't approved. Due to BukkitDev's slow approval times you'll have to wait a few more hours till I can post the link again. It shouldn't be long though.
i want the 1.1 version of the plugin come on when is it released?
Just did a quick german translation: http://hastebin.com/rutanilodo.hs
Gives me null pointer exception on reload, spigot 1.5.2
Also, the join protection is not working somehow, I set every value to 0, but the Newplayers value to 30m. However new players do not get any protection.
@lemon42
Holland and the Netherlands are the same ;p, and no it is not a different dialect, the sentence orders are a little bit weird :p
It does not generate a folder, and when I type /pvptimer nothing shows up. I am not receiving an error.
@mclightcraftproduction
Maybe it's a different dialect? The person who translated it to Dutch for me lives in the Netherlands and not in Holland. You can find information on the translation here.
If you're sure that there is an actual problem with the translation itself, please send over your version. I'll make sure to hand it over to the person who translated it and I'll ask him what he thinks of it!
What do you mean by doesn't work? I've been testing on the latest beta and everything works so far :)
Awesome, I was waiting for this, I saw a server with version 1.5.1 and pvptimer worked, doesnt work on my 1.5.1 server, anyway I was looking at the source, and the dutch translation is a bit weird, I am from holland and I can fix this for you, pm me if you would like to.
Thanks FutureCraft
Version 1.1 is here!
Wooo! It's been a while hasn't it?! Well here it is!
The changelog is right there in the description, so I won't bother posting it!
Biggest change is that this plugin is now open source! Yup, you may not contribute to this project too! Of course, there's a lot more!
The file is still under approval but it will soon be available to you all!
Can you please add an option so that you can disable pickup, and chest / furnace interaction etc? For players who have pvptimer on?
Thanks!!
@lemon42
Seems to have fixed it, thanks a ton man. Appreciate it. I would love it if you could add my Skype, mellor12345. However I understand your very busy and its not urgent. Thanks again.
@xX_YA_MAMMA_Xx
Yup some keys are missing there. Try changing:
to
I'm assuming you wanted to disable respawn and join protection, or maybe it's an issue with migration. In any case, try changing to that and see how it goes.
If it still doesn't work please contact me via PM so I can assist you through Skype.