StopSpawnKill
Have that one player that always camp's at your PvP server's spawn?
Player's looking to you for safety, but you don't have time?
This plugin servers to prevent spawn killing of players by:
If a player is killed by another one then they cannot be hit by their killer until they hit the killer or the timer runs out and the players are free game for each other. (Configurable time).
For example:
- Player1 kills Player2.
- Player1 cannot attack Player2 unless: a. Player 2 attacks Player 1 or b. A set amount of time passes and Player2 is freegame for Player1
Configuration
#Default StopSpawnKill Configuration File #How long should we wait until a killer can re-kill a player? (In Seconds) Delay: 50 #Should we tell players that they can't attack a player? attackStop: false #What message should be told to people that they can't attack a player? message: 'You cannot attack this player at this time!' #Should we tell the victim that they can be attacked again and also tell the killer that they can attack again? tell: true # %P = Victim %K = Killer #Message to the killer that they can attack again kMessage: 'You can attack %P again' #Message to victim that they can be attacked again vMessage: 'You can be killed again by %K' #Which worlds should this work in? worlds: - 'world'
Permissions
- ssk.protect : Players with this permission will be protected from spawn killing. (Along with ops)
@Toxxic3D
You may be missing some configuration values. Delete config.yml and let itself regen.
It happens constantly so....Plugin deleted.
@Toxxic3D
That error isn't something that could break the plugin, its just the task that clears out the killer/victim tracker that crashed. Just reload and it should fix itself.
27.10 21:48:33 [Server] INFO at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) 27.10 21:48:33 [Server] INFO at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:421) 27.10 21:48:33 [Server] INFO at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:488) 27.10 21:48:33 [Server] INFO at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:227) 27.10 21:48:33 [Server] INFO at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:524) 27.10 21:48:33 [Server] INFO at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) 27.10 21:48:33 [Server] INFO at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftTask.run(CraftTask.java:53) 27.10 21:48:33 [Server] INFO at com.katsaroucraft.gopaintman.stopspawnkill.Main$1.run(Main.java:78) 27.10 21:48:33 [Server] INFO java.lang.NullPointerException 27.10 21:48:33 [Server] WARNING Task #1465 for StopSpawnKill v1.0 generated an exception
@Vlaminations
Thank you!
Awesome plugin, works great! My players are safe from being spawnkilled at their homes and my Minigames (Capture the Flag) won't be affected by this plugin by disabling it in that world! ;)