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

Solved Remove all effects

Comments in 'Plugin Development' started by Andrey Nazarchuk, Sep 28, 2015.

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

    Andrey Nazarchuk Active Member

    Joined:
    Dec 30, 2013
    Posts:
    332
    Minecraft User:
    digita1eclipse
    Hello,
    How do I remove all effects from a player, just like /effect player clear does in pocketmine?
    Thanks!
  2. Legoboy0215
    Offline

    Legoboy0215 Notable Member

    Joined:
    Nov 1, 2014
    Posts:
    1,724
    Minecraft User:
    Legoboy0215
    #ReadTheDocs
    PHP:
    $player->removeAllEffects();
    Andrey Nazarchuk likes this.
  3. Andrey Nazarchuk
    Offline

    Andrey Nazarchuk Active Member

    Joined:
    Dec 30, 2013
    Posts:
    332
    Minecraft User:
    digita1eclipse
    Sorry it's just kind of hard to find things in the docs if you don't know exactly what you are looking for.
    Thanks :D
  4. Legoboy0215
    Offline

    Legoboy0215 Notable Member

    Joined:
    Nov 1, 2014
    Posts:
    1,724
    Minecraft User:
    Legoboy0215
    Think. You want to remove effects from a Player.
    Andrey Nazarchuk likes this.
Thread Status:
Not open for further replies.

Share This Page

Advertisement