Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- if {mute.%player's uuid%} is not set:
- set {mute.%player's uuid%} to false
- command mute <player> <text> [<text>]:
- permission: staff.punish.mute
- permission message: &6Vou&cch &7> &cYou do not have permission for this command!
- usage: &6Vou&cch &7> &cIncorrect usage! /mute <player> <reason> [<-s>]
- trigger:
- set {mute.%arg-player's uuid%} to true
- send "&6Vou&cch &7> &cYou have muted &a%arg-player% &cfor reason ""&a%arg-2%&c"""
- if arg-3 is set:
- if arg-3 is "-s":
- stop
- else if arg-3 is not "-s":
- broadcast "&6Vou&cch &7> &a%player% &chas muted &a%arg-player% &cdue to ""&a%arg-2%&c"""
- else if arg-3 is not set:
- broadcast "&6Vou&cch &7> &a%player% &chas muted &a%arg-player% &cdue to ""&a%arg-2%&c"""
- command unmute <player> <text> [<text>]:
- permission: staff.punish.unmute
- permission message: &6Vou&cch &7> &cYou do not have permission for this command!
- usage: &6Vou&cch &7> &cIncorrect usage! /unmute <player> <reason> [<-s>]
- trigger:
- set {mute.%arg-player's uuid%} to false
- send "&6Vou&cch &7> &cYou have unmuted &a%arg-player% &cfor reason ""&a%arg-2%&c"""
- if arg-3 is set:
- if arg-3 is "-s":
- stop
- else if arg-3 is not "-s":
- broadcast "&6Vou&cch &7> &a%player% &chas unmuted &a%arg-player% &cdue to ""&a%arg-2%&c"""
- else if arg-3 is not set:
- broadcast "&6Vou&cch &7> &a%player% &chas unmuted &a%arg-player% &cdue to ""&a%arg-2%&c"""
- command ban <player> <text> [<text>]:
- permission: staff.punish.ban
- permission message: &6Vou&cch &7> &cYou do not have permission for this command!
- usage: &6Vou&cch &7> &cIncorrect usage! /ban <player> <reason> [<-s>]
- trigger:
- ban arg-player due to arg-2
- send "&6Vou&cch &7> &cYou have banned &a%arg-player% &cfor reason ""&a%arg-2%&c"""
- if arg-3 is set:
- if arg-3 is "-s":
- stop
- else:
- if arg-3 is not "-s":
- broadcast "&6Vou&cch &7> &a%player% &chas banned &a%arg-player% &cdue to ""&a%arg-2%&c"""
- else:
- if arg-3 is not set:
- broadcast "&6Vou&cch &7> &a%player% &chas banned &a%arg-player% &cdue to ""&a%arg-2%&c"""
- on chat:
- if {mute.%player's uuid%} is true:
- cancel event
- send "&6Vou&cch &7> &cYou cannot talk while you are muted!"
- else if {mute.%player's uuid%} is false:
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement