How would I make a reporting chat system using a trigger command?

How would I make a reporting chat system using a trigger command? - Crop hacker silhouette typing on computer keyboard while hacking system

I need to make it so players can report other players who curse or other bad stuff. So I would start with: /scoreboard objectives add report trigger Then people type to report: /trigger report set 1 But then how would I put this in? Ideally, they would be kicked: /kick @a[score_report_min=1] {text:"You have been reported and kicked"}

this did not work! Am I doing something wrong? What can I do?






Pictures about "How would I make a reporting chat system using a trigger command?"

How would I make a reporting chat system using a trigger command? - From above of crop anonymous male hacker typing on netbook with data on screen while sitting at desk
How would I make a reporting chat system using a trigger command? - Brutal male entrepreneur in elegant suit and sunglasses standing with hand in pocket on street between trams and messaging on cellphone
How would I make a reporting chat system using a trigger command? - From below of ethnic boy in hoodie controlling robot using panel while standing in light room



What are trigger commands?

The TRIGGER command associates a previously-created program to an object and identifies the object event that automatically executes the program; or a disassociates a trigger program from the object.

How do you make a command block say something in chat?

How to get a Command Block
  • Enable cheats in your world or Realm settings.
  • Turn on Creative Mode in your world or Realm settings.
  • Open the chat box and enter \u201c/give [your username] command_block\u201d
  • Place the block where you want it.


  • How do you make a command block?

    Type this command in when having the command block GUI open /teleport @p <x> <y> <z> . Then, activate the command block with redstone (including buttons, levers, and pressure plates), and they will be sent to their destination. The player can set up multiple different teleports.



    How To Make Command Blocks Say Custom Words [On Screen AND in Chat!]




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Anete Lusina, Sora Shimazaki, Andrea Piacquadio, Vanessa Loring