Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /warn:reset [<player>]:
- trigger:
- if arg-1 is not set:
- set {warn.%player%} to 0
- message "&7Your warnings have been reset."
- else:
- set {warn.%arg 1%} to 0
- message "&7You have reset &c%arg 1%'s &7warnings!"
- message "&7Your warnings have been reset by &c%player%&7!"
- command /warn [<player>] [<text>]:
- permission: chatlounge.warn
- permission message: &cYou cannot do that!
- trigger:
- if arg-1 is not set:
- message "&cUsage: /warn <player> <reason>"
- else:
- add 1 to {warn.%arg 1%}
- broadcast "&c%arg-1% &7was warned by &c%player% &7for: %arg-2%. &7Warnings: %{warn.%arg 1%}%"
- command /punish [<player>]:
- permission: chatlounge.punish
- permission message: &cYou cannot do that!
- trigger:
- if arg-1 is not set:
- message "&cUsage: /punish <player>"
- else:
- open chest with 5 rows named "&3&lPunishments" to player
- format slot 0 of player with glass pane:9 named "&3by __Koala and CMDProGamer" to close
- format slot 11 of player with bedrock named "&8Black Hole" with lore "&3Made by CMDProGamer" to close then run [execute console command "minecraft:tp %arg 1% ~ ~-1000 ~"]->[broadcast "&b%player% &3has punished &b%arg 1% &3with &8Black Hole"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement