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

Hide Particles

Comments in 'Plugin Development' started by Marcelo234, Jan 31, 2016.

  1. Marcelo234
    Offline

    Marcelo234 New Member

    Joined:
    Oct 18, 2014
    Posts:
    204
    Hey guys...With the following code, you can add an effect to a player!
    For Example:
    PHP:
    $player->addEffect(Effect::getEffect(1)->setAmplifier(1)->setDuration(1000000));
    So but often the Particles of the Effect is not beatiful :D (The Bubles)
    How to hide this particals(Bubels)?
    Thanks Marcelo234
  2. CraftYourBukkit
    Offline

    CraftYourBukkit Notable Member Plugin Developer

    Joined:
    Jan 20, 2015
    Posts:
    1,022
    Plugins:
    2
    Minecraft User:
    CraftYourBukkit
    Effect:setVisible()
    PEMapModder likes this.
  3. CaptainKenji17
    Offline

    CaptainKenji17 Active Member

    Joined:
    Apr 22, 2014
    Posts:
    252
    Minecraft User:
    CaptainKenji17
    Effect:setVisible(false);
  4. CraftYourBukkit
    Offline

    CraftYourBukkit Notable Member Plugin Developer

    Joined:
    Jan 20, 2015
    Posts:
    1,022
    Plugins:
    2
    Minecraft User:
    CraftYourBukkit
    I just pointed out the function, what he wants to write in there is his choice, either true or false. He should know that though.
    PEMapModder likes this.

Share This Page

Advertisement