adding a potion effect to EVERY player on server?

Discussion in 'Plugin Development' started by MrGiGimz, Aug 26, 2013.

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

    MrGiGimz

    Hello, I was wondering if its possible that when an OP types a command that it will give every player on the server the blindness effect for 10 seconds? Is it possible? Any help would be amazing!
     
  2. Offline

    boss86741

    I think you'd have to get a list of all the online players on the server. I think the method is getServer().getOnlinePlayers()
     
Thread Status:
Not open for further replies.

Share This Page