Package simpleserver.config.xml.Config

Examples of simpleserver.config.xml.Config.AreaStoragePair


        return;
      }
      saveArea(area, player);
      player.addTMessage(Color.GRAY, "Your area has been saved!");
    } else if (arguments[0].equals("unsave") || arguments[0].equals("remove")) {
      AreaStoragePair area = config.playerArea(player);
      if (area == null) {
        player.addTMessage(Color.RED, "You currently have no personal area which can be removed!");
        return;
      }

      area.storage.remove(area.area);
      player.addTMessage(Color.GRAY, "Your area has been removed!");
      player.getServer().saveConfig();
    } else if (arguments[0].equals("rename")) {
      AreaStoragePair area = config.playerArea(player);
      if (area == null) {
        player.addTMessage(Color.RED, "You currently have no personal area which can be renamed!");
        return;
      }
View Full Code Here

TOP

Related Classes of simpleserver.config.xml.Config.AreaStoragePair

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.