Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /pvptoggle:
- permission: op
- permission message: &cHey! You Don't Have Permission to that command
- trigger:
- if {server.pvp} is set:
- delete {server.pvp}
- console command "/rg flag __global__ pvp deny"
- send "&cPVP! Disabled" to player
- else:
- set {server.pvp} to true
- console command "/rg flag __global__ pvp allow"
- send "&aPVP! Enabled" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement