Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /punish [<offline player>] <string>:
- permission: chat.punish
- permission message: &cYou do not have the required permissions to execute this command.
- trigger:
- if arg-1 is not set:
- send "&cIncorrect usage format, /punish <player> <reason>"
- else if arg-1 is set:
- open chest with 5 rows named "&8Punish Selection &8(&n%arg-1%)" to player
- format slot 4 of player with arg-1's skull named "&bModifying %arg-1%" with lore "||&rIn this GUI you can punish ||&r%arg-1%'s for %arg-2%.||||&bCurrent Rank||&r &r● &r%{shortrank.%arg-1's uuid%}%" to be unstealable
- format slot 22 of player with paper named "&bPunishMents" to be unstealable
- format slot 29 of player with book named "&4Ban" with lore "||&rClick to punish %arg-1%'s||&rFor %arg-2%." to close then run [make player execute "/ban %arg-1% %arg-2%"]
- format slot 30 of player with book named "&aKick" with lore "||&rClick to punish %arg-1%'s||&rFor %arg-2%." to close then run [make player execute "/kick %arg-1% %arg-2%"]
- format slot 31 of player with book named "&cWarn" with lore "||&rClick to warn %arg-1%'s||&rFor %arg-2%." to close then run [make player execute "warn %arg-1% %arg-2%"]
- format slot 32 of player with book named "&5Mute" with lore "||&rClick to mute %arg-1%'s||&rFor %arg-2%." to close then run [make player execute "mute %arg-1% %arg-2%"]
- command /warn [<offline player>] [<text>]:
- permission: admin.warn
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- add 1 to {warn.%arg-1%}
- broadcast "&e&m*------------------------------------------*"
- broadcast "&7%arg-1% &rhas been warned by &7%player%"
- broadcast "&7Reason &7» &r%arg-2%"
- broadcast "&e&m*------------------------------------------*"
- else:
- message "&7Incorrect usage, &r/warn [player] [reason]"
- else:
- message "&7Incorrect usage, &r/warn [player] [reason]"
- command /unban [<offline player>] [<text>]:
- permission: admin.ban
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- if {banned.%arg-1%} is false:
- message "&7%arg-1% is currently not banned"
- else if {banned.%arg-1%} is not set:
- message "&7%arg-1% is currently not banned"
- else if {banned.%arg-1%} is true:
- add 1 to {unban.%arg-1%}
- set {banned.%arg-1%} to false
- unban arg-1
- broadcast "&e&m*------------------------------------------*"
- broadcast "&7%arg-1%'s suspension has been revoked by &7%player%"
- broadcast "&7Reason &7» &r%arg-2%"
- broadcast "&e&m*------------------------------------------*"
- else:
- message "&7Incorrect usage, &r/unban [player] [reason]"
- else:
- message "&7Incorrect usage, &r/unban [player] [reason]"
- command /ban [<offline player>] [<text>]:
- permission: admin.ban
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- if {banned.%arg-1%} is true:
- message "&7%arg-1% is currently banned for &r%{banned.reason.%arg-1%}% &7and was banned on &r%{banned.time.%arg-1%}%"
- else if {banned.%arg-1%} is false:
- add 1 to {ban.%arg-1%}
- kick arg-1 due to "&7Reason &7» &r%arg-2%"
- ban arg-1 due to "&7Reason &7» &r%arg-2%"
- set {banned.%arg-1%} to true
- set {banned.reason.%arg-1%} to arg-2
- set {banned.time.%arg-1%} to now
- broadcast "&e&m*------------------------------------------*"
- broadcast "&7%arg-1% &rhas been suspended by &7%player%"
- broadcast "&7Reason &7» &r%arg-2%"
- broadcast "&e&m*------------------------------------------*"
- else if {banned.%arg-1%} is not set:
- add 1 to {ban.%arg-1%}
- kick arg-1 due to "&7Reason &7» &r%arg-2%"
- ban arg-1 due to "&7Reason &7» &r%arg-2%"
- set {banned.%arg-1%} to true
- set {banned.reason.%arg-1%} to arg-2
- set {banned.time.%arg-1%} to now
- broadcast "&e&m*------------------------------------------*"
- broadcast "&7%arg-1% &rhas been suspended by &7%player%"
- broadcast "&7Reason &7» &r%arg-2%"
- broadcast "&e&m*------------------------------------------*"
- else:
- message "&7Incorrect usage, &r/ban [player] [reason]"
- else:
- message "&7Incorrect usage, &r/ban [player] [reason]"
- command /kick [<offline player>] [<text>]:
- permission: admin.kick
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- add 1 to {kick.%arg-1%}
- kick arg-1 due to "&7Reason &7» &r%arg-2%"
- broadcast "&e&m*------------------------------------------*"
- broadcast "&7%arg-1% &rhas been kicked by &7%player%"
- broadcast "&7Reason &7» &r%arg-2%"
- broadcast "&e&m*------------------------------------------*"
- else:
- message "&7Incorrect usage, &r/kick [player] [reason]"
- else:
- message "&7Incorrect usage, &r/kick [player] [reason]"
Add Comment
Please, Sign In to add comment