Solved Get a group of players who type a command, then randomly apply an effect.

Discussion in 'Plugin Development' started by Lightzaver, Aug 6, 2013.

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

    Lightzaver

    I'm trying to make a plugin which does what it says in the title.

    Basically, I've got no idea how to get the plugin to get the names of everyone who types the command. ( I think I could find out how to randomly apply an effect somewhere else.)

    The plugin will hopefully do other things as well, as it's part of a mini game, but theres tutorials here for that ( Making physical lobbies e.t.c )

    Any help is greatly appreciated ^^
     
  2. Offline

    GaaTavares

    ArrayList or Hashmaps.
     
  3. Offline

    Lightzaver

    GaaTavares Thank you. I need to learn how they work though first, I think.
     
  4. Offline

    GaaTavares

    No problem! Good luck with ur plugin :)
     
  5. Offline

    Lightzaver

    Okay, I've got the arraylist set up, how do I get the plugin to perform an action when the arraylist has a certain amount of players inside?
     
Thread Status:
Not open for further replies.

Share This Page