Package simpleserver.config.xml

Examples of simpleserver.config.xml.AllBlocks


  }

  @Override
  void convert(Attributes attributes, Stack<PermissionContainer> stack) throws SAXException {
    PermissionContainer container = stack.peek();
    AllBlocks blocks = new AllBlocks();
    blocks.fullInit();

    if (attributes.getIndex("allowDestroy") >= 0) {
      blocks.destroy = new Permission(attributes.getValue("allowDestroy"));
    }
    if (attributes.getIndex("allowPlace") >= 0) {
View Full Code Here


  private Area createPlayerArea(Player player) {
    Area area = new Area(t("%s's area", player.getName()), player.areastart, player.areaend);
    area.owner = player.getName().toLowerCase();
    Permission perm = new Permission(player);
    AllBlocks blocks = new AllBlocks();
    blocks.destroy = perm;
    blocks.place = perm;
    blocks.use = perm;
    area.allblocks.blocks = blocks;
    area.chests.chests = new Chests(perm);
View Full Code Here

TOP

Related Classes of simpleserver.config.xml.AllBlocks

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.