Hi, I'm a beguiner at Java, and I make a little music plugin. Basicly, all the plugins action was created because the player enter a specific command. But at this point, I make a listener, and when the player enter in a specific area, a variable called "entered" change from 0 to became 1. I just want to execute an action when the variable became 1, without any commands, and outside off the listener class. So the plugin will "wait" for the variable to became 1, and when the variable became 1, he do some stuff. How can I do this ? Thank.