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

[New API] How do you get a player object? [SOLVED]

Comments in 'Plugin Development' started by LDX, Jul 17, 2014.

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

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,429
    Plugins:
    14
    What would be the new API equivalent of:
    PHP:
    $this->api->player->get($player);
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    $this->getServer()->getPlayer($similarName);
    $this->api->player->get($similarName);

    $this->getServer()->getPlayerExact($name);
    $this->api->player->get($name, false);
    LDX likes this.
Thread Status:
Not open for further replies.

Share This Page

Advertisement