SHOW:
|
|
- or go back to the newest paste.
| 1 | command /punish [<offline player>] <string>: | |
| 2 | permission: chat.punish | |
| 3 | permission message: &cYou do not have the required permissions to execute this command. | |
| 4 | trigger: | |
| 5 | if arg-1 is not set: | |
| 6 | send "&cIncorrect usage format, /punish <player> <reason>" | |
| 7 | else if arg-1 is set: | |
| 8 | open chest with 5 rows named "&8Punish Selection &8(&n%arg-1%)" to player | |
| 9 | 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
| |
| 10 | format slot 22 of player with paper named "&bPunishMents" to be unstealable | |
| 11 | - | format slot 29 of player with book named "&4COMING SOON" with lore "||&rClick to punish %arg-1%'s||&rFor %arg-2%." to close then run [make player execute "ping &cCOMING SOON"] |
| 11 | + | 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%"] |
| 12 | - | format slot 30 of player with book named "&9COMING SOON" with lore "||&rClick to punish %arg-1%'s||&rFor %arg-2%." to close then run [make player execute "ping &cCOMIN SOON"] |
| 12 | + | 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%"] |
| 13 | 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%"] | |
| 14 | - | 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% 15w"] |
| 14 | + | 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%"] |
| 15 | - | format slot 33 of player with book named "&dPermMute" with lore "||&rClick to perm mute %arg-1%'s||&rFor %arg-2%." to close then run [make player execute "mute %arg-1% 100m"] |
| 15 | + | |
| 16 | - | format slot 40 of player with book named "&7PermBan" with lore "||&rClick to ban %arg-1%'s||&rFor %arg-2%." to close then run [make player execute "ban %arg-1% %arg-2%"] |
| 16 | + | |
| 17 | command /warn [<offline player>] [<text>]: | |
| 18 | permission: admin.warn | |
| 19 | trigger: | |
| 20 | if arg-1 is set: | |
| 21 | if arg-2 is set: | |
| 22 | add 1 to {warn.%arg-1%}
| |
| 23 | broadcast "&e&m*------------------------------------------*" | |
| 24 | broadcast "&7%arg-1% &rhas been warned by &7%player%" | |
| 25 | broadcast "&7Reason &7» &r%arg-2%" | |
| 26 | broadcast "&e&m*------------------------------------------*" | |
| 27 | ||
| 28 | else: | |
| 29 | message "&7Incorrect usage, &r/warn [player] [reason]" | |
| 30 | else: | |
| 31 | message "&7Incorrect usage, &r/warn [player] [reason]" | |
| 32 | ||
| 33 | command /unban [<offline player>] [<text>]: | |
| 34 | permission: admin.ban | |
| 35 | trigger: | |
| 36 | if arg-1 is set: | |
| 37 | if arg-2 is set: | |
| 38 | if {banned.%arg-1%} is false:
| |
| 39 | message "&7%arg-1% is currently not banned" | |
| 40 | else if {banned.%arg-1%} is not set:
| |
| 41 | message "&7%arg-1% is currently not banned" | |
| 42 | else if {banned.%arg-1%} is true:
| |
| 43 | add 1 to {unban.%arg-1%}
| |
| 44 | set {banned.%arg-1%} to false
| |
| 45 | unban arg-1 | |
| 46 | broadcast "&e&m*------------------------------------------*" | |
| 47 | broadcast "&7%arg-1%'s suspension has been revoked by &7%player%" | |
| 48 | broadcast "&7Reason &7» &r%arg-2%" | |
| 49 | broadcast "&e&m*------------------------------------------*" | |
| 50 | ||
| 51 | else: | |
| 52 | message "&7Incorrect usage, &r/unban [player] [reason]" | |
| 53 | else: | |
| 54 | message "&7Incorrect usage, &r/unban [player] [reason]" | |
| 55 | ||
| 56 | command /ban [<offline player>] [<text>]: | |
| 57 | permission: admin.ban | |
| 58 | trigger: | |
| 59 | if arg-1 is set: | |
| 60 | if arg-2 is set: | |
| 61 | if {banned.%arg-1%} is true:
| |
| 62 | message "&7%arg-1% is currently banned for &r%{banned.reason.%arg-1%}% &7and was banned on &r%{banned.time.%arg-1%}%"
| |
| 63 | else if {banned.%arg-1%} is false:
| |
| 64 | add 1 to {ban.%arg-1%}
| |
| 65 | kick arg-1 due to "&7Reason &7» &r%arg-2%" | |
| 66 | ban arg-1 due to "&7Reason &7» &r%arg-2%" | |
| 67 | set {banned.%arg-1%} to true
| |
| 68 | set {banned.reason.%arg-1%} to arg-2
| |
| 69 | set {banned.time.%arg-1%} to now
| |
| 70 | broadcast "&e&m*------------------------------------------*" | |
| 71 | broadcast "&7%arg-1% &rhas been suspended by &7%player%" | |
| 72 | broadcast "&7Reason &7» &r%arg-2%" | |
| 73 | broadcast "&e&m*------------------------------------------*" | |
| 74 | else if {banned.%arg-1%} is not set:
| |
| 75 | add 1 to {ban.%arg-1%}
| |
| 76 | kick arg-1 due to "&7Reason &7» &r%arg-2%" | |
| 77 | ban arg-1 due to "&7Reason &7» &r%arg-2%" | |
| 78 | set {banned.%arg-1%} to true
| |
| 79 | set {banned.reason.%arg-1%} to arg-2
| |
| 80 | set {banned.time.%arg-1%} to now
| |
| 81 | broadcast "&e&m*------------------------------------------*" | |
| 82 | broadcast "&7%arg-1% &rhas been suspended by &7%player%" | |
| 83 | broadcast "&7Reason &7» &r%arg-2%" | |
| 84 | broadcast "&e&m*------------------------------------------*" | |
| 85 | ||
| 86 | else: | |
| 87 | message "&7Incorrect usage, &r/ban [player] [reason]" | |
| 88 | else: | |
| 89 | message "&7Incorrect usage, &r/ban [player] [reason]" | |
| 90 | ||
| 91 | command /kick [<offline player>] [<text>]: | |
| 92 | permission: admin.kick | |
| 93 | trigger: | |
| 94 | if arg-1 is set: | |
| 95 | if arg-2 is set: | |
| 96 | add 1 to {kick.%arg-1%}
| |
| 97 | kick arg-1 due to "&7Reason &7» &r%arg-2%" | |
| 98 | broadcast "&e&m*------------------------------------------*" | |
| 99 | broadcast "&7%arg-1% &rhas been kicked by &7%player%" | |
| 100 | broadcast "&7Reason &7» &r%arg-2%" | |
| 101 | broadcast "&e&m*------------------------------------------*" | |
| 102 | else: | |
| 103 | message "&7Incorrect usage, &r/kick [player] [reason]" | |
| 104 | else: | |
| 105 | message "&7Incorrect usage, &r/kick [player] [reason]" |