• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Java Residence类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中com.bekvon.bukkit.residence.Residence的典型用法代码示例。如果您正苦于以下问题:Java Residence类的具体用法?Java Residence怎么用?Java Residence使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



Residence类属于com.bekvon.bukkit.residence包,在下文中一共展示了Residence类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: isChunkProtected

import com.bekvon.bukkit.residence.Residence; //导入依赖的package包/类
/**
 * Checks if there is a residence claim within the radius from location.
 * Due to the way residence works, Im going to check each corner of the chunk
 * instead of every block. This means it may not be 100% effective but the odds
 * of a claim bein small enough to avoid each corner is high.
 * @return
 */
public boolean isChunkProtected(Location location)
{
    if(Bukkit.getServer().getPluginManager().getPlugin("Residence") == null) {
        return false;
    }

    if(!RandomCoords.getPlugin().getConfig().getString("Residence").equalsIgnoreCase("true")) {
        return false;
    }
    for (ClaimedResidence residence : Residence.getInstance().getResidenceManager().getResidences().values()) {
        if ((!residence.isSubzone()) && (location.getWorld().getName().equals(residence.getWorld()))) {
            for (CuboidArea area : residence.getAreaMap().values()) {
                if(isInside(location, area.getHighLoc(), area.getLowLoc())) {
                    return true;
                }
            }
        }
    }
    return false;
}
 
开发者ID:jolbol1,项目名称:RandomCoordinatesV2,代码行数:28,代码来源:ResidenceCheck.java


示例2: onMessage

import com.bekvon.bukkit.residence.Residence; //导入依赖的package包/类
@Override
public B01ResTokenConfirmation onMessage(B01ResTokenConfirmation message, Player source) {
   if (message.useToken && source.getItemInHand().getType() == Material.getMaterial("ALMURA_CURRENCYRESTOKEN")) {
        ClaimedResidence res = Residence.getResidenceManager().getByLoc(source.getLocation());
        if (res == null) {
            source.sendMessage("[" + ChatColor.DARK_AQUA + "Residence" + ChatColor.WHITE + "] - There is no residence at this location.");

        } else {
            if (Residence.getLeaseManager().leaseExpires(res.getName())) {
                Residence.getLeaseManager().removeExpireTime(res.getName());
                Bukkit.getLogger().info("[Res Tokens] - Player: " + source.getName() + " / " + source.getDisplayName() + " has attempted to use a res token at: " + source.getLocation());
                source.sendMessage("[" + ChatColor.DARK_AQUA + "Residence" + ChatColor.WHITE + "] - Lease Removed.");
                if (source.getItemInHand().getAmount() == 1) {
                    source.setItemInHand(new ItemStack(Material.AIR));
                } else {
                    source.getItemInHand().setAmount(source.getItemInHand().getAmount()-1);
                }
            } else {
                source.sendMessage("[" + ChatColor.DARK_AQUA + "Residence" + ChatColor.WHITE + "] - There is no lease on the current residence.");
            }
        }
    } 

    // TODO Just return null for now. Bridge may send return messages in the future.
    return null;
}
 
开发者ID:AlmuraDev,项目名称:AlmuraForgeBridge,代码行数:27,代码来源:B01ResTokenConfirmation.java


示例3: onPlayerChangedWorld

import com.bekvon.bukkit.residence.Residence; //导入依赖的package包/类
@SuppressWarnings("deprecation")
@EventHandler(priority = EventPriority.HIGHEST)
public void onPlayerChangedWorld(final PlayerChangedWorldEvent event) {
    Bukkit.getScheduler().scheduleAsyncDelayedTask(BridgePlugin.getInstance(), new Runnable() {
        @Override
        public void run() {
            final ClaimedResidence res = Residence.getResidenceManager().getByLoc(event.getPlayer().getLocation());
            ServerWorldUtil.sendResidenceInfo(event.getPlayer(), res);

            for (Player player : Bukkit.getServer().getOnlinePlayers()) {
                ServerWorldUtil.sendAdditionalWorldInfo(player, player.getWorld().getName(), Bukkit.getOnlinePlayers().size(), Bukkit.getMaxPlayers());
                TitleUtil.sendDisplayName(player, event.getPlayer().getName(), ChatColor.stripColor(event.getPlayer().getDisplayName()) + "\n" + TitleUtil.getCustomTitle(event.getPlayer()));
                TitleUtil.sendDisplayName(event.getPlayer(), player.getName(), ChatColor.stripColor(player.getDisplayName()) + "\n" + TitleUtil.getCustomTitle(player));
            }
        }
    }, 20L);
}
 
