Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Invisible player (not effect)

Comments in 'Plugin Development' started by mamayadesu, Aug 27, 2015.

  1. mamayadesu
    Offline

    mamayadesu Active Member Plugin Developer

    Joined:
    Sep 19, 2013
    Posts:
    146
    Plugins:
    4
    Minecraft User:
    mamayadesu
    How I can make player invisible without Invisible Effect?
  2. Sorashiro19
    Offline

    Sorashiro19 New Member

    Joined:
    Jul 17, 2015
    Posts:
    4
    Minecraft User:
    Sorashiro19
    What do u mean by invisble sir?
  3. Sorashiro19
    Offline

    Sorashiro19 New Member

    Joined:
    Jul 17, 2015
    Posts:
    4
    Minecraft User:
    Sorashiro19
    Try adding a command when they teleport in a portal using taptodo or just do /v (name of player)
  4. Primus
    Offline

    Primus Notable Member

    Joined:
    Apr 7, 2015
    Posts:
    1,470
    Minecraft User:
    PrimusLV
    $player->hidePlayer(Player $player)
    matthww, PEMapModder, Falk and 2 others like this.
  5. CraftYourBukkit
    Offline

    CraftYourBukkit Notable Member Plugin Developer

    Joined:
    Jan 20, 2015
    Posts:
    1,022
    Plugins:
    2
    Minecraft User:
    CraftYourBukkit
    PHP:
    foreach($this->getServer()->getOnlinePlayers() as $p){
    $p->hidePlayer($player);
    }
    Also add it in a Join Event so the Player will be invisible for every player that joins
    Falk likes this.
  6. mamayadesu
    Offline

    mamayadesu Active Member Plugin Developer

    Joined:
    Sep 19, 2013
    Posts:
    146
    Plugins:
    4
    Minecraft User:
    mamayadesu
    Thank you :). I'll try it.
  7. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Oxidizer is going to have an API so that different plugins can control invisibility in a better way.
    matthww and TonyDroide like this.

Share This Page

Advertisement