Can I make a redstone clock that detects certain words? [duplicate]

Can I make a redstone clock that detects certain words? [duplicate] - Tax Documents on Black Table

I made a vanilla minecraft server and I made a redstone clock attached to a command block with /testfor that detects players. Can I change the /testfor from detecting players to detecting certain words in the chat? For example if warp was found in the chat, that would trigger the comparator next to the command block and trigger another command block with /tp @p x y z.(This is equivilant to "warping" someone somewhere)



Best Answer

No, this is not possible. This is due to the fact that commands cannot detect things like chat. If you want to detect chat, you could use Bukkit. There are many Bukkit plugins that allow you to detect players entering commands into chat and processing them. An example will be here. The good part about Bukkit is that vanilla, non-modded clients can connect without any problems. However, bukkit was taken down due to a DMCA request. An alternertive would be making your own plugin with Canarymod, which has similar functionality as Bukkit. Do note that it it is not as popular.




Pictures about "Can I make a redstone clock that detects certain words? [duplicate]"

Can I make a redstone clock that detects certain words? [duplicate] - Shelves
Can I make a redstone clock that detects certain words? [duplicate] - I Can and I Will Text On Green Background
Can I make a redstone clock that detects certain words? [duplicate] - Close-Up Shot of Text on a Pink Surface



How do you make a Redstone observer clock?

First, place 2 hoppers facing each other, as shown in the left image. Then, place a comparator facing out of one hopper and a lever on top of the other, as shown in the right image. Put an item (can be any random item) inside one of the hoppers, and you will see that the comparator will start turning on/off.



Tip: Redstone Clocks in Minecraft




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

Images: Nataliya Vaitkevich, Thought Catalog, Tima Miroshnichenko, Olya Kobruseva