Advertisement
Guest User

Untitled

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