PvPTimer
by intelliJent
Important Note:
This is NOT the same plugin as the one made by lemon42. This has been totally re-developed by me and features none of his source code.
Description:
A long time ago in a galaxy far, far away...
there was a plugin called PvPTimer. However, no one has bothered updating this plugin and it's code has long since been bug-free. So I have taken up the task of programming a whole new PvPTimer!
Configuration:
Code:
prefix: "&8[&dPvPTimer&8]"
giveImmunityOnReload: false
messages:
first-join: "You are immune to damage for {time}. Type /pvptimer remove to remove your pvp timer"
got-immunity: "You have received immunity for {time} due to {reason}. Type /pvptimer remove to remove your pvp timer"
lost-immunity: "{username}, you have lost pvp immunity!"
cant-take-damage: "You can't hurt {username} because they are immune to pvp!"
cant-damage: "You can't hurt {username} because you are immune to pvp! Type /pvptimer remove to remove your pvp timer"
check-no-immunity: "&cNot immune to PvP."
check-time: "&2You will be immune for another &a{time}."
timeAmounts:
newPlayers: 1m
default:
join: 30s
respawn: 30s
teleport: 10s
changeWorld: 10s
mod:
join: 1m
respawn: 1m
teleport: 15s
changeWorld: 10s
Commands:
Player Commands:
- /pvptimer remove - Remove your protection
- /pvptimer check - Check time left on protection
- /pvptimer remove [player] - Remove another player's protection
- /pvptimer check [player] - Check another player's protection
- /pvptimer grant [player] [time] - Gives protection to a player
- /pvptimer reload - Reload plugin
- pvptimer.admin - Gives you access to the admin commands.
In game automatically detects which commands you can use!
You can only use admin commands from a console!
You can check your time left for immunity! (Command was spammed above.)
As an admin, you can check your time, or others.
**IMPORTANT** DEPENDENCIES:
- Vault
Contributors:
@deaddude22 - Wouldn't stop pestering me to make this. Helped me test.
License:
- Redistribution/modification of any part of this plugin is illegal.
- You can't give away / sell plugin.
I will be selling this to anyone who wants to buy it, not just one person.
Contact me on skype: intelli.jent
intelliJent © 2014. All rights reserved.