开发者ID:AlmuraDev,项目名称:AlmuraForgeBridge,代码行数:18,代码来源:PlayerListener.java


示例4: onPlayerJoin

import com.bekvon.bukkit.residence.Residence; //导入依赖的package包/类
@SuppressWarnings("deprecation")
@EventHandler(priority = EventPriority.LOWEST)
public void onPlayerJoin(final PlayerJoinEvent event) {
    event.setJoinMessage("");
    Bukkit.getScheduler().scheduleAsyncDelayedTask(BridgePlugin.getInstance(), new Runnable() {
        @Override
        public void run() {
            final ClaimedResidence res = Residence.getResidenceManager().getByLoc(event.getPlayer().getLocation());
            ServerWorldUtil.sendResidenceInfo(event.getPlayer(), res);
            // Broadcast Login
            TitleUtil.broadcastLogin(event.getPlayer());
            // Send Title

            for (Player player : Bukkit.getServer().getOnlinePlayers()) {
                ServerWorldUtil.sendAdditionalWorldInfo(player, player.getWorld().getName(), Bukkit.getOnlinePlayers().size(), Bukkit.getMaxPlayers());
                TitleUtil.sendDisplayName(player, event.getPlayer().getName(), ChatColor.stripColor(event.getPlayer().getDisplayName()) + "\n" + TitleUtil.getCustomTitle(event.getPlayer()));
                TitleUtil.sendDisplayName(event.getPlayer(), player.getName(), ChatColor.stripColor(player.getDisplayName()) + "\n" + TitleUtil.getCustomTitle(player));
            }
        }
    }, 30L);
    TitleUtil.sendClientDetailsRequest(event.getPlayer());
    EconUtil.sendCurrencyAmount(event.getPlayer(), EconUtil.economy.getBalance(event.getPlayer().getName()));
}
 
开发者ID:AlmuraDev,项目名称:AlmuraForgeBridge,代码行数:24,代码来源:PlayerListener.java


示例5: onPlayerRespawn

import com.bekvon.bukkit.residence.Residence; //导入依赖的package包/类
@EventHandler(priority = EventPriority.HIGHEST)
public void onPlayerRespawn(final PlayerRespawnEvent event) {
    Bukkit.getScheduler().scheduleSyncDelayedTask(BridgePlugin.getInstance(), new Runnable() {
        @Override
        public void run() {
            final ClaimedResidence res = Residence.getResidenceManager().getByLoc(event.getPlayer().getLocation());
            ServerWorldUtil.sendResidenceInfo(event.getPlayer(), res);
            // Send Title

            for (Player player : Bukkit.getServer().getOnlinePlayers()) {
                ServerWorldUtil.sendAdditionalWorldInfo(player, player.getWorld().getName(), Bukkit.getOnlinePlayers().size(), Bukkit.getMaxPlayers());
                TitleUtil.sendDisplayName(player, event.getPlayer().getName(), ChatColor.stripColor(event.getPlayer().getDisplayName()) + "\n" + TitleUtil.getCustomTitle(event.getPlayer()));
                TitleUtil.sendDisplayName(event.getPlayer(), player.getName(), ChatColor.stripColor(player.getDisplayName()) + "\n" + TitleUtil.getCustomTitle(player));
            }
        }
    }, 20L);
    EconUtil.sendCurrencyAmount(event.getPlayer(), EconUtil.economy.getBalance(event.getPlayer().getName()));
}
 
开发者ID:AlmuraDev,项目名称:AlmuraForgeBridge,代码行数:19,代码来源:PlayerListener.java


示例6: onPlayerPortal

