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

Less lag

Comments in 'Plugin Development' started by MyNameIsTriXz, Aug 11, 2016.

  1. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    The most lag is created by player entities, Minecraft PE lags when there are about 20 player entities in your nearby area. Could I reduce lag when I would do $player->hide($player); (not sure how it was called), when a player is not in the visible area of another player (could I use getViewers() for that?), I could check it on PlayerMoveEvent or by a task, would it reduce lag?
  2. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    i have same problem (but im using nukkit) in my bedwars minigame, lags appear after +/- 10 minutes. And they are horrible for some players. And it is not caused by dropped items or by huge map because BEdWars maps are small and there are only few blocks :D
  3. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    I also have a BedWars plugin and I know the world type :D But why does it lag hmm there arent that much players in BW (compared to an LBSG lobby).
  4. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    idk :/ but i'd need to solve it soon
  5. Legoboy0215
    Offline

    Legoboy0215 Notable Member

    Joined:
    Nov 1, 2014
    Posts:
    1,724
    Minecraft User:
    Legoboy0215
    LBSG has great hardware. And by lag do you mean player teleporting around.
  6. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    Yeah, generally players themselves trigger lag
  7. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    no i mean FPS client lag
  8. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    Thats exactly what I mean xD
  9. SOFe
    Offline

    SOFe Banned

    Joined:
    May 28, 2016
    Posts:
    386
    Minecraft User:
    Herobrine
    You will most likely get either server lag or delayed player visibility if you try to hide players who are blocked by walls. Also, you won't see the nametag, so that's perhaps bad. (You can hide behind the wall shooting arrows forever!)

Share This Page

Advertisement