Package com.epicsagaonline.bukkit.EpicZones.objects

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


    {
        Log.Write("Adding World: " + world.getName().toLowerCase());
        if (myGlobalZones.get(world.getName().toLowerCase()) == null)
        {

            EpicZone newGlobal = new EpicZone();

            newGlobal.setTag(world.getName().toLowerCase());
            newGlobal.setName(world.getName());
            newGlobal.setRadius(1000);
            newGlobal.setType("GLOBAL");
            newGlobal.setMobs("all");
            newGlobal.setWorld(world.getName());

            for (String zoneTag : myZones.keySet())
            {
                EpicZone zone = myZones.get(zoneTag);
                if (zone.getWorld().equalsIgnoreCase(world.getName()))
                {
                    newGlobal.addChild(zone);
                }
            }
View Full Code Here


        try
        {
            for (String zoneTag : myZones.keySet())
            {
                EpicZone zone = myZones.get(zoneTag);
                if (zone.hasChildren())
                {
                    for (String child : zone.getChildrenTags())
                    {
                        EpicZone childZone = myZones.get(child);
                        if (childZone != null)
                        {
                            childZone.setParent(zone);
                            zone.addChild(childZone);
                        }
                        else
                        {
                            Log.Write("The zone [" + zoneTag + "] has an invalid child > [" + child + "]");
View Full Code Here

TOP

Related Classes of com.epicsagaonline.bukkit.EpicZones.objects.EpicZone

Copyright © 2018 www.massapicom. 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.