kjfalkeiae

Untitled

Jun 26th, 2018
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. on damage:
  2. if {nopvp} is true:
  3. attacker is a player
  4. victim is a player
  5. cancel event
  6. message "&7[&6NoPVP&7]&cエラーが発生しました。" to the attacker
  7.  
  8. command /pvp <text>:
  9. permission: god
  10. usage: /pvp <true|false>
  11. trigger:
  12. if arg 1 is "true":
  13. set {nopvp} to true
  14. broadcast "&7[&6NoPVP&7]&b現在、PVP禁止設定は&c%{nopvp}%&bです。"
  15. if arg 1 is "false":
  16. set {nopvp} to false
  17. broadcast "&7[&6NoPVP&7]&b現在、PVP禁止設定は&c%{nopvp}%&bです。"
  18. else:
  19. message "Corrent usage:/nopvp <true|false>"
  20. stop trigger
Advertisement
Add Comment
Please, Sign In to add comment