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
Sure thing lemon ;) (Sorry for chat spam) I think the only things Ive changed is the NewPlayer join, save and check intervals and the damage type from "Players" to "All", thanks! :)
@xX_YA_MAMMA_Xx
Might be an issue with your configuration. Could you attach your config.yml please? I'd like to take a look at it.
@lemon42
Hey Lemon ;) This is the 1.4.7 version C or something. But im constantly getting errors like this, thats why I was so exited about the update :) This is able 30 lines every 3 seconds? My server can handle fine with no lag, but people with the average server may struggle to cope. Good luck. 29.04 08:06:20 [Multicraft] Skipped 6 lines due to rate limit (30/s) 29.04 08:06:18 [Server] INFO ... 14 more 29.04 08:06:18 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 29.04 08:06:18 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:601) 29.04 08:06:18 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 29.04 08:06:18 [Server] INFO at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source) 29.04 08:06:18 [Server] INFO at lemon42.PvPTimer.PvPListener.onJoin(PvPListener.java:82) 29.04 08:06:18 [Server] INFO at lemon42.PvPTimer.Config.getString(Config.java:188) 29.04 08:06:18 [Server] INFO Caused by: java.lang.NullPointerException 29.04 08:06:18 [Server] INFO at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) 29.04 08:06:18 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409) 29.04 08:06:18 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476) 29.04 08:06:18 [Server] INFO at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) 29.04 08:06:18 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:580) 29.04 08:06:18 [Server] INFO at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:29) 29.04 08:06:18 [Server] INFO at net.minecraft.server.v1_5_R2.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:41) 29.04 08:06:18 [Server] INFO at net.minecraft.server.v1_5_R2.PendingConnection.c(PendingConnection.java:44) 29.04 08:06:18 [Server] INFO at net.minecraft.server.v1_5_R2.PendingConnection.d(PendingConnection.java:129) 29.04 08:06:18 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerList.a(PlayerList.java:100) 29.04 08:06:18 [Server] INFO at net.minecraft.server.v1_5_R2.PlayerList.c(PlayerList.java:204) 29.04 08:06:18 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 29.04 08:06:18 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 29.04 08:06:18 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 29.04 08:06:18 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 29.04 08:06:18 [Server] INFO org.bukkit.event.EventException 29.04 08:06:18 [Server] SEVERE Could not pass event PlayerJoinEvent to PvPTimer v1.0c 29.04 08:06:18 [Multicraft] tobiastvjensen ran command Message of the Day 29.04 08:06:18 [Connect] User tobiastvjensen, IP 80.161.135.171 29.04 08:06:17 [Server] INFO Spartan <[Default]bjork100> Fik du Sharp iX? 29.04 08:06:14 [Server] INFO ... 14 more 29.04 08:06:14 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 29.04 08:06:14 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:601) 29.04 08:06:14 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 29.04 08:06:14 [Server] INFO at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source)
Hello!
I made some last minute changes to add a feature in before releasing and made my build of PvPTimer completely unstable. I haven't had time to fix it yet and have more important matters to take care of at the moment. I hope you all won't mind another day or so of wait. Should be released in the next 24 hours.
Sorry about the additional delay!
@flip284
I'll have to think of updating the configuration help page with some more detailed information... Anyway, make sure that you set newPlayers to the time amount you want to give to new players, and set the join node to 0s. This will ensure players only get protection once.
@xX_YA_MAMMA_Xx
What kind of errors? When? Mind posting them? I might have missed something!
Thanks to everyone for their support. This is the last time the 1.1 update is delayed. I know I may sound like an idiot, I did say I'd release it by Sunday... and I failed my word. I'm sorry, but I have a life too, and have had some personal issues lately. I don't want to sound like a lazy developer (even though I probably am!), but yeah. New update on the way!
@flip284
Config file something like on login - set that to 0m. You probably just want it so players to have 20m of protection when they first join the server, right? So set "NewPlayers" to <time>m. That should fix it :) Cant wait for the new update, my old lemon :) I still have the plugin on even though its throwing massive amounts of errors in my face D: Anyway, :P - MontyPvP.com Owner.
pvptimer is reapplied to all my players when they logon, even if theyve played for over a month. is this supposed to happen?
Where there be a new update today uploaded?
@xTyuzi
May I remind you the week actually ends on Sunday? If I had decided to drop the project, I would have clearly stated it and would have let someone take over it. I have no intention of stopping.
Haha, you'd have it out this week - Its Friday and there are no updates. Maybe consider letting someone else take over this? Just a thought.
There are people that have been very patient - Your last update was in 1.4.6
@danb123
30 minutes. It's all explained here.
in the config is that in second i have 30m does this mean 30 minutes? or 30 seconds still
@xTyuzi
I'm fine with you making your own version. However I'd like to stop the wait. Been through some personal issues and by such I haven't had much time.
I'll do my best to push out the update this week... for real this time!
@DerekZil
Point taken - Note to self: Make his own version. I'll try redo this plugin and post a link to it with the new features if Lemon42 lets me.
New features were - Disable pickup while in pvptimer, anything esle?
@xTyuzi
Go make your own then, don't complain about someone being busy just so you can drag and drop you lazy crap.
Hope you are able to keep this plug alive :]
A features badly needed - protection activation only if killed in PvP.
You really have been slacking in development of this plugin, really.
There is a very big big. If you disable the plugin in a world still dating the message even hurt him, also do not work MCMMO skills in that world. Fix thanks
@lemon42
Please add a simple command to give player pvp timer again! like /pvptimer grant [player] [time in seconds]
If thats too hard with the current way the plugin is coded, then just add the command /pvptimer grant [player] to grant them default protection time again.
EDIT: Also, if this is on github I'd be willing to make some PRs for this awesome plugin :) Let me know if you have a github repo for it
As you may all know, I've been a bit busy, couldn't push out updates. I'd like to notify you all that I'm going to finally put out a new update this Friday, and if not, this weekend. I'd like to put it out earlier but I'm having an important trip to Paris for three days starting Monday, and I really can't bring along my laptop to work on it.
Sorry about the wait!
@Xx_atomik_xX
That's odd, I thought I had fixed that. Will look into it.
please help me,
i have this problem: http://i.imgur.com/k37aSGz.png
thanks!