public class PlayerFunctions
extends java.lang.Object
            | Constructor and Description | 
|---|
PlayerFunctions() 
                             | 
                        
| Modifier and Type | Method and Description | 
|---|---|
static int | 
                            getAllowedPlots(org.bukkit.entity.Player p)
                                Get the maximum number of plots a player is allowed 
                             | 
                        
static Plot | 
                            getBottomPlot(org.bukkit.World world,
                                Plot plot) 
                             | 
                        
static Plot | 
                            getCurrentPlot(org.bukkit.entity.Player player)
                                Returns the plot a player is currently in. 
                             | 
                        
static java.util.ArrayList<PlotId> | 
                            getMaxPlotSelectionIds(org.bukkit.World world,
                                PlotId pos1,
                                PlotId pos2) 
                             | 
                        
static int | 
                            getPlayerPlotCount(org.bukkit.World world,
                                org.bukkit.entity.Player plr)
                                Get the number of plots for a player 
                             | 
                        
static java.util.Set<Plot> | 
                            getPlayerPlots(org.bukkit.World world,
                                org.bukkit.entity.Player plr)
                                Get the plots for a player 
                             | 
                        
static PlotId | 
                            getPlot(org.bukkit.Location loc)
                                Returns the plot id at a location (mega plots are considered) 
                             | 
                        
static PlotId | 
                            getPlotAbs(org.bukkit.Location loc)
                                Returns the plot at a location (mega plots are not considered, all
                                    plots
                                    are treated as small plots)
                                 
                             | 
                        
static java.util.Set<Plot> | 
                            getPlots()
                                Deprecated.   
                             | 
                        
static java.util.ArrayList<PlotId> | 
                            getPlotSelectionIds(org.bukkit.World world,
                                PlotId pos1,
                                PlotId pos2) 
                             | 
                        
static Plot | 
                            getTopPlot(org.bukkit.World world,
                                Plot plot) 
                             | 
                        
static boolean | 
                            hasExpired(Plot plot) 
                             | 
                        
static boolean | 
                            isInPlot(org.bukkit.entity.Player player) 
                             | 
                        
static boolean | 
                            sendMessage(org.bukkit.entity.Player plr,
                                C c,
                                java.lang.String... args)
                                Send a message to the player 
                             | 
                        
static boolean | 
                            sendMessage(org.bukkit.entity.Player plr,
                                java.lang.String msg)
                                Send a message to the player 
                             | 
                        
static void | 
                            sendMessageWrapped(org.bukkit.entity.Player plr,
                                java.lang.String msg)
                                \\previous\\ 
                             | 
                        
static void | 
                            set(Plot plot)
                                Deprecated.   
                             | 
                        
public static boolean isInPlot(org.bukkit.entity.Player player)
player - playerpublic static boolean hasExpired(Plot plot)
plot - plotpublic static java.util.ArrayList<PlotId> getPlotSelectionIds(org.bukkit.World world, PlotId pos1, PlotId pos2)
public static java.util.ArrayList<PlotId> getMaxPlotSelectionIds(org.bukkit.World world, PlotId pos1, PlotId pos2)
public static PlotId getPlotAbs(org.bukkit.Location loc)
loc -public static PlotId getPlot(org.bukkit.Location loc)
loc -public static Plot getCurrentPlot(org.bukkit.entity.Player player)
player -@Deprecated public static void set(Plot plot)
plot -public static java.util.Set<Plot> getPlayerPlots(org.bukkit.World world, org.bukkit.entity.Player plr)
plr -public static int getPlayerPlotCount(org.bukkit.World world,
                     org.bukkit.entity.Player plr)
        plr -public static int getAllowedPlots(org.bukkit.entity.Player p)
p -@Deprecated public static java.util.Set<Plot> getPlots()
public static void sendMessageWrapped(org.bukkit.entity.Player plr,
                      java.lang.String msg)
        plr -msg - Was used to wrap the chat client length (Packets out--)public static boolean sendMessage(org.bukkit.entity.Player plr,
                  java.lang.String msg)
        plr - Player to recieve messagemsg - Message to sendpublic static boolean sendMessage(org.bukkit.entity.Player plr,
                  C c,
                  java.lang.String... args)
        plr - Player to recieve messagec - Caption to send