Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /doreport [<offline player>] [<text>]:
- permission: report.use
- permission message: &cYou don't have permission to execute this command.
- trigger:
- if arg-1 or arg-2 is not set:
- send "&cUsage: /report <player> <reason>" to the player
- if arg-1 and arg-2 is set:
- loop all players:
- if loop-player does not have permission "report.see":
- stop
- if loop-player has permission "report.see":
- send "&8»&e %player%&a reported &e%arg-1% &afor &e%arg-2%" to loop-player
- send "&8»&a Successfully reported &e%arg-1%&a!" to the player
- command /report [<player>]:
- permission: report.use
- permission message: &cYou don't have permission to execute this command.
- trigger:
- if arg-1 is not set:
- send "&cUsage: /report <player>" to the player
- if arg-1 is set:
- if player-arg is not online:
- send "That player either does not exist, or is not online!"
- if player-arg is online:
- open chest with 4 rows named "&aReport &e%arg-1%" to the player
- format slot 1 of player with iron sword named "&cHacks" to be unstealable
- format slot 4 of player with paper named "&cChat Offenses" to be unstealable
- format slot 7 of player with redstone named "&cOther" to be unstealable
- format slot 10 of player with ink sac named "&aInteract" to close then run [make player execute command "doreport %arg-1% Interact"]
- format slot 19 of player with ink sac named "&aMovement" to close then run [make player execute command "doreport %arg-1% Movement"]
- format slot 28 of player with ink sac named "&aMiscellaneous" to close then run [make player execute command "doreport %arg-1% Miscellaneous"]
- format slot 13 of player with ink sac named "&aSpam" to close then run [make player execute command "doreport %arg-1% Spam"]
- format slot 22 of player with ink sac named "&aAdvertizing" to close then run [make player execute command "doreport %arg-1% Advertizing"]
- format slot 31 of player with ink sac named "&aSpam Bot" to close then run [make player execute command "doreport %arg-1% Spam Bot"]
- format slot 16 of player with ink sac named "&aGriefing" to close then run [make player execute command "doreport %arg-1% Griefing"]
- format slot 25 of player with ink sac named "&aStaff Disrespect" to close then run [make player execute command "doreport %arg-1% Staff Disrespect"]
- format slot 34 of player with ink sac named "&aPlayer Impersonation" to close then run [make player execute command "doreport %arg-1% Player Impersonation"]
- format slot 35 of player with barrier named "&4&lExit" to close
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement