Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- stats-cmd: /stats
- kill-give: 1
- on first join:
- set {PvPStats.%player%.kills} to 0
- set {PvPStats.%player%.deaths} to 0
- on death:
- attacker is a player
- victim is a player
- add 1 to {PvPStats.%victim%.deaths}
- add 1 to {PvPStats.%attacker%.kills}
- execute console command "/eco give %attacker% {@kill-give}"
- {PvPStats.%attacker%.kills} is equal to 150:
- execute console command "/say %attacker% has earned kit stone!"
- execute console command "/manuaddp %attacker% essentials.kits.stone"
- on command "{@stats-cmd}":
- player has permission "PvPStats.check"
- send "&a[---------------]-[ &dPvP Stats &a]-[---------------]" to player
- send "&r" to player
- send "&cKills: &7%{PvPStats.%player%.kills}%" to player
- send "&cDeaths: &7%{PvPStats.%player%.deaths}%" to player
- send "&r" to player
- send "&a[---------------]-[ &dPvP Stats &a]-[---------------]" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement