<!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:53 CET 2014 --> <title>PlotMain</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 = "PlotMain"; } //--> </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>Prev Class</li> <li>Next Class</li> </ul> <ul class="navList"> <li><a href="../../../index.html?com/intellectualcrafters/plot/PlotMain.html" target="_top">Frames</a></li> <li><a href="PlotMain.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</div> <h2 title="Class PlotMain" class="title">Class PlotMain</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li>org.bukkit.plugin.PluginBase</li> <li> <ul class="inheritance"> <li>org.bukkit.plugin.java.JavaPlugin</li> <li> <ul class="inheritance"> <li>com.intellectualcrafters.plot.PlotMain</li> </ul> </li> </ul> </li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>All Implemented Interfaces:</dt> <dd>org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor, org.bukkit.plugin.Plugin </dd> </dl> <hr> <br> <pre>public class <span class="strong">PlotMain</span> extends org.bukkit.plugin.java.JavaPlugin</pre> <div class="block">PlotMain 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>static java.lang.String</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#ADMIN_PERMISSION">ADMIN_PERMISSION</a></strong></code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static me.confuser.barapi.BarAPI</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#barAPI">barAPI</a></strong></code> <div class="block">BarAPI object</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static java.util.HashMap<org.bukkit.Material,java.lang.String></code> </td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#booleanFlags">booleanFlags</a></strong></code> <div class="block">Boolean Flags (material)</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static org.bukkit.configuration.file.YamlConfiguration</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#config">config</a></strong></code> <div class="block">The main configuration file</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static java.io.File</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#configFile">configFile</a></strong></code> <div class="block">settings.properties</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static java.sql.Connection</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#connection">connection</a></strong></code> <div class="block">MySQL Connection</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static net.milkbowl.vault.economy.Economy</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#economy">economy</a></strong></code> <div class="block">Economy Object (vault)</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static org.bukkit.configuration.file.YamlConfiguration</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#storage">storage</a></strong></code> <div class="block">Contains storage options</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#storage_ver">storage_ver</a></strong></code> <div class="block">Storage version</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static java.io.File</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#storageFile">storageFile</a></strong></code> <div class="block">storage.properties</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#useEconomy">useEconomy</a></strong></code> <div class="block">Use Economy?</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static com.sk89q.worldedit.bukkit.WorldEditPlugin</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#worldEdit">worldEdit</a></strong></code> <div class="block">WorldEdit object</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static com.sk89q.worldguard.bukkit.WorldGuardPlugin</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#worldGuard">worldGuard</a></strong></code> <div class="block">World Guard Object</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../com/intellectualcrafters/plot/listeners/WorldGuardListener.html" title="class in com.intellectualcrafters.plot.listeners">WorldGuardListener</a></code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#worldGuardListener">worldGuardListener</a></strong></code> <div class="block">World Guard Listener</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/PlotMain.html#PlotMain()">PlotMain</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 void</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#addPlotWorld(java.lang.String,%20com.intellectualcrafters.plot.object.PlotWorld,%20com.intellectualcrafters.plot.object.PlotManager)">addPlotWorld</a></strong>(java.lang.String world, <a href="../../../com/intellectualcrafters/plot/object/PlotWorld.html" title="class in com.intellectualcrafters.plot.object">PlotWorld</a> plotworld, <a href="../../../com/intellectualcrafters/plot/object/PlotManager.html" title="class in com.intellectualcrafters.plot.object">PlotManager</a> manager)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#Broadcast(com.intellectualcrafters.plot.config.C)">Broadcast</a></strong>(<a href="../../../com/intellectualcrafters/plot/config/C.html" title="enum in com.intellectualcrafters.plot.config">C</a> c)</code> <div class="block">Broadcast publicly</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#BroadcastWithPerms(com.intellectualcrafters.plot.config.C)">BroadcastWithPerms</a></strong>(<a href="../../../com/intellectualcrafters/plot/config/C.html" title="enum in com.intellectualcrafters.plot.config">C</a> c)</code> <div class="block">Broadcast a message to all admins</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#checkForExpiredPlots()">checkForExpiredPlots</a></strong>()</code> <div class="block">Check for expired plots</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#configs()">configs</a></strong>()</code> <div class="block">Load configuration files</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#createConfiguration(com.intellectualcrafters.plot.object.PlotWorld)">createConfiguration</a></strong>(<a href="../../../com/intellectualcrafters/plot/object/PlotWorld.html" title="class in com.intellectualcrafters.plot.object">PlotWorld</a> plotworld)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static java.util.HashMap<java.lang.String,java.util.HashMap<<a href="../../../com/intellectualcrafters/plot/object/PlotId.html" title="class in com.intellectualcrafters.plot.object">PlotId</a>,<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/PlotMain.html#getAllPlotsRaw()">getAllPlotsRaw</a></strong>()</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static java.sql.Connection</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#getConnection()">getConnection</a></strong>()</code> <div class="block">Get MySQL Connection</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>org.bukkit.generator.ChunkGenerator</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#getDefaultWorldGenerator(java.lang.String,%20java.lang.String)">getDefaultWorldGenerator</a></strong>(java.lang.String world, java.lang.String id)</code> <div class="block">!!</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static long</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#getLastPlayed(java.util.UUID)">getLastPlayed</a></strong>(java.util.UUID uuid)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../com/intellectualcrafters/plot/PlotMain.html" title="class in com.intellectualcrafters.plot">PlotMain</a></code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#getMain()">getMain</a></strong>()</code> <div class="block">Returns the main class.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../com/intellectualcrafters/plot/object/PlotManager.html" title="class in com.intellectualcrafters.plot.object">PlotManager</a></code> </td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#getPlotManager(java.lang.String)">getPlotManager</a></strong>(java.lang.String world)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../com/intellectualcrafters/plot/object/PlotManager.html" title="class in com.intellectualcrafters.plot.object">PlotManager</a></code> </td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#getPlotManager(org.bukkit.World)">getPlotManager</a></strong>(org.bukkit.World world)</code> </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/PlotMain.html#getPlots()">getPlots</a></strong>()</code> <div class="block">Get all 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/PlotMain.html#getPlots(org.bukkit.entity.Player)">getPlots</a></strong>(org.bukkit.entity.Player player)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static java.util.HashMap<<a href="../../../com/intellectualcrafters/plot/object/PlotId.html" title="class in com.intellectualcrafters.plot.object">PlotId</a>,<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/PlotMain.html#getPlots(java.lang.String)">getPlots</a></strong>(java.lang.String world)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static java.util.HashMap<<a href="../../../com/intellectualcrafters/plot/object/PlotId.html" title="class in com.intellectualcrafters.plot.object">PlotId</a>,<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/PlotMain.html#getPlots(org.bukkit.World)">getPlots</a></strong>(org.bukkit.World world)</code> </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/PlotMain.html#getPlots(org.bukkit.World,%20org.bukkit.entity.Player)">getPlots</a></strong>(org.bukkit.World world, org.bukkit.entity.Player player)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static java.util.LinkedHashSet<<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/PlotMain.html#getPlotsSorted()">getPlotsSorted</a></strong>()</code> <div class="block">Get a sorted list of plots</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static java.lang.String[]</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#getPlotWorlds()">getPlotWorlds</a></strong>()</code> <div class="block">get all plot worlds</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static java.lang.String[]</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#getPlotWorldsString()">getPlotWorldsString</a></strong>()</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../com/intellectualcrafters/plot/uuid/UUIDSaver.html" title="class in com.intellectualcrafters.plot.uuid">UUIDSaver</a></code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#getUUIDSaver()">getUUIDSaver</a></strong>()</code> <div class="block">Get the uuid saver</div> </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/PlotMain.html#getWorldPlots(org.bukkit.World)">getWorldPlots</a></strong>(org.bukkit.World world)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../com/intellectualcrafters/plot/object/PlotWorld.html" title="class in com.intellectualcrafters.plot.object">PlotWorld</a></code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#getWorldSettings(java.lang.String)">getWorldSettings</a></strong>(java.lang.String world)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../com/intellectualcrafters/plot/object/PlotWorld.html" title="class in com.intellectualcrafters.plot.object">PlotWorld</a></code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#getWorldSettings(org.bukkit.World)">getWorldSettings</a></strong>(org.bukkit.World world)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#hasPermission(org.bukkit.entity.Player,%20java.lang.String)">hasPermission</a></strong>(org.bukkit.entity.Player player, java.lang.String perm)</code> <div class="block">Check a player for a permission<br> - Op has all permissions <br> - checks for '*' nodes </div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#hasPermissionRange(org.bukkit.entity.Player,%20java.lang.String,%20int)">hasPermissionRange</a></strong>(org.bukkit.entity.Player player, java.lang.String stub, int range)</code> <div class="block">Check a range of permissions e.g.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#hasPermissions(org.bukkit.entity.Player,%20java.lang.String[])">hasPermissions</a></strong>(org.bukkit.entity.Player player, java.lang.String[] perms)</code> <div class="block">Check a player for a permission<br> - Op has all permissions <br> - checks for '*' nodes </div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#isPlotWorld(java.lang.String)">isPlotWorld</a></strong>(java.lang.String world)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#isPlotWorld(org.bukkit.World)">isPlotWorld</a></strong>(org.bukkit.World world)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#killAllEntities()">killAllEntities</a></strong>()</code> <div class="block">Kill all entities on roads</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#loadWorld(java.lang.String,%20org.bukkit.generator.ChunkGenerator)">loadWorld</a></strong>(java.lang.String world, org.bukkit.generator.ChunkGenerator generator)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#loadWorld(org.bukkit.World)">loadWorld</a></strong>(org.bukkit.World world)</code> <div class="block">Adds an external world as a recognized PlotSquared world - The PlotWorld class created is based off the configuration in the settings.yml - Do not use this method unless the required world is preconfigured in the settings.yml </div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#onDisable()">onDisable</a></strong>()</code> <div class="block">On unload</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#onEnable()">onEnable</a></strong>()</code> <div class="block">On Load.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#reloadTranslations()">reloadTranslations</a></strong>()</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#removePlot(java.lang.String,%20com.intellectualcrafters.plot.object.PlotId,%20boolean)">removePlot</a></strong>(java.lang.String world, <a href="../../../com/intellectualcrafters/plot/object/PlotId.html" title="class in com.intellectualcrafters.plot.object">PlotId</a> id, boolean callEvent)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#removePlotWorld(java.lang.String)">removePlotWorld</a></strong>(java.lang.String world)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#sendConsoleSenderMessage(com.intellectualcrafters.plot.config.C)">sendConsoleSenderMessage</a></strong>(<a href="../../../com/intellectualcrafters/plot/config/C.html" title="enum in com.intellectualcrafters.plot.config">C</a> c)</code> <div class="block">Send a message to the console</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#sendConsoleSenderMessage(java.lang.String)">sendConsoleSenderMessage</a></strong>(java.lang.String string)</code> <div class="block">Send a message to the console.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#setAllPlotsRaw(java.util.HashMap)">setAllPlotsRaw</a></strong>(java.util.HashMap<java.lang.String,java.util.HashMap<<a href="../../../com/intellectualcrafters/plot/object/PlotId.html" title="class in com.intellectualcrafters.plot.object">PlotId</a>,<a href="../../../com/intellectualcrafters/plot/object/Plot.html" title="class in com.intellectualcrafters.plot.object">Plot</a>>> plots)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#setAllPlotsRaw(java.util.LinkedHashMap)">setAllPlotsRaw</a></strong>(java.util.LinkedHashMap<java.lang.String,java.util.HashMap<<a href="../../../com/intellectualcrafters/plot/object/PlotId.html" title="class in com.intellectualcrafters.plot.object">PlotId</a>,<a href="../../../com/intellectualcrafters/plot/object/Plot.html" title="class in com.intellectualcrafters.plot.object">Plot</a>>> plots)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#setUUIDSaver(com.intellectualcrafters.plot.uuid.UUIDSaver)">setUUIDSaver</a></strong>(<a href="../../../com/intellectualcrafters/plot/uuid/UUIDSaver.html" title="class in com.intellectualcrafters.plot.uuid">UUIDSaver</a> saver)</code> <div class="block">Set the uuid saver</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#teleportPlayer(org.bukkit.entity.Player,%20org.bukkit.Location,%20com.intellectualcrafters.plot.object.Plot)">teleportPlayer</a></strong>(org.bukkit.entity.Player player, org.bukkit.Location from, <a href="../../../com/intellectualcrafters/plot/object/Plot.html" title="class in com.intellectualcrafters.plot.object">Plot</a> plot)</code> <div class="block">..</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../com/intellectualcrafters/plot/PlotMain.html#updatePlot(com.intellectualcrafters.plot.object.Plot)">updatePlot</a></strong>(<a href="../../../com/intellectualcrafters/plot/object/Plot.html" title="class in com.intellectualcrafters.plot.object">Plot</a> plot)</code> <div class="block">Replace the plot object with an updated version</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_org.bukkit.plugin.java.JavaPlugin"> <!-- --> </a> <h3>Methods inherited from class org.bukkit.plugin.java.JavaPlugin</h3> <code>getClassLoader, getCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, initialize, installDDL, isEnabled, isInitialized, isNaggable, onCommand, onLoad, onTabComplete, reloadConfig, removeDDL, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString</code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_org.bukkit.plugin.PluginBase"> <!-- --> </a> <h3>Methods inherited from class org.bukkit.plugin.PluginBase</h3> <code>equals, getName, hashCode</code></li> </ul> <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, finalize, getClass, notify, notifyAll, 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="ADMIN_PERMISSION"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>ADMIN_PERMISSION</h4> <pre>public static final java.lang.String ADMIN_PERMISSION</pre> <dl> <dt><span class="strong">See Also:</span></dt> <dd><a href="../../../constant-values.html#com.intellectualcrafters.plot.PlotMain.ADMIN_PERMISSION">Constant Field Values</a></dd> </dl> </li> </ul> <a name="configFile"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>configFile</h4> <pre>public static java.io.File configFile</pre> <div class="block">settings.properties</div> </li> </ul> <a name="config"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>config</h4> <pre>public static org.bukkit.configuration.file.YamlConfiguration config</pre> <div class="block">The main configuration file</div> </li> </ul> <a name="storageFile"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>storageFile</h4> <pre>public static java.io.File storageFile</pre> <div class="block">storage.properties</div> </li> </ul> <a name="storage"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>storage</h4> <pre>public static org.bukkit.configuration.file.YamlConfiguration storage</pre> <div class="block">Contains storage options</div> </li> </ul> <a name="storage_ver"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>storage_ver</h4> <pre>public static int storage_ver</pre> <div class="block">Storage version</div> </li> </ul> <a name="connection"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>connection</h4> <pre>public static java.sql.Connection connection</pre> <div class="block">MySQL Connection</div> </li> </ul> <a name="worldEdit"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>worldEdit</h4> <pre>public static com.sk89q.worldedit.bukkit.WorldEditPlugin worldEdit</pre> <div class="block">WorldEdit object</div> </li> </ul> <a name="barAPI"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>barAPI</h4> <pre>public static me.confuser.barapi.BarAPI barAPI</pre> <div class="block">BarAPI object</div> </li> </ul> <a name="worldGuard"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>worldGuard</h4> <pre>public static com.sk89q.worldguard.bukkit.WorldGuardPlugin worldGuard</pre> <div class="block">World Guard Object</div> </li> </ul> <a name="worldGuardListener"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>worldGuardListener</h4> <pre>public static <a href="../../../com/intellectualcrafters/plot/listeners/WorldGuardListener.html" title="class in com.intellectualcrafters.plot.listeners">WorldGuardListener</a> worldGuardListener</pre> <div class="block">World Guard Listener</div> </li> </ul> <a name="economy"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>economy</h4> <pre>public static net.milkbowl.vault.economy.Economy economy</pre> <div class="block">Economy Object (vault)</div> </li> </ul> <a name="useEconomy"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>useEconomy</h4> <pre>public static boolean useEconomy</pre> <div class="block">Use Economy?</div> </li> </ul> <a name="booleanFlags"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>booleanFlags</h4> <pre>public static java.util.HashMap<org.bukkit.Material,java.lang.String> booleanFlags</pre> <div class="block">Boolean Flags (material)</div> </li> </ul> </li> </ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="PlotMain()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>PlotMain</h4> <pre>public PlotMain()</pre> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method_detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="checkForExpiredPlots()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>checkForExpiredPlots</h4> <pre>public static void checkForExpiredPlots()</pre> <div class="block">Check for expired plots</div> </li> </ul> <a name="hasPermissionRange(org.bukkit.entity.Player, java.lang.String, int)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>hasPermissionRange</h4> <pre>public static int hasPermissionRange(org.bukkit.entity.Player player, java.lang.String stub, int range)</pre> <div class="block">Check a range of permissions e.g. 'plots.plot.<0-100>'<br> Returns highest integer in range. </div> <dl> <dt><span class="strong">Parameters:</span></dt> <dd><code>player</code> - to check</dd> <dd><code>stub</code> - to check</dd> <dd><code>range</code> - tp check</dd> <dt><span class="strong">Returns:</span></dt> <dd>permitted range</dd> </dl> </li> </ul> <a name="hasPermissions(org.bukkit.entity.Player, java.lang.String[])"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>hasPermissions</h4> <pre>public static boolean hasPermissions(org.bukkit.entity.Player player, java.lang.String[] perms)</pre> <div class="block">Check a player for a permission<br> - Op has all permissions <br> - checks for '*' nodes </div> <dl> <dt><span class="strong">Parameters:</span></dt> <dd><code>player</code> - to check</dd> <dd><code>perms</code> - to check</dd> <dt><span class="strong">Returns:</span></dt> <dd>true of player has permissions</dd> </dl> </li> </ul> <a name="getUUIDSaver()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getUUIDSaver</h4> <pre>public static <a href="../../../com/intellectualcrafters/plot/uuid/UUIDSaver.html" title="class in com.intellectualcrafters.plot.uuid">UUIDSaver</a> getUUIDSaver()</pre> <div class="block">Get the uuid saver</div> <dl> <dt><span class="strong">Returns:</span></dt> <dd>uuid saver</dd> <dt><span class="strong">See Also:</span></dt> <dd><code>com.intellectualcrafters.plot.uuid.UUIDSaver;</code></dd> </dl> </li> </ul> <a name="setUUIDSaver(com.intellectualcrafters.plot.uuid.UUIDSaver)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setUUIDSaver</h4> <pre>public static void setUUIDSaver(<a href="../../../com/intellectualcrafters/plot/uuid/UUIDSaver.html" title="class in com.intellectualcrafters.plot.uuid">UUIDSaver</a> saver)</pre> <div class="block">Set the uuid saver</div> <dl> <dt><span class="strong">Parameters:</span></dt> <dd><code>saver</code> - new saver</dd> </dl> </li> </ul> <a name="hasPermission(org.bukkit.entity.Player, java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>hasPermission</h4> <pre>public static boolean hasPermission(org.bukkit.entity.Player player, java.lang.String perm)</pre> <div class="block">Check a player for a permission<br> - Op has all permissions <br> - checks for '*' nodes </div> <dl> <dt><span class="strong">Parameters:</span></dt> <dd><code>player</code> - to check</dd> <dd><code>perm</code> - to check</dd> <dt><span class="strong">Returns:</span></dt> <dd>true if player has the permission</dd> </dl> </li> </ul> <a name="getPlots()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getPlots</h4> <pre>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">Get all plots</div> <dl> <dt><span class="strong">Returns:</span></dt> <dd>HashMap containing the plot ID and the plot object.</dd> </dl> </li> </ul> <a name="getPlotsSorted()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getPlotsSorted</h4> <pre>public static java.util.LinkedHashSet<<a href="../../../com/intellectualcrafters/plot/object/Plot.html" title="class in com.intellectualcrafters.plot.object">Plot</a>> getPlotsSorted()</pre> <div class="block">Get a sorted list of plots</div> <dl> <dt><span class="strong">Returns:</span></dt> <dd>sorted list</dd> </dl> </li> </ul> <a name="getPlots(org.bukkit.entity.Player)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getPlots</h4> <pre>public static java.util.Set<<a href="../../../com/intellectualcrafters/plot/object/Plot.html" title="class in com.intellectualcrafters.plot.object">Plot</a>> getPlots(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>Set Containing the players plots</dd> </dl> </li> </ul> <a name="getPlots(org.bukkit.World, org.bukkit.entity.Player)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getPlots</h4> <pre>public static java.util.Set<<a href="../../../com/intellectualcrafters/plot/object/Plot.html" title="class in com.intellectualcrafters.plot.object">Plot</a>> getPlots(org.bukkit.World world, org.bukkit.entity.Player player)</pre> <dl> <dt><span class="strong">Parameters:</span></dt> <dd><code>world</code> - plot world</dd> <dd><code>player</code> - plot owner</dd> <dt><span class="strong">Returns:</span></dt> <dd>players plots</dd> </dl> </li> </ul> <a name="getPlots(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getPlots</h4> <pre>public static java.util.HashMap<<a href="../../../com/intellectualcrafters/plot/object/PlotId.html" title="class in com.intellectualcrafters.plot.object">PlotId</a>,<a href="../../../com/intellectualcrafters/plot/object/Plot.html" title="class in com.intellectualcrafters.plot.object">Plot</a>> getPlots(java.lang.String world)</pre> </li> </ul> <a name="getPlots(org.bukkit.World)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getPlots</h4> <pre>public static java.util.HashMap<<a href="../../../com/intellectualcrafters/plot/object/PlotId.html" title="class in com.intellectualcrafters.plot.object">PlotId</a>,<a href="../../../com/intellectualcrafters/plot/object/Plot.html" title="class in com.intellectualcrafters.plot.object">Plot</a>> getPlots(org.bukkit.World world)</pre> <dl> <dt><span class="strong">Parameters:</span></dt> <dd><code>world</code> - plot world</dd> <dt><span class="strong">Returns:</span></dt> <dd>plots in world</dd> </dl> </li> </ul> <a name="getPlotWorlds()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getPlotWorlds</h4> <pre>public static java.lang.String[] getPlotWorlds()</pre> <div class="block">get all plot worlds</div> </li> </ul> <a name="getPlotWorldsString()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getPlotWorldsString</h4> <pre>public static java.lang.String[] getPlotWorldsString()</pre> <dl> <dt><span class="strong">Returns:</span></dt> <dd>plots worlds</dd> </dl> </li> </ul> <a name="isPlotWorld(org.bukkit.World)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isPlotWorld</h4> <pre>public static boolean isPlotWorld(org.bukkit.World world)</pre> <dl> <dt><span class="strong">Parameters:</span></dt> <dd><code>world</code> - plotworld(?)</dd> <dt><span class="strong">Returns:</span></dt> <dd>true if the world is a plotworld</dd> </dl> </li> </ul> <a name="isPlotWorld(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isPlotWorld</h4> <pre>public static boolean isPlotWorld(java.lang.String world)</pre> <dl> <dt><span class="strong">Parameters:</span></dt> <dd><code>world</code> - plotworld(?)</dd> <dt><span class="strong">Returns:</span></dt> <dd>true if the world is a plotworld</dd> </dl> </li> </ul> <a name="getPlotManager(org.bukkit.World)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getPlotManager</h4> <pre>public static <a href="../../../com/intellectualcrafters/plot/object/PlotManager.html" title="class in com.intellectualcrafters.plot.object">PlotManager</a> getPlotManager(org.bukkit.World world)</pre> <dl> <dt><span class="strong">Parameters:</span></dt> <dd><code>world</code> - World to get manager for</dd> <dt><span class="strong">Returns:</span></dt> <dd>manager for world</dd> </dl> </li> </ul> <a name="getPlotManager(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getPlotManager</h4> <pre>public static <a href="../../../com/intellectualcrafters/plot/object/PlotManager.html" title="class in com.intellectualcrafters.plot.object">PlotManager</a> getPlotManager(java.lang.String world)</pre> <dl> <dt><span class="strong">Parameters:</span></dt> <dd><code>world</code> - world</dd> <dt><span class="strong">Returns:</span></dt> <dd>PlotManager</dd> </dl> </li> </ul> <a name="getWorldSettings(org.bukkit.World)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getWorldSettings</h4> <pre>public static <a href="../../../com/intellectualcrafters/plot/object/PlotWorld.html" title="class in com.intellectualcrafters.plot.object">PlotWorld</a> getWorldSettings(org.bukkit.World world)</pre> <dl> <dt><span class="strong">Parameters:</span></dt> <dd><code>world</code> - to search</dd> <dt><span class="strong">Returns:</span></dt> <dd>PlotWorld object</dd> </dl> </li> </ul> <a name="getWorldSettings(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getWorldSettings</h4> <pre>public static <a href="../../../com/intellectualcrafters/plot/object/PlotWorld.html" title="class in com.intellectualcrafters.plot.object">PlotWorld</a> getWorldSettings(java.lang.String world)</pre> <dl> <dt><span class="strong">Parameters:</span></dt> <dd><code>world</code> - to search</dd> <dt><span class="strong">Returns:</span></dt> <dd>PlotWorld object</dd> </dl> </li> </ul> <a name="getWorldPlots(org.bukkit.World)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getWorldPlots</h4> <pre>public static <a href="../../../com/intellectualcrafters/plot/object/Plot.html" title="class in com.intellectualcrafters.plot.object">Plot</a>[] getWorldPlots(org.bukkit.World world)</pre> <dl> <dt><span class="strong">Parameters:</span></dt> <dd><code>world</code> - world to search</dd> <dt><span class="strong">Returns:</span></dt> <dd>set containing the plots for a world</dd> </dl> </li> </ul> <a name="removePlot(java.lang.String, com.intellectualcrafters.plot.object.PlotId, boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>removePlot</h4> <pre>public static boolean removePlot(java.lang.String world, <a href="../../../com/intellectualcrafters/plot/object/PlotId.html" title="class in com.intellectualcrafters.plot.object">PlotId</a> id, boolean callEvent)</pre> </li> </ul> <a name="updatePlot(com.intellectualcrafters.plot.object.Plot)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>updatePlot</h4> <pre>public static void updatePlot(<a href="../../../com/intellectualcrafters/plot/object/Plot.html" title="class in com.intellectualcrafters.plot.object">Plot</a> plot)</pre> <div class="block">Replace the plot object with an updated version</div> <dl> <dt><span class="strong">Parameters:</span></dt> <dd><code>plot</code> - plot object</dd> </dl> </li> </ul> <a name="getConnection()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getConnection</h4> <pre>public static java.sql.Connection getConnection()</pre> <div class="block">Get MySQL Connection</div> <dl> <dt><span class="strong">Returns:</span></dt> <dd>connection MySQL Connection.</dd> </dl> </li> </ul> <a name="sendConsoleSenderMessage(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>sendConsoleSenderMessage</h4> <pre>public static void sendConsoleSenderMessage(java.lang.String string)</pre> <div class="block">Send a message to the console.</div> <dl> <dt><span class="strong">Parameters:</span></dt> <dd><code>string</code> - message</dd> </dl> </li> </ul> <a name="teleportPlayer(org.bukkit.entity.Player, org.bukkit.Location, com.intellectualcrafters.plot.object.Plot)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>teleportPlayer</h4> <pre>public static boolean teleportPlayer(org.bukkit.entity.Player player, org.bukkit.Location from, <a href="../../../com/intellectualcrafters/plot/object/Plot.html" title="class in com.intellectualcrafters.plot.object">Plot</a> plot)</pre> <div class="block">..</div> </li> </ul> <a name="sendConsoleSenderMessage(com.intellectualcrafters.plot.config.C)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>sendConsoleSenderMessage</h4> <pre>public static void sendConsoleSenderMessage(<a href="../../../com/intellectualcrafters/plot/config/C.html" title="enum in com.intellectualcrafters.plot.config">C</a> c)</pre> <div class="block">Send a message to the console</div> <dl> <dt><span class="strong">Parameters:</span></dt> <dd><code>c</code> - message</dd> </dl> </li> </ul> <a name="Broadcast(com.intellectualcrafters.plot.config.C)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Broadcast</h4> <pre>public static void Broadcast(<a href="../../../com/intellectualcrafters/plot/config/C.html" title="enum in com.intellectualcrafters.plot.config">C</a> c)</pre> <div class="block">Broadcast publicly</div> <dl> <dt><span class="strong">Parameters:</span></dt> <dd><code>c</code> - message</dd> </dl> </li> </ul> <a name="getMain()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getMain</h4> <pre>public static <a href="../../../com/intellectualcrafters/plot/PlotMain.html" title="class in com.intellectualcrafters.plot">PlotMain</a> getMain()</pre> <div class="block">Returns the main class.</div> <dl> <dt><span class="strong">Returns:</span></dt> <dd>(this class)</dd> </dl> </li> </ul> <a name="BroadcastWithPerms(com.intellectualcrafters.plot.config.C)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>BroadcastWithPerms</h4> <pre>public static void BroadcastWithPerms(<a href="../../../com/intellectualcrafters/plot/config/C.html" title="enum in com.intellectualcrafters.plot.config">C</a> c)</pre> <div class="block">Broadcast a message to all admins</div> <dl> <dt><span class="strong">Parameters:</span></dt> <dd><code>c</code> - message</dd> </dl> </li> </ul> <a name="reloadTranslations()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>reloadTranslations</h4> <pre>public static void reloadTranslations() throws java.io.IOException</pre> <dl> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code></dd> </dl> </li> </ul> <a name="getLastPlayed(java.util.UUID)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getLastPlayed</h4> <pre>public static long getLastPlayed(java.util.UUID uuid)</pre> </li> </ul> <a name="configs()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>configs</h4> <pre>public static void configs()</pre> <div class="block">Load configuration files</div> </li> </ul> <a name="killAllEntities()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>killAllEntities</h4> <pre>public static void killAllEntities()</pre> <div class="block">Kill all entities on roads</div> </li> </ul> <a name="createConfiguration(com.intellectualcrafters.plot.object.PlotWorld)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>createConfiguration</h4> <pre>public static void createConfiguration(<a href="../../../com/intellectualcrafters/plot/object/PlotWorld.html" title="class in com.intellectualcrafters.plot.object">PlotWorld</a> plotworld)</pre> </li> </ul> <a name="loadWorld(java.lang.String, org.bukkit.generator.ChunkGenerator)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>loadWorld</h4> <pre>public static void loadWorld(java.lang.String world, org.bukkit.generator.ChunkGenerator generator)</pre> </li> </ul> <a name="loadWorld(org.bukkit.World)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>loadWorld</h4> <pre>public static void loadWorld(org.bukkit.World world)</pre> <div class="block">Adds an external world as a recognized PlotSquared world - The PlotWorld class created is based off the configuration in the settings.yml - Do not use this method unless the required world is preconfigured in the settings.yml </div> <dl> <dt><span class="strong">Parameters:</span></dt> <dd><code>world</code> - to load</dd> </dl> </li> </ul> <a name="addPlotWorld(java.lang.String, com.intellectualcrafters.plot.object.PlotWorld, com.intellectualcrafters.plot.object.PlotManager)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addPlotWorld</h4> <pre>public static void addPlotWorld(java.lang.String world, <a href="../../../com/intellectualcrafters/plot/object/PlotWorld.html" title="class in com.intellectualcrafters.plot.object">PlotWorld</a> plotworld, <a href="../../../com/intellectualcrafters/plot/object/PlotManager.html" title="class in com.intellectualcrafters.plot.object">PlotManager</a> manager)</pre> </li> </ul> <a name="removePlotWorld(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>removePlotWorld</h4> <pre>public static void removePlotWorld(java.lang.String world)</pre> </li> </ul> <a name="getAllPlotsRaw()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getAllPlotsRaw</h4> <pre>public static java.util.HashMap<java.lang.String,java.util.HashMap<<a href="../../../com/intellectualcrafters/plot/object/PlotId.html" title="class in com.intellectualcrafters.plot.object">PlotId</a>,<a href="../../../com/intellectualcrafters/plot/object/Plot.html" title="class in com.intellectualcrafters.plot.object">Plot</a>>> getAllPlotsRaw()</pre> </li> </ul> <a name="setAllPlotsRaw(java.util.LinkedHashMap)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setAllPlotsRaw</h4> <pre>public static void setAllPlotsRaw(java.util.LinkedHashMap<java.lang.String,java.util.HashMap<<a href="../../../com/intellectualcrafters/plot/object/PlotId.html" title="class in com.intellectualcrafters.plot.object">PlotId</a>,<a href="../../../com/intellectualcrafters/plot/object/Plot.html" title="class in com.intellectualcrafters.plot.object">Plot</a>>> plots)</pre> </li> </ul> <a name="setAllPlotsRaw(java.util.HashMap)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setAllPlotsRaw</h4> <pre>public static void setAllPlotsRaw(java.util.HashMap<java.lang.String,java.util.HashMap<<a href="../../../com/intellectualcrafters/plot/object/PlotId.html" title="class in com.intellectualcrafters.plot.object">PlotId</a>,<a href="../../../com/intellectualcrafters/plot/object/Plot.html" title="class in com.intellectualcrafters.plot.object">Plot</a>>> plots)</pre> </li> </ul> <a name="getDefaultWorldGenerator(java.lang.String, java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getDefaultWorldGenerator</h4> <pre>public org.bukkit.generator.ChunkGenerator getDefaultWorldGenerator(java.lang.String world, java.lang.String id)</pre> <div class="block">!!WorldGeneration!!</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code>getDefaultWorldGenerator</code> in interface <code>org.bukkit.plugin.Plugin</code></dd> <dt><strong>Overrides:</strong></dt> <dd><code>getDefaultWorldGenerator</code> in class <code>org.bukkit.plugin.java.JavaPlugin</code> </dd> </dl> </li> </ul> <a name="onEnable()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>onEnable</h4> <pre>public void onEnable()</pre> <div class="block">On Load.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code>onEnable</code> in interface <code>org.bukkit.plugin.Plugin</code></dd> <dt><strong>Overrides:</strong></dt> <dd><code>onEnable</code> in class <code>org.bukkit.plugin.java.JavaPlugin</code></dd> </dl> </li> </ul> <a name="onDisable()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>onDisable</h4> <pre>public void onDisable()</pre> <div class="block">On unload</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code>onDisable</code> in interface <code>org.bukkit.plugin.Plugin</code></dd> <dt><strong>Overrides:</strong></dt> <dd><code>onDisable</code> in class <code>org.bukkit.plugin.java.JavaPlugin</code></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>Prev Class</li> <li>Next Class</li> </ul> <ul class="navList"> <li><a href="../../../index.html?com/intellectualcrafters/plot/PlotMain.html" target="_top">Frames</a></li> <li><a href="PlotMain.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>