Get all the online players, then burn them.

Discussion in 'Plugin Development' started by clange0808, Jan 29, 2013.

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

    clange0808

    This is going to be nice and short. What is the code to get every online player then burn them all?
     
  2. Offline

    joby890

    Do you want us to show you the code or do you want help with coding this?
     
  3. Offline

    clange0808

    joby890
    Im working on my plugin and for some reason my code for this is not working so showing me the code would be nice.
     
  4. Offline

    RainoBoy97

    for(Player p : Bukkit.getOnlinePlayers()){
    p.setFireTicks(1000);
    }

    Was this so hard?
     
    stickeric likes this.
  5. Offline

    LaxWasHere

    Sounds evil.
     
  6. Offline

    skore87

    We must make this more feature rich. Lets make it so that a player will reignite for the remainder of the burn time if the fire gets quenched for whatever reason persisting even if the server restarts or reloads plugins =)
     
Thread Status:
Not open for further replies.

Share This Page