Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage:
- if {nopvp} is true:
- attacker is a player
- victim is a player
- cancel event
- message "&7[&6NoPVP&7]&cエラーが発生しました。" to the attacker
- command /pvp <text>:
- permission: god
- usage: /pvp <true|false>
- trigger:
- if arg 1 is "true":
- set {nopvp} to true
- broadcast "&7[&6NoPVP&7]&b現在、PVP禁止設定は&c%{nopvp}%&bです。"
- if arg 1 is "false":
- set {nopvp} to false
- broadcast "&7[&6NoPVP&7]&b現在、PVP禁止設定は&c%{nopvp}%&bです。"
- else:
- message "Corrent usage:/nopvp <true|false>"
- stop trigger
Advertisement
Add Comment
Please, Sign In to add comment