Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- lv.%player%: 1
- xp.%player%: 0
- command /tbpxp [<text>] [<offline player>]:
- permission: skript.addxp
- trigger:
- if arg 1 is "5":
- if arg 2 is set:
- add 5 to {xp.%arg 2%}
- send "&75xp付与しました"
- if {xp.%arg 2%} >= 100:
- {xp.%arg 2%} = 0
- add 1 to {lv.%arg 2%}
- send "&6&l{lv.%arg 2%} &eLvにレベルアップ!"
- if arg 1 is "100":
- if arg 2 is set:
- {xp.%arg 2%} = 0
- add 1 to {lv.%player%}
- send "&7Lv1分付与しました"
- send "&6&l{lv.%arg 2%} &eLvにレベルアップ!"
- command /xpstats [<offline player>]:
- trigger:
- if arg 1 is set:
- send "&eレベル: %{lv.%arg 1%}%"
- send "&e経験値: %{xp.%arg 1%}%"
- else:
- send "&c使用法: /tbpxp <5/100> <player>"
- send "&c使用法: /tbpxp <player>"
- on death of player:
- execute console command "tbpxp 5 %attacker%"
- send "&b+ 5xp"
Advertisement
Add Comment
Please, Sign In to add comment