mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-23 13:46:45 +01:00
704 lines
35 KiB
HTML
704 lines
35 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="sv">
|
|
<head>
|
|
<!-- Generated by javadoc (version 1.7.0_67) on Sun Nov 16 11:09:54 CET 2014 -->
|
|
<title>PlayerFunctions</title>
|
|
<meta name="date" content="2014-11-16">
|
|
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title = "PlayerFunctions";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar_top">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../com/intellectualcrafters/plot/util/Metrics.Plotter.html"
|
|
title="class in com.intellectualcrafters.plot.util"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html"
|
|
title="class in com.intellectualcrafters.plot.util"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?com/intellectualcrafters/plot/util/PlayerFunctions.html" target="_top">Frames</a>
|
|
</li>
|
|
<li><a href="PlayerFunctions.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if (window == top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle">com.intellectualcrafters.plot.util</div>
|
|
<h2 title="Class PlayerFunctions" class="title">Class PlayerFunctions</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>com.intellectualcrafters.plot.util.PlayerFunctions</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<hr>
|
|
<br>
|
|
<pre>public class <span class="strong">PlayerFunctions</span>
|
|
extends java.lang.Object</pre>
|
|
<div class="block">Functions involving players, plots and locations.</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_summary">
|
|
<!-- -->
|
|
</a>
|
|
|
|
<h3>Constructor Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0"
|
|
summary="Constructor Summary table, listing constructors, and an explanation">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a
|
|
href="../../../../com/intellectualcrafters/plot/util/PlayerFunctions.html#PlayerFunctions()">PlayerFunctions</a></strong>()</code>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_summary">
|
|
<!-- -->
|
|
</a>
|
|
|
|
<h3>Method Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0"
|
|
summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><strong><a
|
|
href="../../../../com/intellectualcrafters/plot/util/PlayerFunctions.html#getAllowedPlots(org.bukkit.entity.Player)">getAllowedPlots</a></strong>(org.bukkit.entity.Player p)</code>
|
|
|
|
<div class="block">Get the maximum number of plots a player is allowed</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a
|
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a
|
|
href="../../../../com/intellectualcrafters/plot/util/PlayerFunctions.html#getBottomPlot(org.bukkit.World,%20com.intellectualcrafters.plot.object.Plot)">getBottomPlot</a></strong>(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot)</code>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a
|
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a
|
|
href="../../../../com/intellectualcrafters/plot/util/PlayerFunctions.html#getCurrentPlot(org.bukkit.entity.Player)">getCurrentPlot</a></strong>(org.bukkit.entity.Player player)</code>
|
|
|
|
<div class="block">Returns the plot a player is currently in.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static java.util.ArrayList<<a
|
|
href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a>></code></td>
|
|
<td class="colLast"><code><strong><a
|
|
href="../../../../com/intellectualcrafters/plot/util/PlayerFunctions.html#getMaxPlotSelectionIds(org.bukkit.World,%20com.intellectualcrafters.plot.object.PlotId,%20com.intellectualcrafters.plot.object.PlotId)">getMaxPlotSelectionIds</a></strong>(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> pos1,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> pos2)</code>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><strong><a
|
|
href="../../../../com/intellectualcrafters/plot/util/PlayerFunctions.html#getPlayerPlotCount(org.bukkit.World,%20org.bukkit.entity.Player)">getPlayerPlotCount</a></strong>(org.bukkit.World world,
|
|
org.bukkit.entity.Player plr)</code>
|
|
|
|
<div class="block">Get the number of plots for a player</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static java.util.Set<<a
|
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a>></code></td>
|
|
<td class="colLast"><code><strong><a
|
|
href="../../../../com/intellectualcrafters/plot/util/PlayerFunctions.html#getPlayerPlots(org.bukkit.World,%20org.bukkit.entity.Player)">getPlayerPlots</a></strong>(org.bukkit.World world,
|
|
org.bukkit.entity.Player plr)</code>
|
|
|
|
<div class="block">Get the plots for a player</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a
|
|
href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a></code></td>
|
|
<td class="colLast"><code><strong><a
|
|
href="../../../../com/intellectualcrafters/plot/util/PlayerFunctions.html#getPlot(org.bukkit.Location)">getPlot</a></strong>(org.bukkit.Location loc)</code>
|
|
|
|
<div class="block">Returns the plot id at a location (mega plots are considered)</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a
|
|
href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a></code></td>
|
|
<td class="colLast"><code><strong><a
|
|
href="../../../../com/intellectualcrafters/plot/util/PlayerFunctions.html#getPlotAbs(org.bukkit.Location)">getPlotAbs</a></strong>(org.bukkit.Location loc)</code>
|
|
|
|
<div class="block">Returns the plot at a location (mega plots are not considered, all
|
|
plots
|
|
are treated as small plots)
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static java.util.Set<<a
|
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a>></code></td>
|
|
<td class="colLast"><code><strong><a
|
|
href="../../../../com/intellectualcrafters/plot/util/PlayerFunctions.html#getPlots()">getPlots</a></strong>()</code>
|
|
|
|
<div class="block"><strong>Deprecated.</strong> </div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static java.util.ArrayList<<a
|
|
href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a>></code></td>
|
|
<td class="colLast"><code><strong><a
|
|
href="../../../../com/intellectualcrafters/plot/util/PlayerFunctions.html#getPlotSelectionIds(org.bukkit.World,%20com.intellectualcrafters.plot.object.PlotId,%20com.intellectualcrafters.plot.object.PlotId)">getPlotSelectionIds</a></strong>(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> pos1,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> pos2)</code>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a
|
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a
|
|
href="../../../../com/intellectualcrafters/plot/util/PlayerFunctions.html#getTopPlot(org.bukkit.World,%20com.intellectualcrafters.plot.object.Plot)">getTopPlot</a></strong>(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot)</code>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static boolean</code></td>
|
|
<td class="colLast"><code><strong><a
|
|
href="../../../../com/intellectualcrafters/plot/util/PlayerFunctions.html#hasExpired(com.intellectualcrafters.plot.object.Plot)">hasExpired</a></strong>(<a
|
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot)</code>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static boolean</code></td>
|
|
<td class="colLast"><code><strong><a
|
|
href="../../../../com/intellectualcrafters/plot/util/PlayerFunctions.html#isInPlot(org.bukkit.entity.Player)">isInPlot</a></strong>(org.bukkit.entity.Player player)</code>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static boolean</code></td>
|
|
<td class="colLast"><code><strong><a
|
|
href="../../../../com/intellectualcrafters/plot/util/PlayerFunctions.html#sendMessage(org.bukkit.entity.Player,%20com.intellectualcrafters.plot.config.C,%20java.lang.String...)">sendMessage</a></strong>(org.bukkit.entity.Player plr,
|
|
<a href="../../../../com/intellectualcrafters/plot/config/C.html"
|
|
title="enum in com.intellectualcrafters.plot.config">C</a> c,
|
|
java.lang.String... args)</code>
|
|
|
|
<div class="block">Send a message to the player</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static boolean</code></td>
|
|
<td class="colLast"><code><strong><a
|
|
href="../../../../com/intellectualcrafters/plot/util/PlayerFunctions.html#sendMessage(org.bukkit.entity.Player,%20java.lang.String)">sendMessage</a></strong>(org.bukkit.entity.Player plr,
|
|
java.lang.String msg)</code>
|
|
|
|
<div class="block">Send a message to the player</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><strong><a
|
|
href="../../../../com/intellectualcrafters/plot/util/PlayerFunctions.html#sendMessageWrapped(org.bukkit.entity.Player,%20java.lang.String)">sendMessageWrapped</a></strong>(org.bukkit.entity.Player plr,
|
|
java.lang.String msg)</code>
|
|
|
|
<div class="block">\\previous\\</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><strong><a
|
|
href="../../../../com/intellectualcrafters/plot/util/PlayerFunctions.html#set(com.intellectualcrafters.plot.object.Plot)">set</a></strong>(<a
|
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot)</code>
|
|
|
|
<div class="block"><strong>Deprecated.</strong> </div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
|
|
<h3>Methods inherited from class java.lang.Object</h3>
|
|
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait,
|
|
wait</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_detail">
|
|
<!-- -->
|
|
</a>
|
|
|
|
<h3>Constructor Detail</h3>
|
|
<a name="PlayerFunctions()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>PlayerFunctions</h4>
|
|
<pre>public PlayerFunctions()</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_detail">
|
|
<!-- -->
|
|
</a>
|
|
|
|
<h3>Method Detail</h3>
|
|
<a name="isInPlot(org.bukkit.entity.Player)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isInPlot</h4>
|
|
<pre>public static boolean isInPlot(org.bukkit.entity.Player player)</pre>
|
|
<dl>
|
|
<dt><span class="strong">Parameters:</span></dt>
|
|
<dd><code>player</code> - player</dd>
|
|
<dt><span class="strong">Returns:</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="hasExpired(com.intellectualcrafters.plot.object.Plot)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hasExpired</h4>
|
|
<pre>public static boolean hasExpired(<a
|
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot)</pre>
|
|
<dl>
|
|
<dt><span class="strong">Parameters:</span></dt>
|
|
<dd><code>plot</code> - plot</dd>
|
|
<dt><span class="strong">Returns:</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPlotSelectionIds(org.bukkit.World, com.intellectualcrafters.plot.object.PlotId, com.intellectualcrafters.plot.object.PlotId)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPlotSelectionIds</h4>
|
|
<pre>public static java.util.ArrayList<<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a>> getPlotSelectionIds(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> pos1,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> pos2)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getMaxPlotSelectionIds(org.bukkit.World, com.intellectualcrafters.plot.object.PlotId, com.intellectualcrafters.plot.object.PlotId)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMaxPlotSelectionIds</h4>
|
|
<pre>public static java.util.ArrayList<<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a>> getMaxPlotSelectionIds(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> pos1,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> pos2)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getBottomPlot(org.bukkit.World, com.intellectualcrafters.plot.object.Plot)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBottomPlot</h4>
|
|
<pre>public static <a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> getBottomPlot(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getTopPlot(org.bukkit.World, com.intellectualcrafters.plot.object.Plot)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTopPlot</h4>
|
|
<pre>public static <a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> getTopPlot(org.bukkit.World world,
|
|
<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getPlotAbs(org.bukkit.Location)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPlotAbs</h4>
|
|
<pre>public static <a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> getPlotAbs(org.bukkit.Location loc)</pre>
|
|
<div class="block">Returns the plot at a location (mega plots are not considered, all plots
|
|
are treated as small plots)
|
|
</div>
|
|
<dl>
|
|
<dt><span class="strong">Parameters:</span></dt>
|
|
<dd><code>loc</code> -</dd>
|
|
<dt><span class="strong">Returns:</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPlot(org.bukkit.Location)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPlot</h4>
|
|
<pre>public static <a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> getPlot(org.bukkit.Location loc)</pre>
|
|
<div class="block">Returns the plot id at a location (mega plots are considered)</div>
|
|
<dl>
|
|
<dt><span class="strong">Parameters:</span></dt>
|
|
<dd><code>loc</code> -</dd>
|
|
<dt><span class="strong">Returns:</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCurrentPlot(org.bukkit.entity.Player)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCurrentPlot</h4>
|
|
<pre>public static <a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> getCurrentPlot(org.bukkit.entity.Player player)</pre>
|
|
<div class="block">Returns the plot a player is currently in.</div>
|
|
<dl>
|
|
<dt><span class="strong">Parameters:</span></dt>
|
|
<dd><code>player</code> -</dd>
|
|
<dt><span class="strong">Returns:</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="set(com.intellectualcrafters.plot.object.Plot)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>set</h4>
|
|
<pre>@Deprecated
|
|
public static void set(<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a> plot)</pre>
|
|
<div class="block"><span class="strong">Deprecated.</span> <i></i></div>
|
|
<div class="block">Updates a given plot with another instance</div>
|
|
<dl>
|
|
<dt><span class="strong">Parameters:</span></dt>
|
|
<dd><code>plot</code> -</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPlayerPlots(org.bukkit.World, org.bukkit.entity.Player)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPlayerPlots</h4>
|
|
<pre>public static java.util.Set<<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a>> getPlayerPlots(org.bukkit.World world,
|
|
org.bukkit.entity.Player plr)</pre>
|
|
<div class="block">Get the plots for a player</div>
|
|
<dl>
|
|
<dt><span class="strong">Parameters:</span></dt>
|
|
<dd><code>plr</code> -</dd>
|
|
<dt><span class="strong">Returns:</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPlayerPlotCount(org.bukkit.World, org.bukkit.entity.Player)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPlayerPlotCount</h4>
|
|
<pre>public static int getPlayerPlotCount(org.bukkit.World world,
|
|
org.bukkit.entity.Player plr)</pre>
|
|
<div class="block">Get the number of plots for a player</div>
|
|
<dl>
|
|
<dt><span class="strong">Parameters:</span></dt>
|
|
<dd><code>plr</code> -</dd>
|
|
<dt><span class="strong">Returns:</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getAllowedPlots(org.bukkit.entity.Player)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getAllowedPlots</h4>
|
|
<pre>public static int getAllowedPlots(org.bukkit.entity.Player p)</pre>
|
|
<div class="block">Get the maximum number of plots a player is allowed</div>
|
|
<dl>
|
|
<dt><span class="strong">Parameters:</span></dt>
|
|
<dd><code>p</code> -</dd>
|
|
<dt><span class="strong">Returns:</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPlots()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPlots</h4>
|
|
<pre>@Deprecated
|
|
public static java.util.Set<<a href="../../../../com/intellectualcrafters/plot/object/Plot.html"
|
|
title="class in com.intellectualcrafters.plot.object">Plot</a>> getPlots()</pre>
|
|
<div class="block"><span class="strong">Deprecated.</span> <i></i></div>
|
|
<dl>
|
|
<dt><span class="strong">Returns:</span></dt>
|
|
<dd>PlotMain.getPlots();</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="sendMessageWrapped(org.bukkit.entity.Player, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>sendMessageWrapped</h4>
|
|
<pre>public static void sendMessageWrapped(org.bukkit.entity.Player plr,
|
|
java.lang.String msg)</pre>
|
|
<div class="block">\\previous\\</div>
|
|
<dl>
|
|
<dt><span class="strong">Parameters:</span></dt>
|
|
<dd><code>plr</code> -</dd>
|
|
<dd><code>msg</code> - Was used to wrap the chat client length (Packets out--)</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="sendMessage(org.bukkit.entity.Player, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>sendMessage</h4>
|
|
<pre>public static boolean sendMessage(org.bukkit.entity.Player plr,
|
|
java.lang.String msg)</pre>
|
|
<div class="block">Send a message to the player</div>
|
|
<dl>
|
|
<dt><span class="strong">Parameters:</span></dt>
|
|
<dd><code>plr</code> - Player to recieve message</dd>
|
|
<dd><code>msg</code> - Message to send</dd>
|
|
<dt><span class="strong">Returns:</span></dt>
|
|
<dd>true
|
|
Can be used in things such as commands (return PlayerFunctions.sendMessage(...))
|
|
</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="sendMessage(org.bukkit.entity.Player, com.intellectualcrafters.plot.config.C, java.lang.String...)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>sendMessage</h4>
|
|
<pre>public static boolean sendMessage(org.bukkit.entity.Player plr,
|
|
<a href="../../../../com/intellectualcrafters/plot/config/C.html"
|
|
title="enum in com.intellectualcrafters.plot.config">C</a> c,
|
|
java.lang.String... args)</pre>
|
|
<div class="block">Send a message to the player</div>
|
|
<dl>
|
|
<dt><span class="strong">Parameters:</span></dt>
|
|
<dd><code>plr</code> - Player to recieve message</dd>
|
|
<dd><code>c</code> - Caption to send</dd>
|
|
<dt><span class="strong">Returns:</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar_bottom">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../com/intellectualcrafters/plot/util/Metrics.Plotter.html"
|
|
title="class in com.intellectualcrafters.plot.util"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../../com/intellectualcrafters/plot/util/PlotHelper.html"
|
|
title="class in com.intellectualcrafters.plot.util"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?com/intellectualcrafters/plot/util/PlayerFunctions.html" target="_top">Frames</a>
|
|
</li>
|
|
<li><a href="PlayerFunctions.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if (window == top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</body>
|
|
</html>
|