If

Discussion in 'Plugin Development' started by NoSpanMan, Apr 5, 2015.

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

    NoSpanMan

    I have:
    Code:
    public class Main extends JavaPlugin implements Listener {
       
       public void onEnable() {
         getConfig().options().copyDefaults(true);
         saveConfig();
       }
       
    //here? i tryt:
    public void test() {
    here if statement {
    
    }
    }
    //but it doesn't works
    
    
    Where can i put if statements ect? When i have an int and that int is greater than 5 he sends a broadcastmessage?
     
  2. Offline

    nverdier

    @NoSpanMan What doesn't work about it? But are you calling the test method?
     
  3. Offline

    nverdier

Thread Status:
Not open for further replies.

Share This Page