Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Prefix: &3[MINEPVP]&b
- on connect:
- if {bans::*} contains player's uuid:
- kick player due to "{@Prefix} You have been banned from the server for %{banreason.%player's uuid%}%."
- command /skpunish:
- trigger:
- send "{@Prefix} Commands"
- send "&7&o> &3/ban <player> <-s|-p> <reason> &7Ban a player"
- send "&7&o> &3/unban <player> &7Unban a player"
- send "&7&o> &3/kick <player> <-s|-p> <reason> &7Kick a player"
- send "&7&o> &3/mute <player> <-s|-p> <reason> &7Mute a player"
- send "&7&o> &3/unmute <player> &7Unmute a player"
- command /ban [<offlineplayer>] [<text>] [<text>]:
- permission: skpunish.ban
- permission message: &cNo Permission
- trigger:
- if arg-1 is set:
- if arg-3 is set:
- if arg-2 is "-s":
- add arg-1's uuid to {bans::*}
- set {banreason.%arg-1's uuid%} to arg-3
- kick arg-1 due to "{@Prefix} You have been banned from the server for %arg-3%."
- send "{@Prefix} You have banned %arg-1% for %arg-3%."
- else if arg-2 is "-p":
- add arg-1's uuid to {bans::*}
- set {banreason.%arg-1's uuid%} to arg-3
- kick arg-1 due to "{@Prefix} You have been banned from the server for %arg-3%."
- broadcast "{@Prefix} %arg-1% has been banned by %player% for %arg-3%"
- else:
- send "{@Prefix} Syntax: /ban <player> <-s|-p> <reason>"
- else:
- send "{@Prefix} Syntax: /ban <player> <-s|-p> <reason>"
- else:
- send "{@Prefix} Syntax: /ban <player> <-s|-p> <reason>"
- command /unban [<offlineplayer>]:
- permission: skpunish.unban
- permission message: &cNo Permission
- trigger:
- if arg-1 is set:
- if {bans::*} contains arg-1's uuid:
- remove arg-1's uuid from {bans::*}
- delete {banreason.%arg-1's uuid%}
- send "{@Prefix} You have unbanned %arg-1%."
- else:
- send "{@Prefix} This player is not banned."
- else:
- send "{@Prefix} Syntax: /unban <player>"
- command /kick [<offlineplayer>] [<text>] [<text>]:
- permission: skpunish.kick
- permission message: &cNo Permission
- trigger:
- if arg-1 is set:
- if arg-3 is set:
- if arg-2 is "-s":
- kick arg-1 due to "{@Prefix} You have been kicked from the server for %arg-3%."
- send "{@Prefix} You have kicked %arg-1% for %arg-3%."
- else if arg-2 is "-p":
- kick arg-1 due to "{@Prefix} You have been kicked from the server for %arg-3%."
- broadcast "{@Prefix} %arg-1% has been kicked by %player% for %arg-3%"
- else:
- send "{@Prefix} Syntax: /kick <player> <-s|-p> <reason>"
- else:
- send "{@Prefix} Syntax: /kick <player> <-s|-p> <reason>"
- else:
- send "{@Prefix} Syntax: /kick <player> <-s|-p> <reason>"
- command /mute [<offlineplayer>] [<text>] [<text>]:
- permission: skpunish.mute
- permission message: &cNo Permission
- trigger:
- if arg-1 is set:
- if arg-3 is set:
- if arg-2 is "-s":
- set {mute.%arg-1's uuid%} to "{@Prefix} You have been muted from the server for %arg-3%."
- send "{@Prefix} You have muted %arg-1% for %arg-3%."
- else if arg-2 is "-p":
- set {mute.%arg-1's uuid%} to "{@Prefix} You have been muted from the server for %arg-3%."
- broadcast "{@Prefix} %arg-1% has been muted by %player% for %arg-3%"
- else:
- send "{@Prefix} Syntax: /mute <player> <-s|-p> <reason>"
- else:
- send "{@Prefix} Syntax: /mute <player> <-s|-p> <reason>"
- else:
- send "{@Prefix} Syntax: /mute <player> <-s|-p> <reason>"
- command /unmute [<offlineplayer>]:
- permission: skpunish.unmute
- permission message: &cNo Permission
- trigger:
- if arg-1 is set:
- if {mute.%arg-1's uuid%} is set:
- delete {mute.%arg-1's uuid%}
- send "{@Prefix} You have unmuted %arg-1%."
- else:
- send "{@Prefix} This player is not muted."
- else:
- send "{@Prefix} Syntax: /unmute <player>"
- on chat:
- if {mute.%player's uuid%} is set:
- cancel event
- send "{@Prefix} You are muted."
Advertisement
Add Comment
Please, Sign In to add comment