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?

  • What you have currently would kick the person who was doing the reporting (if /kick even worked in command blocks). If a player types /trigger report set 1, which player is it assumed they're reporting?
    – SirBenet
    Commented Feb 18, 2016 at 21:25
  • They are reporting the person who cursed or whatever. They just get their username, and type it in.
    – Kylun11
    Commented Feb 18, 2016 at 22:01
  • What @colorfusion is saying is that using /trigger can only effect the player actually entering it, not some other player. They only person that would ever be kicked is the person doing the reporting, at least with this setup.
    – MBraedley
    Commented Feb 18, 2016 at 22:08
  • Hmm. Do you think I could give everyone a book, and when you click the chat it tp's you to a room, where you can type in the playername?
    – Kylun11
    Commented Feb 18, 2016 at 22:10
  • 1
    I don't think there's any way to select a player from what someone typed into a book.
    – SirBenet
    Commented Feb 18, 2016 at 22:35

1 Answer 1


This might do what you want just in a different way. (This I did in 1.8) You could give everyone a book with a command. This could /tp them to a room.enter image description here Under the floor of the room hide these commands connected to a clock of your choice(I used a hopper clock). /testfor @p[r=10] This will test for a player within a radius of 10. If a player is within the radius a comparator will activate this command. /give @p minecraft:writable_bookenter image description here Have them write what they want to report in their book and place it in a trapped chest, connected to a hopper that places the item in a larger chest. Then have them push a button to report.enter image description here .The report button should have 2 command blocks hidden behind it, one that clones the chest under the hopper to another room, and another that tells the player the report was sent /say @p Report Filed. This is optional, but if you wanted to you could have a tellraw command that tells the owner of the world when someone is reported. /tellraw (name) Someone has been reported it would look something like this:enter image description here .You could then go to the room where the chest was cloned and read the reports, but you would have to kick or suspend the players yourself.

This is a site with a book command generator:


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .