Command When First Player Joins The Server

Discussion in 'Archived: Plugin Requests' started by grmds, Mar 20, 2013.

  1. Offline

    grmds

    I need to find a plugin that will execute any command when the first person joins the server (NOT when a player joins the server for the first time). This can be used for minigame servers so when the first person joins the server, a command will execute that starts the game countdown.
     
  2. Offline

    Zarius

    Hmm, I could add a playersonline condition to OtherDrops, then (after I add the playerjoin trigger) you could use:

    PHP:
      PLAYER:
        - 
    actionJOIN
          playersonline
    1
          command
    "/!*cooldownstart"
          
    message"Cooldown started..."
    The "/!*" bit of the command means to run it as with "op" permissions and send output to the console rather htan player.
     
  3. Offline

    grmds

    Add it! This would be perfect. Could I also do it so like

    PLAYER
    - action: COMMAND "/suicide"
    commandnumber: 5
    command "/restart"

    So like after five people issue the command /suicide it will then execute another command (Restarting the server).
     
  4. Offline

    Zarius

    Can't do the command count requirements but OtherDrops can now do the command on login. Although it should be now:

    PHP:
      PLAYER:
        - 
    actionJOIN
          playersonline
    1
          command
    "/!*cooldownstart"
          
    message"Cooldown started..."
    You'll need the latest dev build, see my post here.
     
  5. Offline

    grmds

    Awesome, Downloading now!
     

Share This Page