Examples of PlayerLogoutRemover


Examples of uk.co.tggl.pluckerpluck.multiinv.PlayerLogoutRemover

                // Load the inventory for this world from file.
                savePlayerState(player, currentworld);
            }
            //Remove the player from the list immediately if saveonquit is true.
            //Prevents a bug where stuff is saved to file within the 60 seconds time out.
        BukkitTask task = plugin.getServer().getScheduler().runTask(plugin, new PlayerLogoutRemover(event.getPlayer().getName()));
        playerremoval.put(event.getPlayer().getName(), task);
        }else {
        BukkitTask task = plugin.getServer().getScheduler().runTaskLater(plugin, new PlayerLogoutRemover(event.getPlayer().getName()), 20*60);
        playerremoval.put(event.getPlayer().getName(), task);
        }
  }
View Full Code Here

Examples of uk.co.tggl.pluckerpluck.multiinv.PlayerLogoutRemover

                // Load the inventory for this world from file.
                savePlayerState(player, currentworld);
            }
            //Remove the player from the list immediately if saveonquit is true.
            //Prevents a bug where stuff is saved to file within the 60 seconds time out.
        BukkitTask task = plugin.getServer().getScheduler().runTask(plugin, new PlayerLogoutRemover(event.getPlayer().getName()));
        playerremoval.put(event.getPlayer().getName(), task);
        }else {
        BukkitTask task = plugin.getServer().getScheduler().runTaskLater(plugin, new PlayerLogoutRemover(event.getPlayer().getName()), 20*60);
        playerremoval.put(event.getPlayer().getName(), task);
        }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.