import com.bekvon.bukkit.residence.Residence; //导入依赖的package包/类
@EventHandler(priority = EventPriority.LOWEST)
public void onPlayerPortal(final PlayerPortalEvent event) {
    Bukkit.getScheduler().scheduleSyncDelayedTask(BridgePlugin.getInstance(), new Runnable() {
        @Override
        public void run() {
            final ClaimedResidence res = Residence.getResidenceManager().getByLoc(event.getPlayer().getLocation());
            ServerWorldUtil.sendResidenceInfo(event.getPlayer(), res);
            // Send Title

            for (Player player : Bukkit.getServer().getOnlinePlayers()) {
                ServerWorldUtil.sendAdditionalWorldInfo(player, player.getWorld().getName(), Bukkit.getOnlinePlayers().size(), Bukkit.getMaxPlayers());
                TitleUtil.sendDisplayName(player, event.getPlayer().getName(), ChatColor.stripColor(event.getPlayer().getDisplayName()) + "\n" + TitleUtil.getCustomTitle(event.getPlayer()));
                TitleUtil.sendDisplayName(event.getPlayer(), player.getName(), ChatColor.stripColor(player.getDisplayName()) + "\n" + TitleUtil.getCustomTitle(player));
            }
        }
    }, 20L);
    EconUtil.sendCurrencyAmount(event.getPlayer(), EconUtil.economy.getBalance(event.getPlayer().getName()));
}
 
开发者ID:AlmuraDev,项目名称:AlmuraForgeBridge,代码行数:19,代码来源:PlayerListener.java


示例7: onPlayerTeleport

import com.bekvon.bukkit.residence.Residence; //导入依赖的package包/类
@EventHandler(priority = EventPriority.HIGHEST)
public void onPlayerTeleport(final PlayerTeleportEvent event) {
    Bukkit.getScheduler().scheduleSyncDelayedTask(BridgePlugin.getInstance(), new Runnable() {
        @Override
        public void run() {
            final ClaimedResidence res = Residence.getResidenceManager().getByLoc(event.getPlayer().getLocation());
            ServerWorldUtil.sendResidenceInfo(event.getPlayer(), res);
            // Send Title

            for (Player player : Bukkit.getServer().getOnlinePlayers()) {
                ServerWorldUtil.sendAdditionalWorldInfo(player, player.getWorld().getName(), Bukkit.getOnlinePlayers().size(), Bukkit.getMaxPlayers());
                TitleUtil.sendDisplayName(player, event.getPlayer().getName(), ChatColor.stripColor(event.getPlayer().getDisplayName()) + "\n" + TitleUtil.getCustomTitle(event.getPlayer()));
                TitleUtil.sendDisplayName(event.getPlayer(), player.getName(), ChatColor.stripColor(player.getDisplayName()) + "\n" + TitleUtil.getCustomTitle(player));
            }
        }
    }, 20L);
    EconUtil.sendCurrencyAmount(event.getPlayer(), EconUtil.economy.getBalance(event.getPlayer().getName()));
}
 
开发者ID:AlmuraDev,项目名称:AlmuraForgeBridge,代码行数:19,代码来源:PlayerListener.java


示例8: onResidenceFlagChangeEvent

import com.bekvon.bukkit.residence.Residence; //导入依赖的package包/类
@SuppressWarnings("deprecation")
@EventHandler
public void onResidenceFlagChangeEvent(final ResidenceFlagChangeEvent event) {
    Bukkit.getScheduler().scheduleAsyncDelayedTask(BridgePlugin.getInstance(), new Runnable() {
        public void run() {
            if (event.getPlayer() != null) {
                ClaimedResidence res = Residence.getResidenceManager().getByLoc(event.getPlayer().getLocation());
                if (res != null) {
                    for (Player player : res.getPlayersInResidence()) {
                        if (player != null) {
                            ServerWorldUtil.sendResidenceInfo(player, res);
                        }
                    }
                }
            }
        }
    }, 20L);
}
 
开发者ID:AlmuraDev,项目名称:AlmuraForgeBridge,代码行数:19,代码来源:PlayerListener.java


示例9: onResidenceCommandEvent

import com.bekvon.bukkit.residence.Residence; //导入依赖的package包/类
@SuppressWarnings("deprecation")
@EventHandler
public void onResidenceCommandEvent(final ResidenceCommandEvent event) {
    Bukkit.getScheduler().scheduleAsyncDelayedTask(BridgePlugin.getInstance(), new Runnable() {
        public void run() {
            if (event.getSender() != null) {
                Player player = Bukkit.getPlayer(event.getSender().getName());
                if (player != null) {
                    ClaimedResidence res = Residence.getResidenceManager().getByLoc(player.getLocation());
                    if (res != null) {
                        ServerWorldUtil.sendResidenceInfo(player, res);
                    }
                }
            }
        }
    }, 10L);
}
 
