Examples of changeOwner()


Examples of com.caucho.vfs.Path.changeOwner()

      if (! dir.exists()) {
        dir.mkdirs();

        String userName = _watchdog.getUserName();
        if (userName != null)
          dir.changeOwner(userName);

        String groupName = _watchdog.getGroupName();
        if (groupName != null)
          dir.changeGroup(groupName);
      }
View Full Code Here

Examples of com.caucho.vfs.Path.changeOwner()

      if (! dir.exists()) {
        dir.mkdirs();

        String userName = _watchdog.getUserName();
        if (userName != null)
          dir.changeOwner(userName);

        String groupName = _watchdog.getGroupName();
        if (groupName != null)
          dir.changeGroup(groupName);
      }
View Full Code Here

Examples of com.forgeessentials.economy.plots.Plot.changeOwner()

            {
                OutputHandler.chatNotification(offer.buyer, "The seller agreed to sell plot " + offer.plot.getName() + " to you. " + offer.amount + " will be deducted from your wallet.");
                APIRegistry.wallet.removeFromWallet(offer.amount, offer.buyer.getPersistentID());
                APIRegistry.wallet.addToWallet(offer.amount, seller.getPersistentID());
                Plot plot = offer.plot;
                plot.changeOwner(offer.buyer.getPersistentID());
                PlotManager.addPlot(plot);
                OutputHandler.chatNotification(seller, "Transaction complete. " + offer.amount + "added to your wallet.");
                OutputHandler.chatNotification(offer.buyer, "Transaction complete. You are now owner of " + plot.getName());
                PlotManager.pendingOffers.remove(args[0]);
View Full Code Here

Examples of l2p.gameserver.model.entity.residence.ClanHall.changeOwner()

        {
          activeChar.sendPacket(Msg.THAT_IS_THE_INCORRECT_TARGET);
        }
        else
        {
          clanhall.changeOwner(player.getClan());
          Auction auction = AuctionManager.getInstance().getAuction(clanhall.getId());
          if(auction != null)
          {
            auction.cancelAuction();
          }
View Full Code Here

Examples of l2p.gameserver.model.entity.residence.ClanHall.changeOwner()

          }
          _log.fine("ClanHall " + clanhall.getName() + "(id: " + clanhall.getId() + ") owned by clan " + player.getClan().getName());
        }
        break;
      case admin_clanhalldel:
        clanhall.changeOwner(null);
        break;
      case admin_clanhallopendoors:
        clanhall.openCloseDoors(activeChar, true);
        break;
      case admin_clanhallclosedoors:
View Full Code Here

Examples of l2p.gameserver.model.entity.residence.ClanHall.changeOwner()

        returnItem(_SellerClanName, _HighestBidderMaxBid, true);
        returnItem(_SellerClanName, ch.getLease(), false);
        PlayerMessageStack.getInstance().mailto(_SellerId, new SystemMessage(SystemMessage.THE_CLAN_HALL_WHICH_WAS_PUT_UP_FOR_AUCTION_HAS_BEEN_AWARDED_TO_S1_CLAN).addString(HighestBidderClan.getName()));
      }
      ch.setLease(Math.max(ch.getPrice() / 100, _HighestBidderMaxBid / 100)); // Аренда - 1% от стоимости в неделю
      ch.changeOwner(HighestBidderClan);
      PlayerMessageStack.getInstance().mailto(HighestBidderClan.getLeaderId(), new SystemMessage("Congratulation! You have won ClanHall " + getItemName() + ". " + ch.getDesc()));
    }
    cancelAuction();
  }
View Full Code Here

Examples of l2p.gameserver.model.entity.residence.Residence.changeOwner()

        {
          activeChar.sendPacket(Msg.THAT_IS_THE_INCORRECT_TARGET);
        }
        else
        {
          siegeUnit.changeOwner(player.getClan());
          _log.fine(siegeUnit.getName() + " owned by clan " + player.getClan().getName());
        }
      }
      else if(fullString.equalsIgnoreCase("admin_castledel"))
      {
View Full Code Here

Examples of l2p.gameserver.model.entity.residence.Residence.changeOwner()

          _log.fine(siegeUnit.getName() + " owned by clan " + player.getClan().getName());
        }
      }
      else if(fullString.equalsIgnoreCase("admin_castledel"))
      {
        siegeUnit.changeOwner(null);
      }
      else if(fullString.equalsIgnoreCase("admin_spawn_doors"))
      {
        siegeUnit.spawnDoor();
      }
View Full Code Here

Examples of lineage2.gameserver.model.entity.residence.ClanHall.changeOwner()

        {
          activeChar.sendPacket(SystemMsg.THAT_IS_AN_INCORRECT_TARGET);
        }
        else
        {
          clanhall.changeOwner(player.getClan());
        }
        break;
      case admin_clanhalldel:
        clanhall.changeOwner(null);
        break;
View Full Code Here

Examples of lineage2.gameserver.model.entity.residence.ClanHall.changeOwner()

        {
          clanhall.changeOwner(player.getClan());
        }
        break;
      case admin_clanhalldel:
        clanhall.changeOwner(null);
        break;
      case admin_clanhallteleportself:
        Zone zone = clanhall.getZone();
        if (zone != null)
        {
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.