playerdeath: type: world events: on zombie kills player: - determine CANCELLED - if == red { - announce " killed " - execute as_server "eco give " - execute as_server "warp bluespawn " } else { - announce " killed " - execute as_server "eco give " - execute as_server "warp redspawn " } - if == "pyro" { - if >= 100 { - execute as_server "tell 100 Faction Points have been deducted from your account." - execute as_server "kit pyro " } else { - flag "class:peasant" - execute as_server "tell You do not have enough Faction Points to play as a Pyro again." - execute as_server "kit peasant " } elseif == "alchemist" { - if >= 100 { - execute as_server "tell 100 Faction Points have been deducted from your account." - execute as_server "kit alchemist " } else { - flag "class:peasant" - execute as_server "tell You do not have enough Faction Points to play as an Alchemist again." - execute as_server "kit peasant " } elseif == "paladin" { - if >= 100 { - execute as_server "tell 100 Faction Points have been deducted from your account." - execute as_server "kit paladin " } else { - flag "class:peasant" - execute as_server "tell You do not have enough Faction Points to play as a Holy Paladin again." - execute as_server "kit peasant " } else execute as_server "kit " - heal