开发者ID:AlmuraDev,项目名称:AlmuraForgeBridge,代码行数:18,代码来源:PlayerListener.java


示例10: onResidenceCreationEvent

import com.bekvon.bukkit.residence.Residence; //导入依赖的package包/类
@SuppressWarnings("deprecation")
@EventHandler
public void onResidenceCreationEvent(final ResidenceCreationEvent event) {
    Bukkit.getScheduler().scheduleAsyncDelayedTask(BridgePlugin.getInstance(), new Runnable() {
        public void run() {
            if (event.getPlayer() != null) {
                ClaimedResidence res = Residence.getResidenceManager().getByLoc(event.getPlayer().getLocation());
                if (res != null) {                   
                    for (Player player : res.getPlayersInResidence()) {
                        if (player != null) {
                            ServerWorldUtil.sendResidenceInfo(player, res);
                        }
                    }
                }
            }
        }
    }, 20L);
}
 
开发者ID:AlmuraDev,项目名称:AlmuraForgeBridge,代码行数:19,代码来源:PlayerListener.java


示例11: onEnable

import com.bekvon.bukkit.residence.Residence; //导入依赖的package包/类
public void onEnable()
{
	instance=this;
	new Messages();
	Bukkit.getPluginManager().registerEvents(new Listeners(), instance);
	new Metrics(instance);
	new ConfigManager();
	new BackpackCooldown();
	new InteractCooldown();
	Plugin sf=Bukkit.getPluginManager().getPlugin("Slimefun");
	if(sf==null){
		setEnabled(false);
		Bukkit.getConsoleSender().sendMessage("§6§lSlimefunBugFixer §7>>> §c§l未找到Slimefun,停止加载");
		return;
	}
	else{
		if(sf.getDescription().getVersion().startsWith("4.")){
			Bukkit.getPluginManager().registerEvents(new ListenersV4(), instance);
		}
	}
	Plugin res=Bukkit.getPluginManager().getPlugin("Residence");
	if(res!=null){
		if(res.getDescription().getVersion().startsWith("4")){
			RESIDENCE_MAMAGER = Residence.getInstance().getResidenceManager();
			Bukkit.getPluginManager().registerEvents(new ListenersRes4(), this);
		}
	}
	if(RESIDENCE_MAMAGER==null){
		Bukkit.getConsoleSender().sendMessage("§6§lSlimefunBugFixer §7>>> §c§l未找到ResideceV4.x版本,爆炸镐修复无法启用!");
	}
	Bukkit.getConsoleSender().sendMessage("§6§lSlimefunBugFixer §7>>> §a§l插件成功加载");
}
 
开发者ID:Soldier233,项目名称:SlimefunBugFixer,代码行数:33,代码来源:Main.java


示例12: isOwned

import com.bekvon.bukkit.residence.Residence; //导入依赖的package包/类
public Boolean isOwned(Chunk chunk) {
	int x1 = chunk.getX() << 4,
			z1 = chunk.getZ() << 4,
			y1 = 0;
		
		int x2 = x1 + 15,
			z2 = z1 + 15,
			y2 = chunk.getWorld().getMaxHeight();
		
	Location lowLocation = chunk.getWorld().getBlockAt(x1, y1, z1).getLocation();
	Location highLocation = chunk.getWorld().getBlockAt(x2, y2, z2).getLocation();
		
	CuboidArea area = new CuboidArea();
	area.setLowLocation(lowLocation);
	area.setHighLocation(highLocation);

	
	// TODO: is there a utility method that exists to do this already?
	return Residence.getInstance().getResidenceManager().getFromAllResidences(Config.get().residencesIncludeHidden, false, chunk.getWorld()).stream()
		.filter(claim -> 
			claim.checkCollision(area)
			
		/*
			claim.getAreaMap().values().stream()
				.filter(claimArea -> area.isAreaWithinArea(claimArea))
				.findFirst()
					.isPresent()
		 */
		)
		.findFirst()
			.isPresent();
}
 
开发者ID:redstone,项目名称:FreshWilderness,代码行数:33,代码来源:ResidenceEngine.java


