Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death of player:
- if player is in "pvpbox":
- execute console command "/coins add %attacker% 5"
- execute console command "/coins remove %victim% 1"
- command /coins <text> <text> <number>:
- permission: coins.admin
- trigger:
- if arg 1 is "add":
- add arg-3 to {coins.%UUID of arg-2%}
- if arg 1 is "remove":
- remove arg-3 from {coins.%UUID of arg-2%}
- command /coinsinfo:
- trigger:
- if player is in "pvpbox":
- send "&aCompte : &6%{coins.%UUID of player%}% coins" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement