mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-27 07:36:45 +01:00
967 lines
39 KiB
HTML
967 lines
39 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:55 CET 2014 -->
|
||
|
<title>Plot</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 = "Plot";
|
||
|
}
|
||
|
//-->
|
||
|
</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/object/BlockWrapper.html"
|
||
|
title="class in com.intellectualcrafters.plot.object"><span class="strong">Prev Class</span></a></li>
|
||
|
<li><a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
|
||
|
title="class in com.intellectualcrafters.plot.object"><span class="strong">Next Class</span></a></li>
|
||
|
</ul>
|
||
|
<ul class="navList">
|
||
|
<li><a href="../../../../index.html?com/intellectualcrafters/plot/object/Plot.html" target="_top">Frames</a>
|
||
|
</li>
|
||
|
<li><a href="Plot.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><a href="#field_summary">Field</a> | </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><a href="#field_detail">Field</a> | </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.object</div>
|
||
|
<h2 title="Class Plot" class="title">Class Plot</h2>
|
||
|
</div>
|
||
|
<div class="contentContainer">
|
||
|
<ul class="inheritance">
|
||
|
<li>java.lang.Object</li>
|
||
|
<li>
|
||
|
<ul class="inheritance">
|
||
|
<li>com.intellectualcrafters.plot.object.Plot</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<div class="description">
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<dl>
|
||
|
<dt>All Implemented Interfaces:</dt>
|
||
|
<dd>java.lang.Cloneable</dd>
|
||
|
</dl>
|
||
|
<hr>
|
||
|
<br>
|
||
|
<pre>public class <span class="strong">Plot</span>
|
||
|
extends java.lang.Object
|
||
|
implements java.lang.Cloneable</pre>
|
||
|
<div class="block">The plot class</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="summary">
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<!-- =========== FIELD SUMMARY =========== -->
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList"><a name="field_summary">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
|
||
|
<h3>Field Summary</h3>
|
||
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0"
|
||
|
summary="Field Summary table, listing fields, and an explanation">
|
||
|
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||
|
<tr>
|
||
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
||
|
<th class="colLast" scope="col">Field and Description</th>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>boolean</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#countsTowardsMax">countsTowardsMax</a></strong></code>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>boolean</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#delete">delete</a></strong></code>
|
||
|
|
||
|
<div class="block">Delete on next save cycle?</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>java.util.ArrayList<java.util.UUID></code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#denied">denied</a></strong></code>
|
||
|
|
||
|
<div class="block">List of denied players</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>boolean</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#deny_entry">deny_entry</a></strong></code>
|
||
|
|
||
|
<div class="block">Deny Entry</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>boolean</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#hasChanged">hasChanged</a></strong></code>
|
||
|
|
||
|
<div class="block">Has the plot changed since the last save cycle?</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>java.util.ArrayList<java.util.UUID></code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#helpers">helpers</a></strong></code>
|
||
|
|
||
|
<div class="block">List of helpers (with plot permissions)</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><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/object/Plot.html#id">id</a></strong></code>
|
||
|
|
||
|
<div class="block">plot ID</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>java.util.UUID</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#owner">owner</a></strong></code>
|
||
|
|
||
|
<div class="block">plot owner</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../com/intellectualcrafters/plot/object/PlotSettings.html"
|
||
|
title="class in com.intellectualcrafters.plot.object">PlotSettings</a></code>
|
||
|
</td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#settings">settings</a></strong></code>
|
||
|
|
||
|
<div class="block">External settings class</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>java.util.ArrayList<java.util.UUID></code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#trusted">trusted</a></strong></code>
|
||
|
|
||
|
<div class="block">List of trusted users (with plot permissions)</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>java.lang.String</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#world">world</a></strong></code>
|
||
|
|
||
|
<div class="block">plot world</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<!-- ======== 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/object/Plot.html#Plot(com.intellectualcrafters.plot.object.PlotId,%20java.util.UUID,%20org.bukkit.block.Biome,%20java.util.ArrayList,%20java.util.ArrayList,%20java.util.ArrayList,%20java.lang.String,%20com.intellectualcrafters.plot.object.PlotHomePosition,%20com.intellectualcrafters.plot.flag.Flag[],%20java.lang.String,%20boolean[])">Plot</a></strong>(<a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
||
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> id,
|
||
|
java.util.UUID owner,
|
||
|
org.bukkit.block.Biome plotBiome,
|
||
|
java.util.ArrayList<java.util.UUID> helpers,
|
||
|
java.util.ArrayList<java.util.UUID> trusted,
|
||
|
java.util.ArrayList<java.util.UUID> denied,
|
||
|
java.lang.String alias,
|
||
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotHomePosition.html"
|
||
|
title="enum in com.intellectualcrafters.plot.object">PlotHomePosition</a> position,
|
||
|
<a href="../../../../com/intellectualcrafters/plot/flag/Flag.html"
|
||
|
title="class in com.intellectualcrafters.plot.flag">Flag</a>[] flags,
|
||
|
java.lang.String world,
|
||
|
boolean[] merged)</code>
|
||
|
|
||
|
<div class="block">Constructor for saved plots</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colOne"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#Plot(com.intellectualcrafters.plot.object.PlotId,%20java.util.UUID,%20org.bukkit.block.Biome,%20java.util.ArrayList,%20java.util.ArrayList,%20java.lang.String)">Plot</a></strong>(<a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
||
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> id,
|
||
|
java.util.UUID owner,
|
||
|
org.bukkit.block.Biome plotBiome,
|
||
|
java.util.ArrayList<java.util.UUID> helpers,
|
||
|
java.util.ArrayList<java.util.UUID> denied,
|
||
|
java.lang.String world)</code>
|
||
|
|
||
|
<div class="block">Primary constructor</div>
|
||
|
</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>void</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#addDenied(java.util.UUID)">addDenied</a></strong>(java.util.UUID uuid)</code>
|
||
|
|
||
|
<div class="block">Deny someone (use DBFunc.addDenied() as well)</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>void</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#addHelper(java.util.UUID)">addHelper</a></strong>(java.util.UUID uuid)</code>
|
||
|
|
||
|
<div class="block">Add someone as a helper (use DBFunc as well)</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>void</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#addTrusted(java.util.UUID)">addTrusted</a></strong>(java.util.UUID uuid)</code>
|
||
|
|
||
|
<div class="block">Add someone as a trusted user (use DBFunc as well)</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>void</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#clear(org.bukkit.entity.Player)">clear</a></strong>(org.bukkit.entity.Player plr)</code>
|
||
|
|
||
|
<div class="block">Clear a plot</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#clone()">clone</a></strong>()</code>
|
||
|
|
||
|
<div class="block">Get a clone of the plot</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>boolean</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#deny_entry(org.bukkit.entity.Player)">deny_entry</a></strong>(org.bukkit.entity.Player player)</code>
|
||
|
|
||
|
<div class="block">Should the player be allowed to enter?</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>boolean</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#equals(java.lang.Object)">equals</a></strong>(java.lang.Object obj)</code>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>java.lang.String</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#getDisplayName()">getDisplayName</a></strong>()</code>
|
||
|
|
||
|
<div class="block">Get plot display name</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><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/object/Plot.html#getId()">getId</a></strong>()</code>
|
||
|
|
||
|
<div class="block">Get the plot ID</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>java.util.UUID</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#getOwner()">getOwner</a></strong>()</code>
|
||
|
|
||
|
<div class="block">Get the UUID of the owner</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>org.bukkit.World</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#getWorld()">getWorld</a></strong>()</code>
|
||
|
|
||
|
<div class="block">Get the plot World</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>int</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#hashCode()">hashCode</a></strong>()</code>
|
||
|
|
||
|
<div class="block">Get the plot hashcode</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>boolean</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#hasOwner()">hasOwner</a></strong>()</code>
|
||
|
|
||
|
<div class="block">Check if the plot has a set owner</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>boolean</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#hasRights(org.bukkit.entity.Player)">hasRights</a></strong>(org.bukkit.entity.Player player)</code>
|
||
|
|
||
|
<div class="block">Check if the player is either the owner or on the helpers list</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>void</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#removeDenied(java.util.UUID)">removeDenied</a></strong>(java.util.UUID uuid)</code>
|
||
|
|
||
|
<div class="block">Remove a denied player (use DBFunc as well)</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>void</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#removeHelper(java.util.UUID)">removeHelper</a></strong>(java.util.UUID uuid)</code>
|
||
|
|
||
|
<div class="block">Remove a helper (use DBFunc as well)</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>void</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#removeTrusted(java.util.UUID)">removeTrusted</a></strong>(java.util.UUID uuid)</code>
|
||
|
|
||
|
<div class="block">Remove a trusted user (use DBFunc as well)</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>void</code></td>
|
||
|
<td class="colLast"><code><strong><a
|
||
|
href="../../../../com/intellectualcrafters/plot/object/Plot.html#setOwner(org.bukkit.entity.Player)">setOwner</a></strong>(org.bukkit.entity.Player player)</code>
|
||
|
|
||
|
<div class="block">Set the owner</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>finalize, getClass, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="details">
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<!-- ============ FIELD DETAIL =========== -->
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList"><a name="field_detail">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
|
||
|
<h3>Field Detail</h3>
|
||
|
<a name="id">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>id</h4>
|
||
|
<pre>public <a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
||
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> id</pre>
|
||
|
<div class="block">plot ID</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="world">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>world</h4>
|
||
|
<pre>public java.lang.String world</pre>
|
||
|
<div class="block">plot world</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="owner">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>owner</h4>
|
||
|
<pre>public java.util.UUID owner</pre>
|
||
|
<div class="block">plot owner</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="deny_entry">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>deny_entry</h4>
|
||
|
<pre>public boolean deny_entry</pre>
|
||
|
<div class="block">Deny Entry</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="helpers">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>helpers</h4>
|
||
|
<pre>public java.util.ArrayList<java.util.UUID> helpers</pre>
|
||
|
<div class="block">List of helpers (with plot permissions)</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="trusted">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>trusted</h4>
|
||
|
<pre>public java.util.ArrayList<java.util.UUID> trusted</pre>
|
||
|
<div class="block">List of trusted users (with plot permissions)</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="denied">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>denied</h4>
|
||
|
<pre>public java.util.ArrayList<java.util.UUID> denied</pre>
|
||
|
<div class="block">List of denied players</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="settings">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>settings</h4>
|
||
|
<pre>public <a href="../../../../com/intellectualcrafters/plot/object/PlotSettings.html"
|
||
|
title="class in com.intellectualcrafters.plot.object">PlotSettings</a> settings</pre>
|
||
|
<div class="block">External settings class</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="delete">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>delete</h4>
|
||
|
<pre>public boolean delete</pre>
|
||
|
<div class="block">Delete on next save cycle?</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="hasChanged">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>hasChanged</h4>
|
||
|
<pre>public boolean hasChanged</pre>
|
||
|
<div class="block">Has the plot changed since the last save cycle?</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="countsTowardsMax">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockListLast">
|
||
|
<li class="blockList">
|
||
|
<h4>countsTowardsMax</h4>
|
||
|
<pre>public boolean countsTowardsMax</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList"><a name="constructor_detail">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
|
||
|
<h3>Constructor Detail</h3>
|
||
|
<a name="Plot(com.intellectualcrafters.plot.object.PlotId, java.util.UUID, org.bukkit.block.Biome, java.util.ArrayList, java.util.ArrayList, java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>Plot</h4>
|
||
|
<pre>public Plot(<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
||
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> id,
|
||
|
java.util.UUID owner,
|
||
|
org.bukkit.block.Biome plotBiome,
|
||
|
java.util.ArrayList<java.util.UUID> helpers,
|
||
|
java.util.ArrayList<java.util.UUID> denied,
|
||
|
java.lang.String world)</pre>
|
||
|
<div class="block">Primary constructor</div>
|
||
|
<dl>
|
||
|
<dt><span class="strong">Parameters:</span></dt>
|
||
|
<dd><code>id</code> -</dd>
|
||
|
<dd><code>owner</code> -</dd>
|
||
|
<dd><code>plotBiome</code> -</dd>
|
||
|
<dd><code>helpers</code> -</dd>
|
||
|
<dd><code>denied</code> -</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="Plot(com.intellectualcrafters.plot.object.PlotId, java.util.UUID, org.bukkit.block.Biome, java.util.ArrayList, java.util.ArrayList, java.util.ArrayList, java.lang.String, com.intellectualcrafters.plot.object.PlotHomePosition, com.intellectualcrafters.plot.flag.Flag[], java.lang.String, boolean[])">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockListLast">
|
||
|
<li class="blockList">
|
||
|
<h4>Plot</h4>
|
||
|
<pre>public Plot(<a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
||
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> id,
|
||
|
java.util.UUID owner,
|
||
|
org.bukkit.block.Biome plotBiome,
|
||
|
java.util.ArrayList<java.util.UUID> helpers,
|
||
|
java.util.ArrayList<java.util.UUID> trusted,
|
||
|
java.util.ArrayList<java.util.UUID> denied,
|
||
|
java.lang.String alias,
|
||
|
<a href="../../../../com/intellectualcrafters/plot/object/PlotHomePosition.html"
|
||
|
title="enum in com.intellectualcrafters.plot.object">PlotHomePosition</a> position,
|
||
|
<a href="../../../../com/intellectualcrafters/plot/flag/Flag.html"
|
||
|
title="class in com.intellectualcrafters.plot.flag">Flag</a>[] flags,
|
||
|
java.lang.String world,
|
||
|
boolean[] merged)</pre>
|
||
|
<div class="block">Constructor for saved plots</div>
|
||
|
<dl>
|
||
|
<dt><span class="strong">Parameters:</span></dt>
|
||
|
<dd><code>id</code> -</dd>
|
||
|
<dd><code>owner</code> -</dd>
|
||
|
<dd><code>plotBiome</code> -</dd>
|
||
|
<dd><code>helpers</code> -</dd>
|
||
|
<dd><code>denied</code> -</dd>
|
||
|
<dd><code>merged</code> -</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<!-- ============ METHOD DETAIL ========== -->
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList"><a name="method_detail">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
|
||
|
<h3>Method Detail</h3>
|
||
|
<a name="hasOwner()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>hasOwner</h4>
|
||
|
<pre>public boolean hasOwner()</pre>
|
||
|
<div class="block">Check if the plot has a set owner</div>
|
||
|
<dl>
|
||
|
<dt><span class="strong">Returns:</span></dt>
|
||
|
<dd>false if there is no owner</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="hasRights(org.bukkit.entity.Player)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>hasRights</h4>
|
||
|
<pre>public boolean hasRights(org.bukkit.entity.Player player)</pre>
|
||
|
<div class="block">Check if the player is either the owner or on the helpers list</div>
|
||
|
<dl>
|
||
|
<dt><span class="strong">Parameters:</span></dt>
|
||
|
<dd><code>player</code> -</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt>
|
||
|
<dd>true if the player is added as a helper or is the owner</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="deny_entry(org.bukkit.entity.Player)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>deny_entry</h4>
|
||
|
<pre>public boolean deny_entry(org.bukkit.entity.Player player)</pre>
|
||
|
<div class="block">Should the player be allowed to enter?</div>
|
||
|
<dl>
|
||
|
<dt><span class="strong">Parameters:</span></dt>
|
||
|
<dd><code>player</code> -</dd>
|
||
|
<dt><span class="strong">Returns:</span></dt>
|
||
|
<dd>false if the player is allowed to enter</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getOwner()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getOwner</h4>
|
||
|
<pre>public java.util.UUID getOwner()</pre>
|
||
|
<div class="block">Get the UUID of the owner</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setOwner(org.bukkit.entity.Player)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setOwner</h4>
|
||
|
<pre>public void setOwner(org.bukkit.entity.Player player)</pre>
|
||
|
<div class="block">Set the owner</div>
|
||
|
<dl>
|
||
|
<dt><span class="strong">Parameters:</span></dt>
|
||
|
<dd><code>player</code> -</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getId()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getId</h4>
|
||
|
<pre>public <a href="../../../../com/intellectualcrafters/plot/object/PlotId.html"
|
||
|
title="class in com.intellectualcrafters.plot.object">PlotId</a> getId()</pre>
|
||
|
<div class="block">Get the plot ID</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getWorld()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getWorld</h4>
|
||
|
<pre>public org.bukkit.World getWorld()</pre>
|
||
|
<div class="block">Get the plot World</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="clone()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>clone</h4>
|
||
|
<pre>public java.lang.Object clone()
|
||
|
throws java.lang.CloneNotSupportedException</pre>
|
||
|
<div class="block">Get a clone of the plot</div>
|
||
|
<dl>
|
||
|
<dt><strong>Overrides:</strong></dt>
|
||
|
<dd><code>clone</code> in class <code>java.lang.Object</code></dd>
|
||
|
<dt><span class="strong">Returns:</span></dt>
|
||
|
<dd></dd>
|
||
|
<dt><span class="strong">Throws:</span></dt>
|
||
|
<dd><code>java.lang.CloneNotSupportedException</code></dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="addDenied(java.util.UUID)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>addDenied</h4>
|
||
|
<pre>public void addDenied(java.util.UUID uuid)</pre>
|
||
|
<div class="block">Deny someone (use DBFunc.addDenied() as well)</div>
|
||
|
<dl>
|
||
|
<dt><span class="strong">Parameters:</span></dt>
|
||
|
<dd><code>uuid</code> -</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="addHelper(java.util.UUID)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>addHelper</h4>
|
||
|
<pre>public void addHelper(java.util.UUID uuid)</pre>
|
||
|
<div class="block">Add someone as a helper (use DBFunc as well)</div>
|
||
|
<dl>
|
||
|
<dt><span class="strong">Parameters:</span></dt>
|
||
|
<dd><code>uuid</code> -</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="addTrusted(java.util.UUID)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>addTrusted</h4>
|
||
|
<pre>public void addTrusted(java.util.UUID uuid)</pre>
|
||
|
<div class="block">Add someone as a trusted user (use DBFunc as well)</div>
|
||
|
<dl>
|
||
|
<dt><span class="strong">Parameters:</span></dt>
|
||
|
<dd><code>uuid</code> -</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getDisplayName()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getDisplayName</h4>
|
||
|
<pre>public java.lang.String getDisplayName()</pre>
|
||
|
<div class="block">Get plot display name</div>
|
||
|
<dl>
|
||
|
<dt><span class="strong">Returns:</span></dt>
|
||
|
<dd>alias if set, else id</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="removeDenied(java.util.UUID)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>removeDenied</h4>
|
||
|
<pre>public void removeDenied(java.util.UUID uuid)</pre>
|
||
|
<div class="block">Remove a denied player (use DBFunc as well)</div>
|
||
|
<dl>
|
||
|
<dt><span class="strong">Parameters:</span></dt>
|
||
|
<dd><code>uuid</code> -</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="removeHelper(java.util.UUID)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>removeHelper</h4>
|
||
|
<pre>public void removeHelper(java.util.UUID uuid)</pre>
|
||
|
<div class="block">Remove a helper (use DBFunc as well)</div>
|
||
|
<dl>
|
||
|
<dt><span class="strong">Parameters:</span></dt>
|
||
|
<dd><code>uuid</code> -</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="removeTrusted(java.util.UUID)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>removeTrusted</h4>
|
||
|
<pre>public void removeTrusted(java.util.UUID uuid)</pre>
|
||
|
<div class="block">Remove a trusted user (use DBFunc as well)</div>
|
||
|
<dl>
|
||
|
<dt><span class="strong">Parameters:</span></dt>
|
||
|
<dd><code>uuid</code> -</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="clear(org.bukkit.entity.Player)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>clear</h4>
|
||
|
<pre>public void clear(org.bukkit.entity.Player plr)</pre>
|
||
|
<div class="block">Clear a plot</div>
|
||
|
<dl>
|
||
|
<dt><span class="strong">Parameters:</span></dt>
|
||
|
<dd><code>plr</code> - initiator</dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="equals(java.lang.Object)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>equals</h4>
|
||
|
<pre>public boolean equals(java.lang.Object obj)</pre>
|
||
|
<dl>
|
||
|
<dt><strong>Overrides:</strong></dt>
|
||
|
<dd><code>equals</code> in class <code>java.lang.Object</code></dd>
|
||
|
</dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="hashCode()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockListLast">
|
||
|
<li class="blockList">
|
||
|
<h4>hashCode</h4>
|
||
|
<pre>public int hashCode()</pre>
|
||
|
<div class="block">Get the plot hashcode</div>
|
||
|
<dl>
|
||
|
<dt><strong>Overrides:</strong></dt>
|
||
|
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
||
|
<dt><span class="strong">Returns:</span></dt>
|
||
|
<dd>integer. You can easily make this a character array <br>
|
||
|
xI = c[0]
|
||
|
x = c[1 -> xI...]
|
||
|
yI = c[xI ... + 1]
|
||
|
y = c[xI ... + 2 -> yI ...]
|
||
|
</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/object/BlockWrapper.html"
|
||
|
title="class in com.intellectualcrafters.plot.object"><span class="strong">Prev Class</span></a></li>
|
||
|
<li><a href="../../../../com/intellectualcrafters/plot/object/PlotBlock.html"
|
||
|
title="class in com.intellectualcrafters.plot.object"><span class="strong">Next Class</span></a></li>
|
||
|
</ul>
|
||
|
<ul class="navList">
|
||
|
<li><a href="../../../../index.html?com/intellectualcrafters/plot/object/Plot.html" target="_top">Frames</a>
|
||
|
</li>
|
||
|
<li><a href="Plot.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><a href="#field_summary">Field</a> | </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><a href="#field_detail">Field</a> | </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>
|