Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death of sheep:
- if attacker is not set:
- if attacker is a player:
- add 3 to {xp::%uuid of attacker%}
- message "&a[XP] &bあなたは3XPをGETしました!" to attacker
- stop
- else:
- stop
- stop
- else:
- stop
- stop
- command /addxp [<number>] [<offline player>]:
- permission: admin.addxp
- trigger:
- if arg-1 or arg-2 is not set:
- message "&a[XP] &c/addxp <number> <player>"
- stop
- else:
- add arg-1 to {xp::%uuid of arg-2%}
- stop
- command /status [<offline player>]:
- trigger:
- if arg-1 is not set:
- message "&a[XP] &c/status <player>"
- stop
- else:
- message "&e==============="
- message "&cLv&8: &b%{lv::%uuid of arg-1%}%"
- message "&axp&8: &b%{xp::%uuid of arg-1%}%"
- message "&e==============="
- variables:
- {lv::%player%} = 1
- {xp::%player%} = 0
- {up::%player%} = 10
- on any movement:
- if {xp::%player%} is greater or equal to {up::%player%}:
- else:
- add 1 to {lv::%player%}
- add 120 to {up::%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement