Examples of EpicZonePlayer


Examples of com.epicsagaonline.bukkit.EpicZones.objects.EpicZonePlayer

    public EZZoneWorld(String[] data, CommandSender sender)
    {
        if (sender instanceof Player)
        {
            Player player = (Player) sender;
            EpicZonePlayer ezp = General.getPlayer(player.getName());
            if (ezp.getMode() == EpicZoneMode.ZoneEdit)
            {
                if (data.length > 1)
                {
                    if (ezp.getAdmin()) //Owners are not allowed to change the world of their zone.
                    {
                        String worldName = data[1].trim();
                        if (worldName.length() > 0)
                        {
                            ezp.getEditZone().setWorld(worldName);
                            Message.Send(sender, Message_ID.Info_00100_ZoneUpdatedSet_X_to_Y, new String[]{"world", worldName});
                        }
                    }
                }
            }
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.