Make someone invisible?

Discussion in 'Plugin Development' started by NerdsWBNerds, May 17, 2012.

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

    NerdsWBNerds

    How can I make a player invisible?
     
  2. Offline

    TheRealZuriki

    .hidePlayer();
     
  3. Offline

    md_5

    Actually its more like playeryouwanttohidefrom.hidePlayer(playertobehidden);
     
  4. Offline

    NerdsWBNerds

    When a player logs out and back in, does it reset if he is hidden or not?
    Is there anyway to show everyone after I have hidden some people?
     
  5. Offline

    stelar7

    use a for loop?
     
  6. Offline

    XDemonic25

    to show someone hidden as soon as they log in, I would think you need to setup a yml file to hold Data.

    Like for example:
    plugins/MyPluginData/Player.yml
    Code:
    Players:
      XDemonic:
          Flags: 0
      Caveman:
          Flags: 1
    
    Where Flags: 1 Would make the player invisible when he logs in. Though you would need to code for that check.
     
  7. Offline

    macboinc

    How would you un-vanish?
     
  8. Offline

    iiHeroo


    Bit old...

    .showPlayer();
     
  9. Offline

    macboinc

    Lol ok. :oops:
     
Thread Status:
Not open for further replies.

Share This Page