Clearing a particular item from all players inventories

Discussion in 'Bukkit Help' started by MoonManeuver, Jan 2, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    MoonManeuver

    I have been trying for a good hour now to set up a command block in a loop to use the command:

    "/clear @a chest"
    to remove chests from all players inventories.

    What I've tried:
    enable-command-block in properties is true
    running from console gives error:

    11:54:26 PM [INFO] Too many arguments.
    11:54:26 PM [INFO] /clear [-as] [target]

    And the same setup in single player works fine. Perhaps a plugin issue?

    Server version 1.8.3-R0.1 (if it matters)
     
  2. Offline

    J_2_the_B

    To clarify, you aren't putting the "/" infront of the command in the command block, are you? Command blocks do not need the dash.
     
Thread Status:
Not open for further replies.

Share This Page