示例13: residenceClaimCheck

import com.bekvon.bukkit.residence.Residence; //导入依赖的package包/类
public boolean residenceClaimCheck(Location loc){
    if(wild.getConfig().getBoolean("Residence")) {
        ClaimedResidence res = Residence.getInstance().getResidenceManager().getByLoc(loc);
        if (res != null && !checkSurroundingResidences(loc))
            return true;
        else
            return false;
    }
    else{
        return false;
    }
}
 
开发者ID:Qballl,项目名称:WildernessTp,代码行数:13,代码来源:ClaimChecks.java


示例14: checkSurroundingResidences

import com.bekvon.bukkit.residence.Residence; //导入依赖的package包/类
private boolean checkSurroundingResidences(Location loc){
    int distance = range / 2;
    Vector top = new Vector(loc.getX() + distance, loc.getY(), loc.getZ() + distance);
    Vector bottom = new Vector(loc.getX() - distance, loc.getY(), loc.getZ() - distance);
    for (int z = bottom.getBlockZ(); z <= top.getBlockZ(); z++) {
        for (int x = bottom.getBlockX(); x <= top.getBlockX(); x++) {
            loc = new Location(loc.getWorld(), loc.getBlockX()+x, loc.getBlockY(), loc.getBlockZ()+z,loc.getPitch(),loc.getYaw());
            ClaimedResidence res = Residence.getInstance().getResidenceManager().getByLoc(loc);
            if(res != null)
                return true;
        }
        }
        return false;
}
 
开发者ID:Qballl,项目名称:WildernessTp,代码行数:15,代码来源:ClaimChecks.java


示例15: checkHook

import com.bekvon.bukkit.residence.Residence; //导入依赖的package包/类
@Override
public boolean checkHook() {
	Plugin plugin = Bukkit.getPluginManager().getPlugin("Residence");
	if (plugin != null && plugin instanceof Residence) {
		Zephyrus.getPlugin().getLogger().info("[Plugin Hooks] Found and hooked Residence");
		return true;
	}
	return false;
}
 
开发者ID:mcardy,项目名称:Zephyrus-II,代码行数:10,代码来源:ResidenceHook.java


示例16: canTarget

import com.bekvon.bukkit.residence.Residence; //导入依赖的package包/类
@Override
public boolean canTarget(Player player, LivingEntity entity, boolean friendly) {
	if (entity instanceof Player) {
		FlagPermissions perm1 = Residence.getPermsByLoc(player.getLocation());
		FlagPermissions perm2 = Residence.getPermsByLoc(player.getLocation());
		return perm1.has("pvp", true) && perm2.has("pvp", true);
	}
	return true;
}
 
开发者ID:mcardy,项目名称:Zephyrus-II,代码行数:10,代码来源:ResidenceHook.java


示例17: onResidenceChangedEvent

import com.bekvon.bukkit.residence.Residence; //导入依赖的package包/类
@SuppressWarnings("deprecation")
@EventHandler
public void onResidenceChangedEvent(final ResidenceChangedEvent event) {
    Bukkit.getScheduler().scheduleAsyncDelayedTask(BridgePlugin.getInstance(), new Runnable() {
        public void run() {                                    
            final Location location = event.getPlayer().getLocation();
            if (event.getPlayer() != null) {
                ClaimedResidence res = Residence.getResidenceManager().getByLoc(location);
                ServerWorldUtil.sendResidenceInfo(event.getPlayer(), res);
            }
        }
    }, 1L);
}
 
开发者ID:AlmuraDev,项目名称:AlmuraForgeBridge,代码行数:14,代码来源:PlayerListener.java


示例18: onResidenceDeleteEvent

import com.bekvon.bukkit.residence.Residence; //导入依赖的package包/类
@EventHandler
public void onResidenceDeleteEvent(final ResidenceDeleteEvent event) {
    if (event.getPlayer() != null) {                    
        ClaimedResidence res = Residence.getResidenceManager().getByLoc(event.getPlayer().getLocation());
        if (res != null) {                   
            for (Player player : res.getPlayersInResidence()) {
                if (player != null) {
                    ServerWorldUtil.sendResidenceInfo(player, res);
                }
            }
        } else {
            ServerWorldUtil.sendResidenceInfo(event.getPlayer(), res);
        }
    }
}
 
