Get pressed key while python program run in Minecraft

Discussion in 'Bukkit Help' started by florentdva, Oct 17, 2016.

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

    florentdva

    Hi,

    (this is a long shot, I'm asking here because I don't really know where to ask, if that's the wrong place it would be great if someone can tell me where to ask).

    I'm using the book Adventures in Minecraft (http://eu.wiley.com/WileyCDA/WileyTitle/productCd-111894691X.html). It uses the Bukkit server 1.6.4, the RaspberryJuice plugin and Python 2.6. The book explains how to read input from the keyboard, using raw_input. With raw_input we can ask the player to enter some information after starting the Python program and before entering the Minecraft session.

    Is there a way to read input from the keyboard while one is playing Minecraft, not just before entering the Minecraft session?

    Thanks!
     
Thread Status:
Not open for further replies.

Share This Page