Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /report [<player>]:
- usage: /report [Player]
- description: &aReport a player for a reason!
- trigger:
- if arg is set:
- open chest with 3 rows named "&6Please select a reason" to player
- wait 1 tick
- format slot 0 of player with iron sword named "&aKill Aura" to run [make player execute command "/confirmreport %arg% Kill-Aura"]
- format slot 1 of player with rabbit's foot named "&aSpeed Hacks" to run [make player execute command "/confirmreport %arg% Speed-Hacks"]
- format slot 2 of player with white wool named "&aScaffold" to run [make player execute command "/confirmreport %arg% Scaffold"]
- format slot 3 of player with obsidian named "&aX-Ray (or similar)" to run [make player execute command "/confirmreport %arg% XRay"]
- format slot 4 of player with nametag named "&aIRL Trading" to run [make player execute command "/confirmreport %arg% IRL-Trading"]
- format slot 5 of player with lava bucket named "&aBug Abuse" to run [make player execute command "/confirmreport %arg% Bug-Abuse"]
- format slot 6 of player with anvil named "&aInappropriate Language" to run [make player execute command "/confirmreport %arg% Inappropriate-Language"]
- format slot 7 of player with arrow named "&aAdvertisement" to run [make player execute command "/confirmreport %arg% Advertisement"]
- format slot 8 of player with blaze rod named "&aRacism / Sexism" to run [make player execute command "/confirmreport %arg% Racism/Sexism"]
- format slot 9 of player with bow named "&aSpamming" to run [make player execute command "/confirmreport %arg% Spamming"]
- format slot 10 of player with bone named "&aHatespeech" to run [make player execute command "/confirmreport %arg% Hatespeech"]
- if arg is not set:
- send " " to player
- send "&cPlease specify a player name!" to player
- send " " to player
- command /confirmreport <player> <text>:
- trigger:
- open chest with 3 rows named "&6Confirm Report" to player
- wait 1 tick
- format slot 12 of player with green wool named "&aConfirm" to close then run [make player execute command "/finalconfirmreport %arg-1% %arg-2%"]
- format slot 14 of player with red wool named "&cCancel" to close
- command /finalconfirmreport [<player>] <text>:
- usage: /report <player>
- description: &aReport a player for a reason!
- trigger:
- if arg-2 is set:
- add 1 to {reports.taken.%arg-1%}
- add 1 to {reports.given.%player%}
- send "&cThanks for your report to &r%arg-1% &cfor the reason &r%arg-2%"
- loop all players:
- if loop-player has permission "reports.see":
- send formatted "<reset>&b[REPORT] <cmd:/tp %arg-1%>&c%arg-1% <reset>&bhas been reported by &c%player% &bfor the reason &c%arg-2%" to player
- if arg-2 is not set:
- send "&cUse /report!" to player
- if arg-1 is not set:
- send "&cUse /report!" to player
- command /reports <text> [<offline player>]:
- trigger:
- if player has permission "reports.manage":
- if arg-2 is set:
- if arg-1 is set:
- if arg-1 is "list":
- send "&9REPORT STATS OF %arg-2%" to player
- send "&bReceived &a%{reports.taken.%arg-2%}% &breports" to player
- send "&bIssued &a%{reports.given.%arg-2%}% &breports" to player
- if arg-1 is "reset":
- set {reports.taken.%arg-2%} to 0
- set {reports.given.%arg-2%} to 0
- send "&bReport stats have been reset for %arg-1%!" to player
- else if arg-2 is not set:
- send "&bSpecify a player!" to player
- else if arg-1 is not set:
- send "&bWrite a sub-command!" to player
- if arg-1 is "help":
- send "&bREPORTS ADMIN COMMANDS" to player
- send "&b/reports list [Player] &a-> &6Look at the players report stats!"
- send "&b/reports reset [Player] &a-> &6Resets the players report stats!"
- else:
- send "&cTo report someone, do &b/report [Player]" to player
Add Comment
Please, Sign In to add comment