开发者ID:AlmuraDev,项目名称:AlmuraForgeBridge,代码行数:16,代码来源:PlayerListener.java


示例19: Interact

import com.bekvon.bukkit.residence.Residence; //导入依赖的package包/类
@EventHandler
public void Interact(PlayerInteractEvent event) {
	Player player = event.getPlayer();
	if(!Residence.isResAdminOn(player) && event.getAction().name().startsWith("RIGHT_CLICK_") && event.getMaterial() != Material.AIR && event.hasItem() && !event.isBlockInHand()) {
		ClaimedResidence cr = Residence.getResidenceManager().getByLoc(Check(player));
		if (cr != null) {
			if (!cr.getPermissions().playerHas(player.getName(), "interact", true)) {
				event.setCancelled(true);
				plugin.getMessageManager().sendMessage(ChatColor.RED + "你没有交互的权限!", player);
			}
		}
	}
}
 
开发者ID:IT5Z,项目名称:ResInteractProtect,代码行数:14,代码来源:PlayerListener.java


示例20: onChangeSizeEvent

import com.bekvon.bukkit.residence.Residence; //导入依赖的package包/类
@EventHandler
public void onChangeSizeEvent(ResidenceSizeChangeEvent event) throws SQLException {

    // Ensure that the Database database connection is established
    Database.connect();
    if (!Database.isConnected()) {
        Database.connect();
    }

    // Get Variables
    Player p = event.getPlayer();
    String pUUID = p.getUniqueId().toString().replace("-","");
    String playerWorld = Database.getPlayerWorld(p.getWorld().getName());
    String playerWorldReplaced = playerWorld.replace("_count","");
    String preMessage = Main.getPlugin().getConfig().getString("MessagesConfig.PreMessage");
    Long oldArea = event.getOldArea().getSize();
    Long newArea = event.getNewArea().getSize() - oldArea;
    double playerBalance = Main.econ.getBalance(p);
    double playerOldBalance = Main.econ.getBalance(p) + (event.getNewArea().getSize() - event.getOldArea().getSize())*30;
    p.sendMessage(String.valueOf(playerBalance));
    p.sendMessage(String.valueOf(playerOldBalance));

    if (playerOldBalance < (event.getNewArea().getSize() - event.getOldArea().getSize())*30) {
        p.sendMessage(ChatColor.RED + "You do not have enough Trade Bars!");
        p.sendMessage(ChatColor.RED + "Crediting the amount of TB taken back to your account!");
        Main.econ.depositPlayer(p,(event.getNewArea().getSize() - event.getOldArea().getSize())*30);
        event.getOldArea().save();
        event.setCancelled(true);
    }

    if (!Objects.equals(p.getName(), event.getResidence().getOwner()) || event.isCancelled()) {

    } else {
        // Get old land, set new land values
        ResultSet oldLandRS = Database.getPlayerLand(pUUID);
        while (oldLandRS.next()) {
            Long oldLand = oldLandRS.getLong(playerWorld);
            Long newLand = oldLand + newArea;
            Database.changePlayerWildLand(pUUID, newLand, playerWorld);

            // Send message to player about new land values
            p.sendMessage(preMessage + "§A Your old§6 " + playerWorldReplaced + " §Aland count was: §6" + oldLand + " §ATiles.");
            p.sendMessage(preMessage + "§A Your new§6 " + playerWorldReplaced + " §Aland count is: §6" + newLand + " §ATiles.");
        }
        if (Database.isCity(event.getResidenceName())) {
            Database.changeCitySize(pUUID,newArea,playerWorld, event.getResidenceName());
            Long totalSize = Residence.getInstance().getResidenceManager().getByName(event.getResidenceName()).getXZSize();
            p.sendMessage(preMessage + "§A New size of §6" + event.getResidenceName() + "§A is:§6 " + totalSize);

        }
        //§A Green §6 Gold
    }
}
 
开发者ID:L-E-iT,项目名称:Eldin-Land-Plugin,代码行数:54,代码来源:PlotChangeSizeListener.java



注:本文中的com.bekvon.bukkit.residence.Residence类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java JobGraph类代码示例发布时间:2022-05-22
下一篇:
Java Hierarchy类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap