Discussion in 'Plugin Development' started by joaogl, Feb 16, 2013.

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


    Hello, for example using the PlayerMoveEvent listener if there are like 10 players moving it starts to lag a bit how can I reduce the lag?

        public void onPigWalk(PlayerMoveEvent e) {
  2. joaogl
    There are other ways to do something. What are you trying to do when the player moves?
  3. Offline

    Johnny Crazy

    If you are running the Server on your Home-PC, make sure you start it with enough RAM.

    If your PlayerMoveEvent Method is empty,like in your Post, the Server should not lag cause of that Event.....
  4. Offline


    I know I've created a code that read the books on player inventory whitch will allows you to have diferent pig velocitys but is laging a bit..

    My server uses 10G of ram btw
  5. Mine only has 2gb of ram and it lags too D;
Thread Status:
Not open for further replies.

Share This Page