Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- check-cmd: /stats
- reg-amt: 1
- vip-amt: 2
- reg-console: eco give %attacker% {@reg-amt}
- vip-console: eco give %attacker% {@vip-amt}
- on death:
- victim is a player
- attacker is a player
- attacker has permission "kills.premium":
- execute console command "{@vip-cmd}"
- else:
- execute console command "{@reg-cmd}"
- add 1 to {PvPStats.%attacker%.kills}
- add 1 to {PvPStats.%victim%.deaths}
- on first join:
- set {PvPStats.%player%.kills} to 0
- set {PvPStats.%player%.deaths} to 0
- on command "{@check-cmd}":
- send "&a[----------]-[ &9Player 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[----------]-[ &9Player Stats &a]-[----------]" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement