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

Check if a player has an effect

Comments in 'Plugin Development' started by Pman1220, Aug 7, 2015.

  1. Pman1220
    Offline

    Pman1220 Active Member Plugin Developer

    Joined:
    Nov 21, 2013
    Posts:
    123
    Plugins:
    1
    Minecraft User:
    Pman1220
    Would anyone know how to go about checking if a certain player has a certain effect.
    I looked here to see what there was to see but I am not seeing anything that could help me with this problem. Any help is much appreciated!
  2. Legoboy0215
    Offline

    Legoboy0215 Notable Member

    Joined:
    Nov 1, 2014
    Posts:
    1,724
    Minecraft User:
    Legoboy0215
    $player->hasEffect($effectId);
    PEMapModder and hoyinm14mc like this.
  3. Legoboy0215
    Offline

    Legoboy0215 Notable Member

    Joined:
    Nov 1, 2014
    Posts:
    1,724
    Minecraft User:
    Legoboy0215

Share This Page

Advertisement