Examples of func_152612_a()


Examples of net.minecraft.server.management.ServerConfigurationManager.func_152612_a()

    @Override
    public Collection<Actor> getConnectedUsers() {
        List<Actor> users = new ArrayList<Actor>();
        ServerConfigurationManager scm = server.getConfigurationManager();
        for (String name : scm.getAllUsernames()) {
            EntityPlayerMP entity = scm.func_152612_a(name);
            if (entity != null) {
                users.add(new ForgePlayer(this, entity));
            }
        }
        return users;
View Full Code Here

Examples of net.minecraft.server.management.ServerConfigurationManager.func_152612_a()

                OutputHandler.sendMessage(server, "[ForgeEssentials] " + msg);
            }
            ServerConfigurationManager manager = server.getConfigurationManager();
            for (String username : manager.getAllUsernames())
            {
                EntityPlayerMP player = manager.func_152612_a(username);
                if (PermissionsManager.checkPermission(player, "ForgeEssentials.backup.msg"))
                {
                    OutputHandler.chatNotification(player, "[ForgeEssentials] " + msg);
                }
            }
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.