mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Update packages. This will not be appreciated 🐱
This commit is contained in:
parent
1646cd0f5a
commit
b0348cfc34
484 changed files with 4438 additions and 4433 deletions
|
@ -1,33 +1,33 @@
|
||||||
package com.plotsquared.bukkit;
|
package com.github.intellectualsites.plotsquared.bukkit;
|
||||||
|
|
||||||
import com.intellectualcrafters.configuration.ConfigurationSection;
|
import com.github.intellectualsites.plotsquared.bukkit.database.plotme.ClassicPlotMeConnector;
|
||||||
import com.intellectualcrafters.plot.IPlotMain;
|
import com.github.intellectualsites.plotsquared.bukkit.database.plotme.LikePlotMeConverter;
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.bukkit.database.plotme.PlotMeConnector_017;
|
||||||
import com.intellectualcrafters.plot.config.C;
|
import com.github.intellectualsites.plotsquared.bukkit.generator.BukkitPlotGenerator;
|
||||||
import com.intellectualcrafters.plot.config.ConfigurationNode;
|
import com.github.intellectualsites.plotsquared.bukkit.listeners.*;
|
||||||
import com.intellectualcrafters.plot.config.Settings;
|
import com.github.intellectualsites.plotsquared.bukkit.titles.DefaultTitle_111;
|
||||||
import com.intellectualcrafters.plot.generator.GeneratorWrapper;
|
import com.github.intellectualsites.plotsquared.bukkit.util.*;
|
||||||
import com.intellectualcrafters.plot.generator.HybridGen;
|
import com.github.intellectualsites.plotsquared.bukkit.util.block.*;
|
||||||
import com.intellectualcrafters.plot.generator.HybridUtils;
|
import com.github.intellectualsites.plotsquared.bukkit.uuid.*;
|
||||||
import com.intellectualcrafters.plot.generator.IndependentPlotGenerator;
|
import com.github.intellectualsites.plotsquared.configuration.ConfigurationSection;
|
||||||
import com.intellectualcrafters.plot.object.*;
|
import com.github.intellectualsites.plotsquared.plot.IPlotMain;
|
||||||
import com.intellectualcrafters.plot.object.chat.PlainChatManager;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.intellectualcrafters.plot.object.worlds.PlotAreaManager;
|
import com.github.intellectualsites.plotsquared.plot.config.C;
|
||||||
import com.intellectualcrafters.plot.object.worlds.SinglePlotArea;
|
import com.github.intellectualsites.plotsquared.plot.config.ConfigurationNode;
|
||||||
import com.intellectualcrafters.plot.object.worlds.SinglePlotAreaManager;
|
import com.github.intellectualsites.plotsquared.plot.config.Settings;
|
||||||
import com.intellectualcrafters.plot.object.worlds.SingleWorldGenerator;
|
import com.github.intellectualsites.plotsquared.plot.generator.GeneratorWrapper;
|
||||||
import com.intellectualcrafters.plot.util.*;
|
import com.github.intellectualsites.plotsquared.plot.generator.HybridGen;
|
||||||
import com.intellectualcrafters.plot.util.block.QueueProvider;
|
import com.github.intellectualsites.plotsquared.plot.generator.HybridUtils;
|
||||||
import com.intellectualcrafters.plot.uuid.UUIDWrapper;
|
import com.github.intellectualsites.plotsquared.plot.generator.IndependentPlotGenerator;
|
||||||
import com.plotsquared.bukkit.database.plotme.ClassicPlotMeConnector;
|
import com.github.intellectualsites.plotsquared.plot.object.*;
|
||||||
import com.plotsquared.bukkit.database.plotme.LikePlotMeConverter;
|
import com.github.intellectualsites.plotsquared.plot.object.chat.PlainChatManager;
|
||||||
import com.plotsquared.bukkit.database.plotme.PlotMeConnector_017;
|
import com.github.intellectualsites.plotsquared.plot.object.worlds.PlotAreaManager;
|
||||||
import com.plotsquared.bukkit.generator.BukkitPlotGenerator;
|
import com.github.intellectualsites.plotsquared.plot.object.worlds.SinglePlotArea;
|
||||||
import com.plotsquared.bukkit.listeners.*;
|
import com.github.intellectualsites.plotsquared.plot.object.worlds.SinglePlotAreaManager;
|
||||||
import com.plotsquared.bukkit.titles.DefaultTitle_111;
|
import com.github.intellectualsites.plotsquared.plot.object.worlds.SingleWorldGenerator;
|
||||||
import com.plotsquared.bukkit.util.*;
|
import com.github.intellectualsites.plotsquared.plot.util.*;
|
||||||
import com.plotsquared.bukkit.util.block.*;
|
import com.github.intellectualsites.plotsquared.plot.util.block.QueueProvider;
|
||||||
import com.plotsquared.bukkit.uuid.*;
|
import com.github.intellectualsites.plotsquared.plot.uuid.UUIDWrapper;
|
||||||
import com.sk89q.worldedit.WorldEdit;
|
import com.sk89q.worldedit.WorldEdit;
|
||||||
import org.bukkit.*;
|
import org.bukkit.*;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
|
@ -49,7 +49,7 @@ import java.lang.reflect.Method;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.concurrent.ConcurrentHashMap;
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
|
|
||||||
import static com.intellectualcrafters.plot.util.ReflectionUtils.getRefClass;
|
import static com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils.getRefClass;
|
||||||
|
|
||||||
public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain {
|
public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain {
|
||||||
|
|
||||||
|
@ -350,7 +350,8 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
|
||||||
case MINECART_TNT:
|
case MINECART_TNT:
|
||||||
case BOAT:
|
case BOAT:
|
||||||
if (Settings.Enabled_Components.KILL_ROAD_VEHICLES) {
|
if (Settings.Enabled_Components.KILL_ROAD_VEHICLES) {
|
||||||
com.intellectualcrafters.plot.object.Location location =
|
com.github.intellectualsites.plotsquared.plot.object.Location
|
||||||
|
location =
|
||||||
BukkitUtil.getLocation(entity.getLocation());
|
BukkitUtil.getLocation(entity.getLocation());
|
||||||
Plot plot = location.getPlot();
|
Plot plot = location.getPlot();
|
||||||
if (plot == null) {
|
if (plot == null) {
|
||||||
|
@ -479,7 +480,7 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
|
||||||
PlotId originalPlotId =
|
PlotId originalPlotId =
|
||||||
(PlotId) meta.get(0).value();
|
(PlotId) meta.get(0).value();
|
||||||
if (originalPlotId != null) {
|
if (originalPlotId != null) {
|
||||||
com.intellectualcrafters.plot.object.Location
|
com.github.intellectualsites.plotsquared.plot.object.Location
|
||||||
pLoc = BukkitUtil
|
pLoc = BukkitUtil
|
||||||
.getLocation(entity.getLocation());
|
.getLocation(entity.getLocation());
|
||||||
PlotArea area = pLoc.getPlotArea();
|
PlotArea area = pLoc.getPlotArea();
|
||||||
|
@ -497,7 +498,8 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
//This is to apply the metadata to already spawned shulkers (see EntitySpawnListener.java)
|
//This is to apply the metadata to already spawned shulkers (see EntitySpawnListener.java)
|
||||||
com.intellectualcrafters.plot.object.Location pLoc =
|
com.github.intellectualsites.plotsquared.plot.object.Location
|
||||||
|
pLoc =
|
||||||
BukkitUtil.getLocation(entity.getLocation());
|
BukkitUtil.getLocation(entity.getLocation());
|
||||||
PlotArea area = pLoc.getPlotArea();
|
PlotArea area = pLoc.getPlotArea();
|
||||||
if (area != null) {
|
if (area != null) {
|
|
@ -1,4 +1,4 @@
|
||||||
package com.plotsquared.bukkit.chat;
|
package com.github.intellectualsites.plotsquared.bukkit.chat;
|
||||||
|
|
||||||
import org.apache.commons.lang.Validate;
|
import org.apache.commons.lang.Validate;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.plotsquared.bukkit.chat;
|
package com.github.intellectualsites.plotsquared.bukkit.chat;
|
||||||
|
|
||||||
import com.google.gson.JsonArray;
|
import com.google.gson.JsonArray;
|
||||||
import com.google.gson.JsonElement;
|
import com.google.gson.JsonElement;
|
||||||
|
@ -20,8 +20,6 @@ import java.lang.reflect.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
import static com.plotsquared.bukkit.chat.TextualComponent.rawText;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a formattable message. Such messages can use elements such as colors, formatting codes, hover and click data, and other features provided by the vanilla Minecraft <a href="http://minecraft.gamepedia.com/Tellraw#Raw_JSON_Text">JSON message formatter</a>.
|
* Represents a formattable message. Such messages can use elements such as colors, formatting codes, hover and click data, and other features provided by the vanilla Minecraft <a href="http://minecraft.gamepedia.com/Tellraw#Raw_JSON_Text">JSON message formatter</a>.
|
||||||
* This class allows plugins to emulate the functionality of the vanilla Minecraft <a href="http://minecraft.gamepedia.com/Commands#tellraw">tellraw command</a>.
|
* This class allows plugins to emulate the functionality of the vanilla Minecraft <a href="http://minecraft.gamepedia.com/Commands#tellraw">tellraw command</a>.
|
||||||
|
@ -55,7 +53,7 @@ public class FancyMessage
|
||||||
* @param firstPartText The existing text in the message.
|
* @param firstPartText The existing text in the message.
|
||||||
*/
|
*/
|
||||||
public FancyMessage(final String firstPartText) {
|
public FancyMessage(final String firstPartText) {
|
||||||
this(rawText(firstPartText));
|
this(TextualComponent.rawText(firstPartText));
|
||||||
}
|
}
|
||||||
|
|
||||||
private FancyMessage(final TextualComponent firstPartText) {
|
private FancyMessage(final TextualComponent firstPartText) {
|
||||||
|
@ -198,7 +196,7 @@ public class FancyMessage
|
||||||
*/
|
*/
|
||||||
public FancyMessage text(String text) {
|
public FancyMessage text(String text) {
|
||||||
MessagePart latest = latest();
|
MessagePart latest = latest();
|
||||||
latest.text = rawText(text);
|
latest.text = TextualComponent.rawText(text);
|
||||||
dirty = true;
|
dirty = true;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
@ -514,7 +512,7 @@ public class FancyMessage
|
||||||
* @return This builder instance.
|
* @return This builder instance.
|
||||||
*/
|
*/
|
||||||
public FancyMessage tooltip(final Iterable<String> lines) {
|
public FancyMessage tooltip(final Iterable<String> lines) {
|
||||||
tooltip(com.plotsquared.bukkit.chat.ArrayWrapper.toArray(lines, String.class));
|
tooltip(ArrayWrapper.toArray(lines, String.class));
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
@ -605,7 +603,7 @@ public class FancyMessage
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (i != lines.length - 1) {
|
if (i != lines.length - 1) {
|
||||||
result.messageParts.add(new MessagePart(rawText("\n")));
|
result.messageParts.add(new MessagePart(TextualComponent.rawText("\n")));
|
||||||
}
|
}
|
||||||
} catch (CloneNotSupportedException e) {
|
} catch (CloneNotSupportedException e) {
|
||||||
Bukkit.getLogger().log(Level.WARNING, "Failed to clone object", e);
|
Bukkit.getLogger().log(Level.WARNING, "Failed to clone object", e);
|
||||||
|
@ -625,7 +623,7 @@ public class FancyMessage
|
||||||
*/
|
*/
|
||||||
public FancyMessage formattedTooltip(final Iterable<FancyMessage> lines) {
|
public FancyMessage formattedTooltip(final Iterable<FancyMessage> lines) {
|
||||||
return formattedTooltip(
|
return formattedTooltip(
|
||||||
com.plotsquared.bukkit.chat.ArrayWrapper.toArray(lines, FancyMessage.class));
|
ArrayWrapper.toArray(lines, FancyMessage.class));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -667,7 +665,7 @@ public class FancyMessage
|
||||||
*/
|
*/
|
||||||
public FancyMessage translationReplacements(final Iterable<FancyMessage> replacements) {
|
public FancyMessage translationReplacements(final Iterable<FancyMessage> replacements) {
|
||||||
return translationReplacements(
|
return translationReplacements(
|
||||||
com.plotsquared.bukkit.chat.ArrayWrapper.toArray(replacements, FancyMessage.class));
|
ArrayWrapper.toArray(replacements, FancyMessage.class));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -678,7 +676,7 @@ public class FancyMessage
|
||||||
* @return This builder instance.
|
* @return This builder instance.
|
||||||
*/
|
*/
|
||||||
public FancyMessage then(final String text) {
|
public FancyMessage then(final String text) {
|
||||||
return then(rawText(text));
|
return then(TextualComponent.rawText(text));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
|
@ -1,4 +1,4 @@
|
||||||
package com.plotsquared.bukkit.chat;
|
package com.github.intellectualsites.plotsquared.bukkit.chat;
|
||||||
|
|
||||||
import com.google.gson.stream.JsonWriter;
|
import com.google.gson.stream.JsonWriter;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.plotsquared.bukkit.chat;
|
package com.github.intellectualsites.plotsquared.bukkit.chat;
|
||||||
|
|
||||||
import com.google.gson.stream.JsonWriter;
|
import com.google.gson.stream.JsonWriter;
|
||||||
import org.bukkit.configuration.serialization.ConfigurationSerializable;
|
import org.bukkit.configuration.serialization.ConfigurationSerializable;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.plotsquared.bukkit.chat;
|
package com.github.intellectualsites.plotsquared.bukkit.chat;
|
||||||
|
|
||||||
import com.google.common.collect.BiMap;
|
import com.google.common.collect.BiMap;
|
||||||
import com.google.common.collect.ImmutableBiMap;
|
import com.google.common.collect.ImmutableBiMap;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.plotsquared.bukkit.chat;
|
package com.github.intellectualsites.plotsquared.bukkit.chat;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.plotsquared.bukkit.chat;
|
package com.github.intellectualsites.plotsquared.bukkit.chat;
|
||||||
|
|
||||||
import com.google.common.base.Preconditions;
|
import com.google.common.base.Preconditions;
|
||||||
import com.google.common.collect.ImmutableMap;
|
import com.google.common.collect.ImmutableMap;
|
|
@ -1,24 +1,24 @@
|
||||||
package com.plotsquared.bukkit.commands;
|
package com.github.intellectualsites.plotsquared.bukkit.commands;
|
||||||
|
|
||||||
|
import com.github.intellectualsites.plotsquared.bukkit.uuid.DatFileFilter;
|
||||||
|
import com.github.intellectualsites.plotsquared.bukkit.uuid.DefaultUUIDWrapper;
|
||||||
|
import com.github.intellectualsites.plotsquared.bukkit.uuid.LowerOfflineUUIDWrapper;
|
||||||
|
import com.github.intellectualsites.plotsquared.bukkit.uuid.OfflineUUIDWrapper;
|
||||||
|
import com.github.intellectualsites.plotsquared.commands.Argument;
|
||||||
|
import com.github.intellectualsites.plotsquared.commands.CommandDeclaration;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.commands.CommandCategory;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.commands.RequiredType;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.commands.SubCommand;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.config.C;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.database.DBFunc;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.OfflinePlotPlayer;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.StringWrapper;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.util.*;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.uuid.UUIDWrapper;
|
||||||
import com.google.common.collect.Sets;
|
import com.google.common.collect.Sets;
|
||||||
import com.intellectualcrafters.plot.PS;
|
|
||||||
import com.intellectualcrafters.plot.commands.CommandCategory;
|
|
||||||
import com.intellectualcrafters.plot.commands.RequiredType;
|
|
||||||
import com.intellectualcrafters.plot.commands.SubCommand;
|
|
||||||
import com.intellectualcrafters.plot.config.C;
|
|
||||||
import com.intellectualcrafters.plot.database.DBFunc;
|
|
||||||
import com.intellectualcrafters.plot.object.OfflinePlotPlayer;
|
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
|
||||||
import com.intellectualcrafters.plot.object.StringWrapper;
|
|
||||||
import com.intellectualcrafters.plot.util.*;
|
|
||||||
import com.intellectualcrafters.plot.uuid.UUIDWrapper;
|
|
||||||
import com.plotsquared.bukkit.uuid.DatFileFilter;
|
|
||||||
import com.plotsquared.bukkit.uuid.DefaultUUIDWrapper;
|
|
||||||
import com.plotsquared.bukkit.uuid.LowerOfflineUUIDWrapper;
|
|
||||||
import com.plotsquared.bukkit.uuid.OfflineUUIDWrapper;
|
|
||||||
import com.plotsquared.general.commands.Argument;
|
|
||||||
import com.plotsquared.general.commands.CommandDeclaration;
|
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
|
@ -1,10 +1,10 @@
|
||||||
package com.plotsquared.bukkit.database.plotme;
|
package com.github.intellectualsites.plotsquared.bukkit.database.plotme;
|
||||||
|
|
||||||
import com.intellectualcrafters.configuration.file.FileConfiguration;
|
import com.github.intellectualsites.plotsquared.configuration.file.FileConfiguration;
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.intellectualcrafters.plot.object.Location;
|
import com.github.intellectualsites.plotsquared.plot.object.Location;
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import com.intellectualcrafters.plot.object.PlotId;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotId;
|
||||||
|
|
||||||
import java.sql.Connection;
|
import java.sql.Connection;
|
||||||
import java.sql.SQLException;
|
import java.sql.SQLException;
|
|
@ -1,13 +1,13 @@
|
||||||
package com.plotsquared.bukkit.database.plotme;
|
package com.github.intellectualsites.plotsquared.bukkit.database.plotme;
|
||||||
|
|
||||||
|
import com.github.intellectualsites.plotsquared.configuration.file.FileConfiguration;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.config.Settings;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.database.DBFunc;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.database.SQLite;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.*;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.util.UUIDHandler;
|
||||||
import com.google.common.base.Charsets;
|
import com.google.common.base.Charsets;
|
||||||
import com.intellectualcrafters.configuration.file.FileConfiguration;
|
|
||||||
import com.intellectualcrafters.plot.PS;
|
|
||||||
import com.intellectualcrafters.plot.config.Settings;
|
|
||||||
import com.intellectualcrafters.plot.database.DBFunc;
|
|
||||||
import com.intellectualcrafters.plot.database.SQLite;
|
|
||||||
import com.intellectualcrafters.plot.object.*;
|
|
||||||
import com.intellectualcrafters.plot.util.UUIDHandler;
|
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
|
@ -1,17 +1,17 @@
|
||||||
package com.plotsquared.bukkit.database.plotme;
|
package com.github.intellectualsites.plotsquared.bukkit.database.plotme;
|
||||||
|
|
||||||
import com.intellectualcrafters.configuration.ConfigurationSection;
|
import com.github.intellectualsites.plotsquared.bukkit.generator.BukkitPlotGenerator;
|
||||||
import com.intellectualcrafters.configuration.MemorySection;
|
import com.github.intellectualsites.plotsquared.configuration.ConfigurationSection;
|
||||||
import com.intellectualcrafters.configuration.file.FileConfiguration;
|
import com.github.intellectualsites.plotsquared.configuration.MemorySection;
|
||||||
import com.intellectualcrafters.configuration.file.YamlConfiguration;
|
import com.github.intellectualsites.plotsquared.configuration.file.FileConfiguration;
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.configuration.file.YamlConfiguration;
|
||||||
import com.intellectualcrafters.plot.config.Settings;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.intellectualcrafters.plot.database.DBFunc;
|
import com.github.intellectualsites.plotsquared.plot.config.Settings;
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.database.DBFunc;
|
||||||
import com.intellectualcrafters.plot.object.PlotArea;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import com.intellectualcrafters.plot.object.PlotId;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
|
||||||
import com.intellectualcrafters.plot.util.TaskManager;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotId;
|
||||||
import com.plotsquared.bukkit.generator.BukkitPlotGenerator;
|
import com.github.intellectualsites.plotsquared.plot.util.TaskManager;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
import org.bukkit.WorldCreator;
|
import org.bukkit.WorldCreator;
|
|
@ -1,12 +1,12 @@
|
||||||
package com.plotsquared.bukkit.database.plotme;
|
package com.github.intellectualsites.plotsquared.bukkit.database.plotme;
|
||||||
|
|
||||||
import com.intellectualcrafters.configuration.file.FileConfiguration;
|
import com.github.intellectualsites.plotsquared.configuration.file.FileConfiguration;
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.intellectualcrafters.plot.config.Settings;
|
import com.github.intellectualsites.plotsquared.plot.config.Settings;
|
||||||
import com.intellectualcrafters.plot.database.DBFunc;
|
import com.github.intellectualsites.plotsquared.plot.database.DBFunc;
|
||||||
import com.intellectualcrafters.plot.database.SQLite;
|
import com.github.intellectualsites.plotsquared.plot.database.SQLite;
|
||||||
import com.intellectualcrafters.plot.object.*;
|
import com.github.intellectualsites.plotsquared.plot.object.*;
|
||||||
import com.intellectualcrafters.plot.util.UUIDHandler;
|
import com.github.intellectualsites.plotsquared.plot.util.UUIDHandler;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.sql.*;
|
import java.sql.*;
|
|
@ -1,7 +1,7 @@
|
||||||
package com.plotsquared.bukkit.events;
|
package com.github.intellectualsites.plotsquared.bukkit.events;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.flag.Flag;
|
import com.github.intellectualsites.plotsquared.plot.flag.Flag;
|
||||||
import com.intellectualcrafters.plot.object.PlotCluster;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotCluster;
|
||||||
import org.bukkit.event.Cancellable;
|
import org.bukkit.event.Cancellable;
|
||||||
import org.bukkit.event.Event;
|
import org.bukkit.event.Event;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
|
@ -1,6 +1,6 @@
|
||||||
package com.plotsquared.bukkit.events;
|
package com.github.intellectualsites.plotsquared.bukkit.events;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.Cancellable;
|
import org.bukkit.event.Cancellable;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
|
@ -1,6 +1,6 @@
|
||||||
package com.plotsquared.bukkit.events;
|
package com.github.intellectualsites.plotsquared.bukkit.events;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
import org.bukkit.event.player.PlayerEvent;
|
import org.bukkit.event.player.PlayerEvent;
|
|
@ -1,6 +1,6 @@
|
||||||
package com.plotsquared.bukkit.events;
|
package com.github.intellectualsites.plotsquared.bukkit.events;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
import org.bukkit.event.player.PlayerEvent;
|
import org.bukkit.event.player.PlayerEvent;
|
|
@ -1,6 +1,6 @@
|
||||||
package com.plotsquared.bukkit.events;
|
package com.github.intellectualsites.plotsquared.bukkit.events;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.plotsquared.bukkit.events;
|
package com.github.intellectualsites.plotsquared.bukkit.events;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.plotsquared.bukkit.events;
|
package com.github.intellectualsites.plotsquared.bukkit.events;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package com.plotsquared.bukkit.events;
|
package com.github.intellectualsites.plotsquared.bukkit.events;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.Location;
|
import com.github.intellectualsites.plotsquared.plot.object.Location;
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.Cancellable;
|
import org.bukkit.event.Cancellable;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
|
@ -1,7 +1,7 @@
|
||||||
package com.plotsquared.bukkit.events;
|
package com.github.intellectualsites.plotsquared.bukkit.events;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import com.intellectualcrafters.plot.object.PlotId;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotId;
|
||||||
import org.bukkit.event.Cancellable;
|
import org.bukkit.event.Cancellable;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package com.plotsquared.bukkit.events;
|
package com.github.intellectualsites.plotsquared.bukkit.events;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import com.intellectualcrafters.plot.object.PlotId;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotId;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
|
|
||||||
/**
|
/**
|
|
@ -1,7 +1,7 @@
|
||||||
package com.plotsquared.bukkit.events;
|
package com.github.intellectualsites.plotsquared.bukkit.events;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import com.intellectualcrafters.plot.object.PlotId;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotId;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
|
|
||||||
/**
|
/**
|
|
@ -1,6 +1,6 @@
|
||||||
package com.plotsquared.bukkit.events;
|
package com.github.intellectualsites.plotsquared.bukkit.events;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import org.bukkit.event.Event;
|
import org.bukkit.event.Event;
|
||||||
|
|
||||||
public abstract class PlotEvent extends Event {
|
public abstract class PlotEvent extends Event {
|
|
@ -1,7 +1,7 @@
|
||||||
package com.plotsquared.bukkit.events;
|
package com.github.intellectualsites.plotsquared.bukkit.events;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.flag.Flag;
|
import com.github.intellectualsites.plotsquared.plot.flag.Flag;
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import org.bukkit.event.Cancellable;
|
import org.bukkit.event.Cancellable;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package com.plotsquared.bukkit.events;
|
package com.github.intellectualsites.plotsquared.bukkit.events;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.flag.Flag;
|
import com.github.intellectualsites.plotsquared.plot.flag.Flag;
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import org.bukkit.event.Cancellable;
|
import org.bukkit.event.Cancellable;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package com.plotsquared.bukkit.events;
|
package com.github.intellectualsites.plotsquared.bukkit.events;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import com.intellectualcrafters.plot.object.PlotId;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotId;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
import org.bukkit.event.Cancellable;
|
import org.bukkit.event.Cancellable;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
|
@ -1,8 +1,8 @@
|
||||||
package com.plotsquared.bukkit.events;
|
package com.github.intellectualsites.plotsquared.bukkit.events;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
import com.intellectualcrafters.plot.object.Rating;
|
import com.github.intellectualsites.plotsquared.plot.object.Rating;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
|
|
||||||
public class PlotRateEvent extends PlotEvent {
|
public class PlotRateEvent extends PlotEvent {
|
|
@ -1,7 +1,7 @@
|
||||||
package com.plotsquared.bukkit.events;
|
package com.github.intellectualsites.plotsquared.bukkit.events;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.PlotArea;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
|
||||||
import com.intellectualcrafters.plot.object.PlotId;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotId;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
import org.bukkit.event.Cancellable;
|
import org.bukkit.event.Cancellable;
|
||||||
import org.bukkit.event.Event;
|
import org.bukkit.event.Event;
|
|
@ -1,6 +1,6 @@
|
||||||
package com.plotsquared.bukkit.generator;
|
package com.github.intellectualsites.plotsquared.bukkit.generator;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.generator.AugmentedUtils;
|
import com.github.intellectualsites.plotsquared.plot.generator.AugmentedUtils;
|
||||||
import org.bukkit.Chunk;
|
import org.bukkit.Chunk;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
import org.bukkit.generator.BlockPopulator;
|
import org.bukkit.generator.BlockPopulator;
|
|
@ -1,18 +1,18 @@
|
||||||
package com.plotsquared.bukkit.generator;
|
package com.github.intellectualsites.plotsquared.bukkit.generator;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
|
||||||
import com.intellectualcrafters.plot.generator.GeneratorWrapper;
|
import com.github.intellectualsites.plotsquared.bukkit.util.block.GenChunk;
|
||||||
import com.intellectualcrafters.plot.generator.IndependentPlotGenerator;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.intellectualcrafters.plot.object.*;
|
import com.github.intellectualsites.plotsquared.plot.generator.GeneratorWrapper;
|
||||||
import com.intellectualcrafters.plot.object.worlds.SingleWorldGenerator;
|
import com.github.intellectualsites.plotsquared.plot.generator.IndependentPlotGenerator;
|
||||||
import com.intellectualcrafters.plot.util.ChunkManager;
|
import com.github.intellectualsites.plotsquared.plot.object.*;
|
||||||
import com.intellectualcrafters.plot.util.MainUtil;
|
import com.github.intellectualsites.plotsquared.plot.object.worlds.SingleWorldGenerator;
|
||||||
import com.intellectualcrafters.plot.util.MathMan;
|
import com.github.intellectualsites.plotsquared.plot.util.ChunkManager;
|
||||||
import com.intellectualcrafters.plot.util.block.GlobalBlockQueue;
|
import com.github.intellectualsites.plotsquared.plot.util.MainUtil;
|
||||||
import com.intellectualcrafters.plot.util.block.LocalBlockQueue;
|
import com.github.intellectualsites.plotsquared.plot.util.MathMan;
|
||||||
import com.intellectualcrafters.plot.util.block.ScopedLocalBlockQueue;
|
import com.github.intellectualsites.plotsquared.plot.util.block.GlobalBlockQueue;
|
||||||
import com.plotsquared.bukkit.util.BukkitUtil;
|
import com.github.intellectualsites.plotsquared.plot.util.block.LocalBlockQueue;
|
||||||
import com.plotsquared.bukkit.util.block.GenChunk;
|
import com.github.intellectualsites.plotsquared.plot.util.block.ScopedLocalBlockQueue;
|
||||||
import org.bukkit.Chunk;
|
import org.bukkit.Chunk;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
import org.bukkit.block.Biome;
|
import org.bukkit.block.Biome;
|
|
@ -1,14 +1,14 @@
|
||||||
package com.plotsquared.bukkit.listeners;
|
package com.github.intellectualsites.plotsquared.bukkit.listeners;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.intellectualcrafters.plot.config.C;
|
import com.github.intellectualsites.plotsquared.plot.config.C;
|
||||||
import com.intellectualcrafters.plot.config.Settings;
|
import com.github.intellectualsites.plotsquared.plot.config.Settings;
|
||||||
import com.intellectualcrafters.plot.object.Location;
|
import com.github.intellectualsites.plotsquared.plot.object.Location;
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import com.intellectualcrafters.plot.util.ReflectionUtils.RefClass;
|
import com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils.RefClass;
|
||||||
import com.intellectualcrafters.plot.util.ReflectionUtils.RefField;
|
import com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils.RefField;
|
||||||
import com.intellectualcrafters.plot.util.ReflectionUtils.RefMethod;
|
import com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils.RefMethod;
|
||||||
import com.intellectualcrafters.plot.util.TaskManager;
|
import com.github.intellectualsites.plotsquared.plot.util.TaskManager;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Chunk;
|
import org.bukkit.Chunk;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
|
@ -30,7 +30,7 @@ import org.bukkit.event.world.ChunkUnloadEvent;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
|
|
||||||
import static com.intellectualcrafters.plot.util.ReflectionUtils.getRefClass;
|
import static com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils.getRefClass;
|
||||||
|
|
||||||
public class ChunkListener implements Listener {
|
public class ChunkListener implements Listener {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.plotsquared.bukkit.listeners;
|
package com.github.intellectualsites.plotsquared.bukkit.listeners;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
import org.bukkit.entity.ArmorStand;
|
import org.bukkit.entity.ArmorStand;
|
|
@ -1,12 +1,12 @@
|
||||||
package com.plotsquared.bukkit.listeners;
|
package com.github.intellectualsites.plotsquared.bukkit.listeners;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
|
||||||
import com.intellectualcrafters.plot.config.Settings;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.intellectualcrafters.plot.flag.Flags;
|
import com.github.intellectualsites.plotsquared.plot.config.Settings;
|
||||||
import com.intellectualcrafters.plot.object.Location;
|
import com.github.intellectualsites.plotsquared.plot.flag.Flags;
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.object.Location;
|
||||||
import com.intellectualcrafters.plot.object.PlotArea;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import com.plotsquared.bukkit.util.BukkitUtil;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
|
||||||
import org.bukkit.entity.Entity;
|
import org.bukkit.entity.Entity;
|
||||||
import org.bukkit.entity.EntityType;
|
import org.bukkit.entity.EntityType;
|
||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
|
@ -1,14 +1,14 @@
|
||||||
package com.plotsquared.bukkit.listeners;
|
package com.github.intellectualsites.plotsquared.bukkit.listeners;
|
||||||
|
|
||||||
|
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
|
||||||
|
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.config.C;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.flag.Flags;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.Location;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.util.Permissions;
|
||||||
import com.google.common.collect.Iterables;
|
import com.google.common.collect.Iterables;
|
||||||
import com.intellectualcrafters.plot.config.C;
|
|
||||||
import com.intellectualcrafters.plot.flag.Flags;
|
|
||||||
import com.intellectualcrafters.plot.object.Location;
|
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
|
||||||
import com.intellectualcrafters.plot.util.Permissions;
|
|
||||||
import com.plotsquared.bukkit.object.BukkitPlayer;
|
|
||||||
import com.plotsquared.bukkit.util.BukkitUtil;
|
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
package com.plotsquared.bukkit.listeners;
|
package com.github.intellectualsites.plotsquared.bukkit.listeners;
|
||||||
|
|
||||||
|
import com.github.intellectualsites.plotsquared.bukkit.BukkitMain;
|
||||||
|
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitLazyBlock;
|
||||||
|
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
|
||||||
|
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
|
||||||
|
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitVersion;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.config.C;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.config.Settings;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.flag.Flags;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.flag.IntegerFlag;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.listener.PlayerBlockEventType;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.listener.PlotListener;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.*;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.util.*;
|
||||||
import com.google.common.base.Optional;
|
import com.google.common.base.Optional;
|
||||||
import com.intellectualcrafters.plot.PS;
|
|
||||||
import com.intellectualcrafters.plot.config.C;
|
|
||||||
import com.intellectualcrafters.plot.config.Settings;
|
|
||||||
import com.intellectualcrafters.plot.flag.Flags;
|
|
||||||
import com.intellectualcrafters.plot.flag.IntegerFlag;
|
|
||||||
import com.intellectualcrafters.plot.object.*;
|
|
||||||
import com.intellectualcrafters.plot.util.*;
|
|
||||||
import com.plotsquared.bukkit.BukkitMain;
|
|
||||||
import com.plotsquared.bukkit.object.BukkitLazyBlock;
|
|
||||||
import com.plotsquared.bukkit.object.BukkitPlayer;
|
|
||||||
import com.plotsquared.bukkit.util.BukkitUtil;
|
|
||||||
import com.plotsquared.bukkit.util.BukkitVersion;
|
|
||||||
import com.plotsquared.listener.PlayerBlockEventType;
|
|
||||||
import com.plotsquared.listener.PlotListener;
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
|
@ -1,11 +1,11 @@
|
||||||
package com.plotsquared.bukkit.listeners;
|
package com.github.intellectualsites.plotsquared.bukkit.listeners;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
|
||||||
import com.intellectualcrafters.plot.flag.Flags;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.intellectualcrafters.plot.object.Location;
|
import com.github.intellectualsites.plotsquared.plot.flag.Flags;
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.object.Location;
|
||||||
import com.intellectualcrafters.plot.object.PlotArea;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import com.plotsquared.bukkit.util.BukkitUtil;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
||||||
import org.bukkit.event.EventPriority;
|
import org.bukkit.event.EventPriority;
|
|
@ -1,16 +1,16 @@
|
||||||
package com.plotsquared.bukkit.listeners;
|
package com.github.intellectualsites.plotsquared.bukkit.listeners;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
|
||||||
import com.intellectualcrafters.plot.config.C;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.intellectualcrafters.plot.flag.Flags;
|
import com.github.intellectualsites.plotsquared.plot.config.C;
|
||||||
import com.intellectualcrafters.plot.object.Location;
|
import com.github.intellectualsites.plotsquared.plot.flag.Flags;
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.listener.PlotListener;
|
||||||
import com.intellectualcrafters.plot.object.PlotArea;
|
import com.github.intellectualsites.plotsquared.plot.object.Location;
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import com.intellectualcrafters.plot.util.MainUtil;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
|
||||||
import com.intellectualcrafters.plot.util.Permissions;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
import com.plotsquared.bukkit.util.BukkitUtil;
|
import com.github.intellectualsites.plotsquared.plot.util.MainUtil;
|
||||||
import com.plotsquared.listener.PlotListener;
|
import com.github.intellectualsites.plotsquared.plot.util.Permissions;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
import org.bukkit.block.BlockState;
|
import org.bukkit.block.BlockState;
|
|
@ -1,8 +1,8 @@
|
||||||
package com.plotsquared.bukkit.listeners;
|
package com.github.intellectualsites.plotsquared.bukkit.listeners;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
|
||||||
import com.intellectualcrafters.plot.object.Location;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.plotsquared.bukkit.util.BukkitUtil;
|
import com.github.intellectualsites.plotsquared.plot.object.Location;
|
||||||
import org.bukkit.entity.LingeringPotion;
|
import org.bukkit.entity.LingeringPotion;
|
||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
||||||
import org.bukkit.event.EventPriority;
|
import org.bukkit.event.EventPriority;
|
|
@ -1,13 +1,13 @@
|
||||||
package com.plotsquared.bukkit.listeners;
|
package com.github.intellectualsites.plotsquared.bukkit.listeners;
|
||||||
|
|
||||||
|
import com.github.intellectualsites.plotsquared.bukkit.events.PlayerEnterPlotEvent;
|
||||||
|
import com.github.intellectualsites.plotsquared.bukkit.events.PlayerLeavePlotEvent;
|
||||||
|
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.flag.Flags;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.listener.PlotListener;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
import com.google.common.base.Optional;
|
import com.google.common.base.Optional;
|
||||||
import com.intellectualcrafters.plot.flag.Flags;
|
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
|
||||||
import com.plotsquared.bukkit.events.PlayerEnterPlotEvent;
|
|
||||||
import com.plotsquared.bukkit.events.PlayerLeavePlotEvent;
|
|
||||||
import com.plotsquared.bukkit.util.BukkitUtil;
|
|
||||||
import com.plotsquared.listener.PlotListener;
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.GameMode;
|
import org.bukkit.GameMode;
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
|
@ -1,9 +1,9 @@
|
||||||
package com.plotsquared.bukkit.listeners;
|
package com.github.intellectualsites.plotsquared.bukkit.listeners;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.flag.Flags;
|
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.flag.Flags;
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import com.plotsquared.bukkit.util.BukkitUtil;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
import org.bukkit.entity.LivingEntity;
|
import org.bukkit.entity.LivingEntity;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
|
@ -1,9 +1,9 @@
|
||||||
package com.plotsquared.bukkit.listeners;
|
package com.github.intellectualsites.plotsquared.bukkit.listeners;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.flag.Flags;
|
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.flag.Flags;
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import com.plotsquared.bukkit.util.BukkitUtil;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
||||||
import org.bukkit.event.Listener;
|
import org.bukkit.event.Listener;
|
|
@ -1,9 +1,9 @@
|
||||||
package com.plotsquared.bukkit.listeners;
|
package com.github.intellectualsites.plotsquared.bukkit.listeners;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.intellectualcrafters.plot.object.worlds.PlotAreaManager;
|
import com.github.intellectualsites.plotsquared.plot.object.worlds.PlotAreaManager;
|
||||||
import com.intellectualcrafters.plot.object.worlds.SinglePlotAreaManager;
|
import com.github.intellectualsites.plotsquared.plot.object.worlds.SinglePlotAreaManager;
|
||||||
import com.intellectualcrafters.plot.util.ReflectionUtils;
|
import com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Chunk;
|
import org.bukkit.Chunk;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
|
@ -17,7 +17,7 @@ import org.bukkit.plugin.Plugin;
|
||||||
import java.lang.reflect.Field;
|
import java.lang.reflect.Field;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
|
|
||||||
import static com.intellectualcrafters.plot.util.ReflectionUtils.getRefClass;
|
import static com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils.getRefClass;
|
||||||
|
|
||||||
public class SingleWorldListener implements Listener {
|
public class SingleWorldListener implements Listener {
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
package com.plotsquared.bukkit.listeners;
|
package com.github.intellectualsites.plotsquared.bukkit.listeners;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.bukkit.generator.BukkitPlotGenerator;
|
||||||
import com.intellectualcrafters.plot.generator.GeneratorWrapper;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.intellectualcrafters.plot.object.worlds.PlotAreaManager;
|
import com.github.intellectualsites.plotsquared.plot.generator.GeneratorWrapper;
|
||||||
import com.intellectualcrafters.plot.object.worlds.SinglePlotAreaManager;
|
import com.github.intellectualsites.plotsquared.plot.object.worlds.PlotAreaManager;
|
||||||
import com.plotsquared.bukkit.generator.BukkitPlotGenerator;
|
import com.github.intellectualsites.plotsquared.plot.object.worlds.SinglePlotAreaManager;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
||||||
import org.bukkit.event.EventPriority;
|
import org.bukkit.event.EventPriority;
|
|
@ -1,7 +1,7 @@
|
||||||
package com.plotsquared.bukkit.object;
|
package com.github.intellectualsites.plotsquared.bukkit.object;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.LazyBlock;
|
import com.github.intellectualsites.plotsquared.plot.object.LazyBlock;
|
||||||
import com.intellectualcrafters.plot.object.PlotBlock;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotBlock;
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
|
|
||||||
public class BukkitLazyBlock extends LazyBlock {
|
public class BukkitLazyBlock extends LazyBlock {
|
|
@ -1,6 +1,6 @@
|
||||||
package com.plotsquared.bukkit.object;
|
package com.github.intellectualsites.plotsquared.bukkit.object;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.OfflinePlotPlayer;
|
import com.github.intellectualsites.plotsquared.plot.object.OfflinePlotPlayer;
|
||||||
import org.bukkit.OfflinePlayer;
|
import org.bukkit.OfflinePlayer;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
|
@ -1,11 +1,11 @@
|
||||||
package com.plotsquared.bukkit.object;
|
package com.github.intellectualsites.plotsquared.bukkit.object;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
|
||||||
import com.intellectualcrafters.plot.config.C;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.intellectualcrafters.plot.object.Location;
|
import com.github.intellectualsites.plotsquared.plot.config.C;
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
import com.github.intellectualsites.plotsquared.plot.object.Location;
|
||||||
import com.intellectualcrafters.plot.util.*;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
import com.plotsquared.bukkit.util.BukkitUtil;
|
import com.github.intellectualsites.plotsquared.plot.util.*;
|
||||||
import org.bukkit.Effect;
|
import org.bukkit.Effect;
|
||||||
import org.bukkit.GameMode;
|
import org.bukkit.GameMode;
|
||||||
import org.bukkit.WeatherType;
|
import org.bukkit.WeatherType;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.plotsquared.bukkit.object.entity;
|
package com.github.intellectualsites.plotsquared.bukkit.object.entity;
|
||||||
|
|
||||||
class AgeableStats {
|
class AgeableStats {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.plotsquared.bukkit.object.entity;
|
package com.github.intellectualsites.plotsquared.bukkit.object.entity;
|
||||||
|
|
||||||
class ArmorStandStats {
|
class ArmorStandStats {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.plotsquared.bukkit.object.entity;
|
package com.github.intellectualsites.plotsquared.bukkit.object.entity;
|
||||||
|
|
||||||
|
|
||||||
class EntityBaseStats {
|
class EntityBaseStats {
|
|
@ -1,7 +1,7 @@
|
||||||
package com.plotsquared.bukkit.object.entity;
|
package com.github.intellectualsites.plotsquared.bukkit.object.entity;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitVersion;
|
||||||
import com.plotsquared.bukkit.util.BukkitVersion;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import org.bukkit.*;
|
import org.bukkit.*;
|
||||||
import org.bukkit.block.BlockFace;
|
import org.bukkit.block.BlockFace;
|
||||||
import org.bukkit.entity.*;
|
import org.bukkit.entity.*;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.plotsquared.bukkit.object.entity;
|
package com.github.intellectualsites.plotsquared.bukkit.object.entity;
|
||||||
|
|
||||||
import org.bukkit.entity.Horse;
|
import org.bukkit.entity.Horse;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.plotsquared.bukkit.object.entity;
|
package com.github.intellectualsites.plotsquared.bukkit.object.entity;
|
||||||
|
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
import org.bukkit.potion.PotionEffect;
|
import org.bukkit.potion.PotionEffect;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.plotsquared.bukkit.object.entity;
|
package com.github.intellectualsites.plotsquared.bukkit.object.entity;
|
||||||
|
|
||||||
import org.bukkit.entity.AnimalTamer;
|
import org.bukkit.entity.AnimalTamer;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package com.plotsquared.bukkit.object.schematic;
|
package com.github.intellectualsites.plotsquared.bukkit.object.schematic;
|
||||||
|
|
||||||
import com.intellectualcrafters.jnbt.*;
|
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
|
||||||
import com.intellectualcrafters.plot.object.schematic.ItemType;
|
import com.github.intellectualsites.plotsquared.jnbt.*;
|
||||||
import com.intellectualcrafters.plot.util.MathMan;
|
import com.github.intellectualsites.plotsquared.plot.object.schematic.ItemType;
|
||||||
import com.plotsquared.bukkit.util.BukkitUtil;
|
import com.github.intellectualsites.plotsquared.plot.util.MathMan;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
import org.bukkit.block.BlockState;
|
import org.bukkit.block.BlockState;
|
|
@ -1,6 +1,6 @@
|
||||||
package com.plotsquared.bukkit.titles;
|
package com.github.intellectualsites.plotsquared.bukkit.titles;
|
||||||
|
|
||||||
import com.plotsquared.bukkit.chat.Reflection;
|
import com.github.intellectualsites.plotsquared.bukkit.chat.Reflection;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.plotsquared.bukkit.titles;
|
package com.github.intellectualsites.plotsquared.bukkit.titles;
|
||||||
|
|
||||||
import com.plotsquared.bukkit.chat.Reflection;
|
import com.github.intellectualsites.plotsquared.bukkit.chat.Reflection;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
package com.plotsquared.bukkit.titles;
|
package com.github.intellectualsites.plotsquared.bukkit.titles;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitVersion;
|
||||||
import com.intellectualcrafters.plot.util.AbstractTitle;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.plotsquared.bukkit.object.BukkitPlayer;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
import com.plotsquared.bukkit.util.BukkitVersion;
|
import com.github.intellectualsites.plotsquared.plot.util.AbstractTitle;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
@SuppressWarnings("deprecation") public class DefaultTitle_111 extends AbstractTitle {
|
@SuppressWarnings("deprecation") public class DefaultTitle_111 extends AbstractTitle {
|
|
@ -1,8 +1,8 @@
|
||||||
package com.plotsquared.bukkit.titles;
|
package com.github.intellectualsites.plotsquared.bukkit.titles;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
|
||||||
import com.intellectualcrafters.plot.util.AbstractTitle;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
import com.plotsquared.bukkit.object.BukkitPlayer;
|
import com.github.intellectualsites.plotsquared.plot.util.AbstractTitle;
|
||||||
|
|
||||||
public class DefaultTitle_180 extends AbstractTitle {
|
public class DefaultTitle_180 extends AbstractTitle {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package com.plotsquared.bukkit.titles;
|
package com.github.intellectualsites.plotsquared.bukkit.titles;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
|
||||||
import com.intellectualcrafters.plot.util.AbstractTitle;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
import com.plotsquared.bukkit.object.BukkitPlayer;
|
import com.github.intellectualsites.plotsquared.plot.util.AbstractTitle;
|
||||||
|
|
||||||
public class DefaultTitle_183 extends AbstractTitle {
|
public class DefaultTitle_183 extends AbstractTitle {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package com.plotsquared.bukkit.titles;
|
package com.github.intellectualsites.plotsquared.bukkit.titles;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
|
||||||
import com.intellectualcrafters.plot.util.AbstractTitle;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
import com.intellectualcrafters.plot.util.TaskManager;
|
import com.github.intellectualsites.plotsquared.plot.util.AbstractTitle;
|
||||||
import com.plotsquared.bukkit.object.BukkitPlayer;
|
import com.github.intellectualsites.plotsquared.plot.util.TaskManager;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
@SuppressWarnings("deprecation") public class DefaultTitle_19 extends AbstractTitle {
|
@SuppressWarnings("deprecation") public class DefaultTitle_19 extends AbstractTitle {
|
|
@ -1,10 +1,10 @@
|
||||||
package com.plotsquared.bukkit.titles;
|
package com.github.intellectualsites.plotsquared.bukkit.titles;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
|
||||||
import com.intellectualcrafters.plot.config.Settings;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
import com.github.intellectualsites.plotsquared.plot.config.Settings;
|
||||||
import com.intellectualcrafters.plot.util.AbstractTitle;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
import com.plotsquared.bukkit.object.BukkitPlayer;
|
import com.github.intellectualsites.plotsquared.plot.util.AbstractTitle;
|
||||||
|
|
||||||
public class HackTitle extends AbstractTitle {
|
public class HackTitle extends AbstractTitle {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.plotsquared.bukkit.titles;
|
package com.github.intellectualsites.plotsquared.bukkit.titles;
|
||||||
|
|
||||||
import com.plotsquared.bukkit.chat.Reflection;
|
import com.github.intellectualsites.plotsquared.bukkit.chat.Reflection;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.plotsquared.bukkit.titles;
|
package com.github.intellectualsites.plotsquared.bukkit.titles;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.plotsquared.bukkit.titles;
|
package com.github.intellectualsites.plotsquared.bukkit.titles;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
|
@ -1,13 +1,13 @@
|
||||||
package com.plotsquared.bukkit.util;
|
package com.github.intellectualsites.plotsquared.bukkit.util;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.config.C;
|
import com.github.intellectualsites.plotsquared.bukkit.chat.FancyMessage;
|
||||||
import com.intellectualcrafters.plot.config.Settings;
|
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
|
||||||
import com.intellectualcrafters.plot.object.ConsolePlayer;
|
import com.github.intellectualsites.plotsquared.plot.config.C;
|
||||||
import com.intellectualcrafters.plot.object.PlotMessage;
|
import com.github.intellectualsites.plotsquared.plot.config.Settings;
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
import com.github.intellectualsites.plotsquared.plot.object.ConsolePlayer;
|
||||||
import com.intellectualcrafters.plot.util.ChatManager;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotMessage;
|
||||||
import com.plotsquared.bukkit.chat.FancyMessage;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
import com.plotsquared.bukkit.object.BukkitPlayer;
|
import com.github.intellectualsites.plotsquared.plot.util.ChatManager;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
|
@ -1,15 +1,14 @@
|
||||||
package com.plotsquared.bukkit.util;
|
package com.github.intellectualsites.plotsquared.bukkit.util;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.bukkit.object.entity.EntityWrapper;
|
||||||
import com.intellectualcrafters.plot.generator.AugmentedUtils;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.intellectualcrafters.plot.object.*;
|
import com.github.intellectualsites.plotsquared.plot.generator.AugmentedUtils;
|
||||||
import com.intellectualcrafters.plot.object.Location;
|
import com.github.intellectualsites.plotsquared.plot.object.*;
|
||||||
import com.intellectualcrafters.plot.util.ChunkManager;
|
import com.github.intellectualsites.plotsquared.plot.util.ChunkManager;
|
||||||
import com.intellectualcrafters.plot.util.TaskManager;
|
import com.github.intellectualsites.plotsquared.plot.util.TaskManager;
|
||||||
import com.intellectualcrafters.plot.util.block.GlobalBlockQueue;
|
import com.github.intellectualsites.plotsquared.plot.util.block.GlobalBlockQueue;
|
||||||
import com.intellectualcrafters.plot.util.block.LocalBlockQueue;
|
import com.github.intellectualsites.plotsquared.plot.util.block.LocalBlockQueue;
|
||||||
import com.intellectualcrafters.plot.util.block.ScopedLocalBlockQueue;
|
import com.github.intellectualsites.plotsquared.plot.util.block.ScopedLocalBlockQueue;
|
||||||
import com.plotsquared.bukkit.object.entity.EntityWrapper;
|
|
||||||
import org.bukkit.*;
|
import org.bukkit.*;
|
||||||
import org.bukkit.block.*;
|
import org.bukkit.block.*;
|
||||||
import org.bukkit.block.banner.Pattern;
|
import org.bukkit.block.banner.Pattern;
|
||||||
|
@ -101,12 +100,13 @@ public class BukkitChunkManager extends ChunkManager {
|
||||||
return chunks;
|
return chunks;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public boolean copyRegion(Location pos1, Location pos2, Location newPos,
|
@Override public boolean copyRegion(
|
||||||
|
com.github.intellectualsites.plotsquared.plot.object.Location pos1, com.github.intellectualsites.plotsquared.plot.object.Location pos2, com.github.intellectualsites.plotsquared.plot.object.Location newPos,
|
||||||
final Runnable whenDone) {
|
final Runnable whenDone) {
|
||||||
final int relX = newPos.getX() - pos1.getX();
|
final int relX = newPos.getX() - pos1.getX();
|
||||||
final int relZ = newPos.getZ() - pos1.getZ();
|
final int relZ = newPos.getZ() - pos1.getZ();
|
||||||
Location pos4 =
|
com.github.intellectualsites.plotsquared.plot.object.Location pos4 =
|
||||||
new Location(newPos.getWorld(), newPos.getX() + relX, 256, newPos.getZ() + relZ);
|
new com.github.intellectualsites.plotsquared.plot.object.Location(newPos.getWorld(), newPos.getX() + relX, 256, newPos.getZ() + relZ);
|
||||||
|
|
||||||
final RegionWrapper region =
|
final RegionWrapper region =
|
||||||
new RegionWrapper(pos1.getX(), pos2.getX(), pos1.getZ(), pos2.getZ());
|
new RegionWrapper(pos1.getX(), pos2.getX(), pos1.getZ(), pos2.getZ());
|
||||||
|
@ -158,7 +158,7 @@ public class BukkitChunkManager extends ChunkManager {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public boolean regenerateRegion(final Location pos1, final Location pos2,
|
@Override public boolean regenerateRegion(final com.github.intellectualsites.plotsquared.plot.object.Location pos1, final com.github.intellectualsites.plotsquared.plot.object.Location pos2,
|
||||||
final boolean ignoreAugment, final Runnable whenDone) {
|
final boolean ignoreAugment, final Runnable whenDone) {
|
||||||
final String world = pos1.getWorld();
|
final String world = pos1.getWorld();
|
||||||
|
|
||||||
|
@ -269,7 +269,8 @@ public class BukkitChunkManager extends ChunkManager {
|
||||||
@Override public void run() {
|
@Override public void run() {
|
||||||
setChunkInPlotArea(null, new RunnableVal<ScopedLocalBlockQueue>() {
|
setChunkInPlotArea(null, new RunnableVal<ScopedLocalBlockQueue>() {
|
||||||
@Override public void run(ScopedLocalBlockQueue value) {
|
@Override public void run(ScopedLocalBlockQueue value) {
|
||||||
Location min = value.getMin();
|
com.github.intellectualsites.plotsquared.plot.object.Location
|
||||||
|
min = value.getMin();
|
||||||
int bx = min.getX();
|
int bx = min.getX();
|
||||||
int bz = min.getZ();
|
int bz = min.getZ();
|
||||||
for (int x = 0; x < 16; x++) {
|
for (int x = 0; x < 16; x++) {
|
||||||
|
@ -313,7 +314,8 @@ public class BukkitChunkManager extends ChunkManager {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public void clearAllEntities(Location pos1, Location pos2) {
|
@Override public void clearAllEntities(
|
||||||
|
com.github.intellectualsites.plotsquared.plot.object.Location pos1, com.github.intellectualsites.plotsquared.plot.object.Location pos2) {
|
||||||
String world = pos1.getWorld();
|
String world = pos1.getWorld();
|
||||||
List<Entity> entities = BukkitUtil.getEntities(world);
|
List<Entity> entities = BukkitUtil.getEntities(world);
|
||||||
int bx = pos1.getX();
|
int bx = pos1.getX();
|
||||||
|
@ -349,7 +351,7 @@ public class BukkitChunkManager extends ChunkManager {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public void swap(Location bot1, Location top1, Location bot2, Location top2,
|
@Override public void swap(com.github.intellectualsites.plotsquared.plot.object.Location bot1, com.github.intellectualsites.plotsquared.plot.object.Location top1, com.github.intellectualsites.plotsquared.plot.object.Location bot2, com.github.intellectualsites.plotsquared.plot.object.Location top2,
|
||||||
final Runnable whenDone) {
|
final Runnable whenDone) {
|
||||||
RegionWrapper region1 =
|
RegionWrapper region1 =
|
||||||
new RegionWrapper(bot1.getX(), top1.getX(), bot1.getZ(), top1.getZ());
|
new RegionWrapper(bot1.getX(), top1.getX(), bot1.getZ(), top1.getZ());
|
||||||
|
@ -390,8 +392,8 @@ public class BukkitChunkManager extends ChunkManager {
|
||||||
PlotArea area = plot.getArea();
|
PlotArea area = plot.getArea();
|
||||||
World world = BukkitUtil.getWorld(area.worldname);
|
World world = BukkitUtil.getWorld(area.worldname);
|
||||||
|
|
||||||
Location bot = plot.getBottomAbs();
|
com.github.intellectualsites.plotsquared.plot.object.Location bot = plot.getBottomAbs();
|
||||||
Location top = plot.getTopAbs();
|
com.github.intellectualsites.plotsquared.plot.object.Location top = plot.getTopAbs();
|
||||||
int bx = bot.getX() >> 4;
|
int bx = bot.getX() >> 4;
|
||||||
int bz = bot.getZ() >> 4;
|
int bz = bot.getZ() >> 4;
|
||||||
|
|
||||||
|
@ -649,7 +651,7 @@ public class BukkitChunkManager extends ChunkManager {
|
||||||
|
|
||||||
public void saveEntitiesOut(Chunk chunk, RegionWrapper region) {
|
public void saveEntitiesOut(Chunk chunk, RegionWrapper region) {
|
||||||
for (Entity entity : chunk.getEntities()) {
|
for (Entity entity : chunk.getEntities()) {
|
||||||
Location loc = BukkitUtil.getLocation(entity);
|
com.github.intellectualsites.plotsquared.plot.object.Location loc = BukkitUtil.getLocation(entity);
|
||||||
int x = loc.getX();
|
int x = loc.getX();
|
||||||
int z = loc.getZ();
|
int z = loc.getZ();
|
||||||
if (isIn(region, x, z)) {
|
if (isIn(region, x, z)) {
|
||||||
|
@ -666,7 +668,7 @@ public class BukkitChunkManager extends ChunkManager {
|
||||||
public void saveEntitiesIn(Chunk chunk, RegionWrapper region, int offsetX, int offsetZ,
|
public void saveEntitiesIn(Chunk chunk, RegionWrapper region, int offsetX, int offsetZ,
|
||||||
boolean delete) {
|
boolean delete) {
|
||||||
for (Entity entity : chunk.getEntities()) {
|
for (Entity entity : chunk.getEntities()) {
|
||||||
Location loc = BukkitUtil.getLocation(entity);
|
com.github.intellectualsites.plotsquared.plot.object.Location loc = BukkitUtil.getLocation(entity);
|
||||||
int x = loc.getX();
|
int x = loc.getX();
|
||||||
int z = loc.getZ();
|
int z = loc.getZ();
|
||||||
if (!isIn(region, x, z)) {
|
if (!isIn(region, x, z)) {
|
|
@ -1,9 +1,9 @@
|
||||||
package com.plotsquared.bukkit.util;
|
package com.github.intellectualsites.plotsquared.bukkit.util;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.commands.MainCommand;
|
import com.github.intellectualsites.plotsquared.bukkit.commands.DebugUUID;
|
||||||
import com.intellectualcrafters.plot.object.ConsolePlayer;
|
import com.github.intellectualsites.plotsquared.plot.commands.MainCommand;
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
import com.github.intellectualsites.plotsquared.plot.object.ConsolePlayer;
|
||||||
import com.plotsquared.bukkit.commands.DebugUUID;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
import org.bukkit.command.*;
|
import org.bukkit.command.*;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
package com.plotsquared.bukkit.util;
|
package com.github.intellectualsites.plotsquared.bukkit.util;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.OfflinePlotPlayer;
|
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitOfflinePlayer;
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
|
||||||
import com.intellectualcrafters.plot.util.EconHandler;
|
import com.github.intellectualsites.plotsquared.plot.object.OfflinePlotPlayer;
|
||||||
import com.plotsquared.bukkit.object.BukkitOfflinePlayer;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
import com.plotsquared.bukkit.object.BukkitPlayer;
|
import com.github.intellectualsites.plotsquared.plot.util.EconHandler;
|
||||||
import net.milkbowl.vault.economy.Economy;
|
import net.milkbowl.vault.economy.Economy;
|
||||||
import net.milkbowl.vault.permission.Permission;
|
import net.milkbowl.vault.permission.Permission;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
|
@ -1,10 +1,10 @@
|
||||||
package com.plotsquared.bukkit.util;
|
package com.github.intellectualsites.plotsquared.bukkit.util;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.flag.Flag;
|
import com.github.intellectualsites.plotsquared.bukkit.events.*;
|
||||||
import com.intellectualcrafters.plot.object.*;
|
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
|
||||||
import com.intellectualcrafters.plot.util.EventUtil;
|
import com.github.intellectualsites.plotsquared.plot.flag.Flag;
|
||||||
import com.plotsquared.bukkit.events.*;
|
import com.github.intellectualsites.plotsquared.plot.object.*;
|
||||||
import com.plotsquared.bukkit.object.BukkitPlayer;
|
import com.github.intellectualsites.plotsquared.plot.util.EventUtil;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.Cancellable;
|
import org.bukkit.event.Cancellable;
|
|
@ -1,17 +1,17 @@
|
||||||
package com.plotsquared.bukkit.util;
|
package com.github.intellectualsites.plotsquared.bukkit.util;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.generator.HybridUtils;
|
import com.github.intellectualsites.plotsquared.plot.generator.HybridUtils;
|
||||||
import com.intellectualcrafters.plot.object.Location;
|
import com.github.intellectualsites.plotsquared.plot.object.Location;
|
||||||
import com.intellectualcrafters.plot.object.PlotBlock;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotBlock;
|
||||||
import com.intellectualcrafters.plot.object.RegionWrapper;
|
import com.github.intellectualsites.plotsquared.plot.object.RegionWrapper;
|
||||||
import com.intellectualcrafters.plot.object.RunnableVal;
|
import com.github.intellectualsites.plotsquared.plot.object.RunnableVal;
|
||||||
import com.intellectualcrafters.plot.util.ChunkManager;
|
import com.github.intellectualsites.plotsquared.plot.util.ChunkManager;
|
||||||
import com.intellectualcrafters.plot.util.MainUtil;
|
import com.github.intellectualsites.plotsquared.plot.util.MainUtil;
|
||||||
import com.intellectualcrafters.plot.util.MathMan;
|
import com.github.intellectualsites.plotsquared.plot.util.MathMan;
|
||||||
import com.intellectualcrafters.plot.util.TaskManager;
|
import com.github.intellectualsites.plotsquared.plot.util.TaskManager;
|
||||||
import com.intellectualcrafters.plot.util.block.GlobalBlockQueue;
|
import com.github.intellectualsites.plotsquared.plot.util.block.GlobalBlockQueue;
|
||||||
import com.intellectualcrafters.plot.util.block.LocalBlockQueue;
|
import com.github.intellectualsites.plotsquared.plot.util.block.LocalBlockQueue;
|
||||||
import com.intellectualcrafters.plot.util.expiry.PlotAnalysis;
|
import com.github.intellectualsites.plotsquared.plot.util.expiry.PlotAnalysis;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
|
@ -1,10 +1,10 @@
|
||||||
package com.plotsquared.bukkit.util;
|
package com.github.intellectualsites.plotsquared.bukkit.util;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.PlotInventory;
|
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
|
||||||
import com.intellectualcrafters.plot.object.PlotItemStack;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotInventory;
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotItemStack;
|
||||||
import com.intellectualcrafters.plot.util.InventoryUtil;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
import com.plotsquared.bukkit.object.BukkitPlayer;
|
import com.github.intellectualsites.plotsquared.plot.util.InventoryUtil;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.event.inventory.InventoryType;
|
import org.bukkit.event.inventory.InventoryType;
|
|
@ -1,15 +1,15 @@
|
||||||
package com.plotsquared.bukkit.util;
|
package com.github.intellectualsites.plotsquared.bukkit.util;
|
||||||
|
|
||||||
import com.intellectualcrafters.jnbt.*;
|
import com.github.intellectualsites.plotsquared.bukkit.object.schematic.StateWrapper;
|
||||||
import com.intellectualcrafters.plot.object.ChunkLoc;
|
import com.github.intellectualsites.plotsquared.jnbt.*;
|
||||||
import com.intellectualcrafters.plot.object.Location;
|
import com.github.intellectualsites.plotsquared.plot.object.ChunkLoc;
|
||||||
import com.intellectualcrafters.plot.object.RegionWrapper;
|
import com.github.intellectualsites.plotsquared.plot.object.Location;
|
||||||
import com.intellectualcrafters.plot.object.RunnableVal;
|
import com.github.intellectualsites.plotsquared.plot.object.RegionWrapper;
|
||||||
import com.intellectualcrafters.plot.util.MainUtil;
|
import com.github.intellectualsites.plotsquared.plot.object.RunnableVal;
|
||||||
import com.intellectualcrafters.plot.util.SchematicHandler;
|
import com.github.intellectualsites.plotsquared.plot.util.MainUtil;
|
||||||
import com.intellectualcrafters.plot.util.TaskManager;
|
import com.github.intellectualsites.plotsquared.plot.util.SchematicHandler;
|
||||||
import com.intellectualcrafters.plot.util.block.LocalBlockQueue;
|
import com.github.intellectualsites.plotsquared.plot.util.TaskManager;
|
||||||
import com.plotsquared.bukkit.object.schematic.StateWrapper;
|
import com.github.intellectualsites.plotsquared.plot.util.block.LocalBlockQueue;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Chunk;
|
import org.bukkit.Chunk;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
|
@ -1,14 +1,14 @@
|
||||||
package com.plotsquared.bukkit.util;
|
package com.github.intellectualsites.plotsquared.bukkit.util;
|
||||||
|
|
||||||
import com.intellectualcrafters.configuration.ConfigurationSection;
|
import com.github.intellectualsites.plotsquared.bukkit.generator.BukkitPlotGenerator;
|
||||||
import com.intellectualcrafters.configuration.file.YamlConfiguration;
|
import com.github.intellectualsites.plotsquared.configuration.ConfigurationSection;
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.configuration.file.YamlConfiguration;
|
||||||
import com.intellectualcrafters.plot.config.ConfigurationNode;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.intellectualcrafters.plot.generator.GeneratorWrapper;
|
import com.github.intellectualsites.plotsquared.plot.config.ConfigurationNode;
|
||||||
import com.intellectualcrafters.plot.object.PlotArea;
|
import com.github.intellectualsites.plotsquared.plot.generator.GeneratorWrapper;
|
||||||
import com.intellectualcrafters.plot.object.SetupObject;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
|
||||||
import com.intellectualcrafters.plot.util.SetupUtils;
|
import com.github.intellectualsites.plotsquared.plot.object.SetupObject;
|
||||||
import com.plotsquared.bukkit.generator.BukkitPlotGenerator;
|
import com.github.intellectualsites.plotsquared.plot.util.SetupUtils;
|
||||||
import org.bukkit.*;
|
import org.bukkit.*;
|
||||||
import org.bukkit.World.Environment;
|
import org.bukkit.World.Environment;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
|
@ -1,7 +1,7 @@
|
||||||
package com.plotsquared.bukkit.util;
|
package com.github.intellectualsites.plotsquared.bukkit.util;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.util.TaskManager;
|
import com.github.intellectualsites.plotsquared.bukkit.BukkitMain;
|
||||||
import com.plotsquared.bukkit.BukkitMain;
|
import com.github.intellectualsites.plotsquared.plot.util.TaskManager;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
|
|
||||||
public class BukkitTaskManager extends TaskManager {
|
public class BukkitTaskManager extends TaskManager {
|
|
@ -1,15 +1,15 @@
|
||||||
package com.plotsquared.bukkit.util;
|
package com.github.intellectualsites.plotsquared.bukkit.util;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.Location;
|
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
|
||||||
import com.intellectualcrafters.plot.object.PlotBlock;
|
import com.github.intellectualsites.plotsquared.plot.object.Location;
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotBlock;
|
||||||
import com.intellectualcrafters.plot.object.RegionWrapper;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
import com.intellectualcrafters.plot.object.schematic.PlotItem;
|
import com.github.intellectualsites.plotsquared.plot.object.RegionWrapper;
|
||||||
import com.intellectualcrafters.plot.util.MathMan;
|
import com.github.intellectualsites.plotsquared.plot.object.schematic.PlotItem;
|
||||||
import com.intellectualcrafters.plot.util.StringComparison;
|
import com.github.intellectualsites.plotsquared.plot.util.MathMan;
|
||||||
import com.intellectualcrafters.plot.util.UUIDHandler;
|
import com.github.intellectualsites.plotsquared.plot.util.StringComparison;
|
||||||
import com.intellectualcrafters.plot.util.WorldUtil;
|
import com.github.intellectualsites.plotsquared.plot.util.UUIDHandler;
|
||||||
import com.plotsquared.bukkit.object.BukkitPlayer;
|
import com.github.intellectualsites.plotsquared.plot.util.WorldUtil;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.OfflinePlayer;
|
import org.bukkit.OfflinePlayer;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.plotsquared.bukkit.util;
|
package com.github.intellectualsites.plotsquared.bukkit.util;
|
||||||
|
|
||||||
public class BukkitVersion {
|
public class BukkitVersion {
|
||||||
public static int[] v1_13_0 = {1, 13, 0};
|
public static int[] v1_13_0 = {1, 13, 0};
|
|
@ -1,4 +1,4 @@
|
||||||
package com.plotsquared.bukkit.util;
|
package com.github.intellectualsites.plotsquared.bukkit.util;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.plotsquared.bukkit.util;
|
package com.github.intellectualsites.plotsquared.bukkit.util;
|
||||||
|
|
||||||
import com.google.common.base.Splitter;
|
import com.google.common.base.Splitter;
|
||||||
import com.google.common.collect.BiMap;
|
import com.google.common.collect.BiMap;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.plotsquared.bukkit.util;
|
package com.github.intellectualsites.plotsquared.bukkit.util;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.OfflinePlayer;
|
import org.bukkit.OfflinePlayer;
|
||||||
|
@ -9,8 +9,6 @@ import java.lang.reflect.Constructor;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
import static com.intellectualcrafters.plot.util.ReflectionUtils.*;
|
|
||||||
|
|
||||||
public class OfflinePlayerUtil {
|
public class OfflinePlayerUtil {
|
||||||
|
|
||||||
public static Player loadPlayer(String name) {
|
public static Player loadPlayer(String name) {
|
|
@ -1,17 +1,17 @@
|
||||||
package com.plotsquared.bukkit.util;
|
package com.github.intellectualsites.plotsquared.bukkit.util;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
|
||||||
import com.intellectualcrafters.plot.object.ChunkLoc;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.intellectualcrafters.plot.object.Location;
|
import com.github.intellectualsites.plotsquared.plot.object.ChunkLoc;
|
||||||
import com.intellectualcrafters.plot.object.Plot;
|
import com.github.intellectualsites.plotsquared.plot.object.Location;
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
import com.github.intellectualsites.plotsquared.plot.object.Plot;
|
||||||
import com.intellectualcrafters.plot.util.ReflectionUtils.RefClass;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
import com.intellectualcrafters.plot.util.ReflectionUtils.RefConstructor;
|
import com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils.RefClass;
|
||||||
import com.intellectualcrafters.plot.util.ReflectionUtils.RefField;
|
import com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils.RefConstructor;
|
||||||
import com.intellectualcrafters.plot.util.ReflectionUtils.RefMethod;
|
import com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils.RefField;
|
||||||
import com.intellectualcrafters.plot.util.TaskManager;
|
import com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils.RefMethod;
|
||||||
import com.intellectualcrafters.plot.util.UUIDHandler;
|
import com.github.intellectualsites.plotsquared.plot.util.TaskManager;
|
||||||
import com.plotsquared.bukkit.object.BukkitPlayer;
|
import com.github.intellectualsites.plotsquared.plot.util.UUIDHandler;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Chunk;
|
import org.bukkit.Chunk;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
|
@ -23,7 +23,7 @@ import java.util.HashMap;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.Map.Entry;
|
import java.util.Map.Entry;
|
||||||
|
|
||||||
import static com.intellectualcrafters.plot.util.ReflectionUtils.getRefClass;
|
import static com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils.getRefClass;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An utility that can be used to send chunks, rather than using bukkit code
|
* An utility that can be used to send chunks, rather than using bukkit code
|
|
@ -1,9 +1,9 @@
|
||||||
package com.plotsquared.bukkit.util;
|
package com.github.intellectualsites.plotsquared.bukkit.util;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.bukkit.generator.BukkitAugmentedGenerator;
|
||||||
import com.intellectualcrafters.plot.generator.GeneratorWrapper;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.intellectualcrafters.plot.util.SetupUtils;
|
import com.github.intellectualsites.plotsquared.plot.generator.GeneratorWrapper;
|
||||||
import com.plotsquared.bukkit.generator.BukkitAugmentedGenerator;
|
import com.github.intellectualsites.plotsquared.plot.util.SetupUtils;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
import org.bukkit.generator.BlockPopulator;
|
import org.bukkit.generator.BlockPopulator;
|
||||||
import org.bukkit.generator.ChunkGenerator;
|
import org.bukkit.generator.ChunkGenerator;
|
|
@ -1,9 +1,9 @@
|
||||||
package com.plotsquared.bukkit.util.block;
|
package com.github.intellectualsites.plotsquared.bukkit.util.block;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.PlotBlock;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotBlock;
|
||||||
import com.intellectualcrafters.plot.util.MainUtil;
|
import com.github.intellectualsites.plotsquared.plot.util.MainUtil;
|
||||||
import com.intellectualcrafters.plot.util.StringMan;
|
import com.github.intellectualsites.plotsquared.plot.util.StringMan;
|
||||||
import com.intellectualcrafters.plot.util.block.BasicLocalBlockQueue;
|
import com.github.intellectualsites.plotsquared.plot.util.block.BasicLocalBlockQueue;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Chunk;
|
import org.bukkit.Chunk;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
|
@ -1,18 +1,18 @@
|
||||||
package com.plotsquared.bukkit.util.block;
|
package com.github.intellectualsites.plotsquared.bukkit.util.block;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.ChunkWrapper;
|
import com.github.intellectualsites.plotsquared.bukkit.util.SendChunk;
|
||||||
import com.intellectualcrafters.plot.object.PlotBlock;
|
import com.github.intellectualsites.plotsquared.plot.object.ChunkWrapper;
|
||||||
import com.intellectualcrafters.plot.util.MainUtil;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotBlock;
|
||||||
import com.intellectualcrafters.plot.util.ReflectionUtils;
|
import com.github.intellectualsites.plotsquared.plot.util.MainUtil;
|
||||||
import com.intellectualcrafters.plot.util.TaskManager;
|
import com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils;
|
||||||
import com.plotsquared.bukkit.util.SendChunk;
|
import com.github.intellectualsites.plotsquared.plot.util.TaskManager;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Chunk;
|
import org.bukkit.Chunk;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import static com.intellectualcrafters.plot.util.ReflectionUtils.getRefClass;
|
import static com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils.getRefClass;
|
||||||
|
|
||||||
public class BukkitLocalQueue_1_7 extends BukkitLocalQueue<PlotBlock[]> {
|
public class BukkitLocalQueue_1_7 extends BukkitLocalQueue<PlotBlock[]> {
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
package com.plotsquared.bukkit.util.block;
|
package com.github.intellectualsites.plotsquared.bukkit.util.block;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.ChunkWrapper;
|
import com.github.intellectualsites.plotsquared.bukkit.util.SendChunk;
|
||||||
import com.intellectualcrafters.plot.object.PlotBlock;
|
import com.github.intellectualsites.plotsquared.plot.object.ChunkWrapper;
|
||||||
import com.intellectualcrafters.plot.util.MainUtil;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotBlock;
|
||||||
import com.intellectualcrafters.plot.util.ReflectionUtils;
|
import com.github.intellectualsites.plotsquared.plot.util.MainUtil;
|
||||||
import com.intellectualcrafters.plot.util.ReflectionUtils.RefClass;
|
import com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils;
|
||||||
import com.intellectualcrafters.plot.util.ReflectionUtils.RefMethod;
|
import com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils.RefClass;
|
||||||
import com.intellectualcrafters.plot.util.TaskManager;
|
import com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils.RefMethod;
|
||||||
import com.plotsquared.bukkit.util.SendChunk;
|
import com.github.intellectualsites.plotsquared.plot.util.TaskManager;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Chunk;
|
import org.bukkit.Chunk;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
|
@ -15,7 +15,7 @@ import org.bukkit.block.Block;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import static com.intellectualcrafters.plot.util.ReflectionUtils.getRefClass;
|
import static com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils.getRefClass;
|
||||||
|
|
||||||
public class BukkitLocalQueue_1_8 extends BukkitLocalQueue<PlotBlock[]> {
|
public class BukkitLocalQueue_1_8 extends BukkitLocalQueue<PlotBlock[]> {
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
package com.plotsquared.bukkit.util.block;
|
package com.github.intellectualsites.plotsquared.bukkit.util.block;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.ChunkLoc;
|
import com.github.intellectualsites.plotsquared.bukkit.util.SendChunk;
|
||||||
import com.intellectualcrafters.plot.object.ChunkWrapper;
|
import com.github.intellectualsites.plotsquared.plot.object.ChunkLoc;
|
||||||
import com.intellectualcrafters.plot.object.PseudoRandom;
|
import com.github.intellectualsites.plotsquared.plot.object.ChunkWrapper;
|
||||||
import com.intellectualcrafters.plot.util.ChunkManager;
|
import com.github.intellectualsites.plotsquared.plot.object.PseudoRandom;
|
||||||
import com.intellectualcrafters.plot.util.MainUtil;
|
import com.github.intellectualsites.plotsquared.plot.util.ChunkManager;
|
||||||
import com.intellectualcrafters.plot.util.ReflectionUtils;
|
import com.github.intellectualsites.plotsquared.plot.util.MainUtil;
|
||||||
import com.intellectualcrafters.plot.util.TaskManager;
|
import com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils;
|
||||||
import com.intellectualcrafters.plot.util.block.BasicLocalBlockQueue;
|
import com.github.intellectualsites.plotsquared.plot.util.TaskManager;
|
||||||
import com.plotsquared.bukkit.util.SendChunk;
|
import com.github.intellectualsites.plotsquared.plot.util.block.BasicLocalBlockQueue;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Chunk;
|
import org.bukkit.Chunk;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
|
@ -18,7 +18,7 @@ import java.lang.reflect.Field;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import static com.intellectualcrafters.plot.util.ReflectionUtils.getRefClass;
|
import static com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils.getRefClass;
|
||||||
|
|
||||||
public class BukkitLocalQueue_1_8_3 extends BukkitLocalQueue<char[]> {
|
public class BukkitLocalQueue_1_8_3 extends BukkitLocalQueue<char[]> {
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
package com.plotsquared.bukkit.util.block;
|
package com.github.intellectualsites.plotsquared.bukkit.util.block;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.ChunkWrapper;
|
import com.github.intellectualsites.plotsquared.plot.object.ChunkWrapper;
|
||||||
import com.intellectualcrafters.plot.object.PseudoRandom;
|
import com.github.intellectualsites.plotsquared.plot.object.PseudoRandom;
|
||||||
import com.intellectualcrafters.plot.util.MainUtil;
|
import com.github.intellectualsites.plotsquared.plot.util.MainUtil;
|
||||||
import com.intellectualcrafters.plot.util.ReflectionUtils;
|
import com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils;
|
||||||
import com.intellectualcrafters.plot.util.block.BasicLocalBlockQueue;
|
import com.github.intellectualsites.plotsquared.plot.util.block.BasicLocalBlockQueue;
|
||||||
import org.bukkit.Chunk;
|
import org.bukkit.Chunk;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
|
@ -13,7 +13,7 @@ import java.lang.reflect.Field;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import static com.intellectualcrafters.plot.util.ReflectionUtils.getRefClass;
|
import static com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils.getRefClass;
|
||||||
|
|
||||||
public class BukkitLocalQueue_1_9 extends BukkitLocalQueue<char[]> {
|
public class BukkitLocalQueue_1_9 extends BukkitLocalQueue<char[]> {
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
package com.plotsquared.bukkit.util.block;
|
package com.github.intellectualsites.plotsquared.bukkit.util.block;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.ChunkWrapper;
|
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
|
||||||
import com.intellectualcrafters.plot.object.Location;
|
import com.github.intellectualsites.plotsquared.plot.object.ChunkWrapper;
|
||||||
import com.intellectualcrafters.plot.object.PlotBlock;
|
import com.github.intellectualsites.plotsquared.plot.object.Location;
|
||||||
import com.intellectualcrafters.plot.util.MainUtil;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotBlock;
|
||||||
import com.intellectualcrafters.plot.util.block.ScopedLocalBlockQueue;
|
import com.github.intellectualsites.plotsquared.plot.util.MainUtil;
|
||||||
import com.plotsquared.bukkit.util.BukkitUtil;
|
import com.github.intellectualsites.plotsquared.plot.util.block.ScopedLocalBlockQueue;
|
||||||
import org.bukkit.Chunk;
|
import org.bukkit.Chunk;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.plotsquared.nukkit.uuid;
|
package com.github.intellectualsites.plotsquared.bukkit.uuid;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FilenameFilter;
|
import java.io.FilenameFilter;
|
|
@ -1,10 +1,10 @@
|
||||||
package com.plotsquared.bukkit.uuid;
|
package com.github.intellectualsites.plotsquared.bukkit.uuid;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.OfflinePlotPlayer;
|
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitOfflinePlayer;
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
|
||||||
import com.intellectualcrafters.plot.uuid.UUIDWrapper;
|
import com.github.intellectualsites.plotsquared.plot.object.OfflinePlotPlayer;
|
||||||
import com.plotsquared.bukkit.object.BukkitOfflinePlayer;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
import com.plotsquared.bukkit.object.BukkitPlayer;
|
import com.github.intellectualsites.plotsquared.plot.uuid.UUIDWrapper;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.OfflinePlayer;
|
import org.bukkit.OfflinePlayer;
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
package com.plotsquared.bukkit.uuid;
|
package com.github.intellectualsites.plotsquared.bukkit.uuid;
|
||||||
|
|
||||||
|
import com.github.intellectualsites.plotsquared.bukkit.util.NbtFactory;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.config.C;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.config.Settings;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.OfflinePlotPlayer;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.RunnableVal;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.StringWrapper;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.util.StringMan;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.util.TaskManager;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.util.UUIDHandler;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.util.UUIDHandlerImplementation;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.util.expiry.ExpireManager;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.uuid.UUIDWrapper;
|
||||||
import com.google.common.collect.HashBiMap;
|
import com.google.common.collect.HashBiMap;
|
||||||
import com.google.common.collect.Sets;
|
import com.google.common.collect.Sets;
|
||||||
import com.intellectualcrafters.plot.PS;
|
|
||||||
import com.intellectualcrafters.plot.config.C;
|
|
||||||
import com.intellectualcrafters.plot.config.Settings;
|
|
||||||
import com.intellectualcrafters.plot.object.OfflinePlotPlayer;
|
|
||||||
import com.intellectualcrafters.plot.object.RunnableVal;
|
|
||||||
import com.intellectualcrafters.plot.object.StringWrapper;
|
|
||||||
import com.intellectualcrafters.plot.util.StringMan;
|
|
||||||
import com.intellectualcrafters.plot.util.TaskManager;
|
|
||||||
import com.intellectualcrafters.plot.util.UUIDHandler;
|
|
||||||
import com.intellectualcrafters.plot.util.UUIDHandlerImplementation;
|
|
||||||
import com.intellectualcrafters.plot.util.expiry.ExpireManager;
|
|
||||||
import com.intellectualcrafters.plot.uuid.UUIDWrapper;
|
|
||||||
import com.plotsquared.bukkit.util.NbtFactory;
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package com.plotsquared.bukkit.uuid;
|
package com.github.intellectualsites.plotsquared.bukkit.uuid;
|
||||||
|
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.OfflinePlotPlayer;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
import com.google.common.base.Charsets;
|
import com.google.common.base.Charsets;
|
||||||
import com.intellectualcrafters.plot.object.OfflinePlotPlayer;
|
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
|
||||||
import org.bukkit.OfflinePlayer;
|
import org.bukkit.OfflinePlayer;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
|
@ -1,14 +1,14 @@
|
||||||
package com.plotsquared.bukkit.uuid;
|
package com.github.intellectualsites.plotsquared.bukkit.uuid;
|
||||||
|
|
||||||
|
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitOfflinePlayer;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.OfflinePlotPlayer;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.StringWrapper;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.util.UUIDHandler;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.uuid.UUIDWrapper;
|
||||||
import com.google.common.base.Charsets;
|
import com.google.common.base.Charsets;
|
||||||
import com.google.common.collect.BiMap;
|
import com.google.common.collect.BiMap;
|
||||||
import com.intellectualcrafters.plot.PS;
|
|
||||||
import com.intellectualcrafters.plot.object.OfflinePlotPlayer;
|
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
|
||||||
import com.intellectualcrafters.plot.object.StringWrapper;
|
|
||||||
import com.intellectualcrafters.plot.util.UUIDHandler;
|
|
||||||
import com.intellectualcrafters.plot.uuid.UUIDWrapper;
|
|
||||||
import com.plotsquared.bukkit.object.BukkitOfflinePlayer;
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.OfflinePlayer;
|
import org.bukkit.OfflinePlayer;
|
||||||
import org.bukkit.Server;
|
import org.bukkit.Server;
|
|
@ -1,17 +1,17 @@
|
||||||
package com.plotsquared.bukkit.uuid;
|
package com.github.intellectualsites.plotsquared.bukkit.uuid;
|
||||||
|
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.config.C;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.config.Settings;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.database.SQLite;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.RunnableVal;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.object.StringWrapper;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.util.MainUtil;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.util.TaskManager;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.util.UUIDHandler;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.util.UUIDHandlerImplementation;
|
||||||
|
import com.github.intellectualsites.plotsquared.plot.uuid.UUIDWrapper;
|
||||||
import com.google.common.collect.HashBiMap;
|
import com.google.common.collect.HashBiMap;
|
||||||
import com.intellectualcrafters.plot.PS;
|
|
||||||
import com.intellectualcrafters.plot.config.C;
|
|
||||||
import com.intellectualcrafters.plot.config.Settings;
|
|
||||||
import com.intellectualcrafters.plot.database.SQLite;
|
|
||||||
import com.intellectualcrafters.plot.object.RunnableVal;
|
|
||||||
import com.intellectualcrafters.plot.object.StringWrapper;
|
|
||||||
import com.intellectualcrafters.plot.util.MainUtil;
|
|
||||||
import com.intellectualcrafters.plot.util.TaskManager;
|
|
||||||
import com.intellectualcrafters.plot.util.UUIDHandler;
|
|
||||||
import com.intellectualcrafters.plot.util.UUIDHandlerImplementation;
|
|
||||||
import com.intellectualcrafters.plot.uuid.UUIDWrapper;
|
|
||||||
import org.json.simple.JSONArray;
|
import org.json.simple.JSONArray;
|
||||||
import org.json.simple.JSONObject;
|
import org.json.simple.JSONObject;
|
||||||
import org.json.simple.parser.JSONParser;
|
import org.json.simple.parser.JSONParser;
|
|
@ -1,17 +1,17 @@
|
||||||
package com.intellectualcrafters.plot.api;
|
package com.github.intellectualsites.plotsquared.plot.api;
|
||||||
|
|
||||||
import com.intellectualcrafters.configuration.file.YamlConfiguration;
|
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.configuration.file.YamlConfiguration;
|
||||||
import com.intellectualcrafters.plot.commands.SubCommand;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.intellectualcrafters.plot.config.C;
|
import com.github.intellectualsites.plotsquared.plot.commands.SubCommand;
|
||||||
import com.intellectualcrafters.plot.flag.Flag;
|
import com.github.intellectualsites.plotsquared.plot.config.C;
|
||||||
import com.intellectualcrafters.plot.flag.FlagManager;
|
import com.github.intellectualsites.plotsquared.plot.flag.Flag;
|
||||||
import com.intellectualcrafters.plot.flag.Flags;
|
import com.github.intellectualsites.plotsquared.plot.flag.FlagManager;
|
||||||
import com.intellectualcrafters.plot.object.*;
|
import com.github.intellectualsites.plotsquared.plot.flag.Flags;
|
||||||
import com.intellectualcrafters.plot.util.*;
|
import com.github.intellectualsites.plotsquared.plot.object.*;
|
||||||
import com.intellectualcrafters.plot.util.block.GlobalBlockQueue;
|
import com.github.intellectualsites.plotsquared.plot.util.*;
|
||||||
import com.intellectualcrafters.plot.uuid.UUIDWrapper;
|
import com.github.intellectualsites.plotsquared.plot.util.block.GlobalBlockQueue;
|
||||||
import com.plotsquared.bukkit.util.BukkitUtil;
|
import com.github.intellectualsites.plotsquared.plot.uuid.UUIDWrapper;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.OfflinePlayer;
|
import org.bukkit.OfflinePlayer;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
|
@ -28,7 +28,7 @@ import java.util.*;
|
||||||
* <li>{@link BukkitUtil}</li>
|
* <li>{@link BukkitUtil}</li>
|
||||||
* <li>{@link PlotPlayer}</li>
|
* <li>{@link PlotPlayer}</li>
|
||||||
* <li>{@link Plot}</li>
|
* <li>{@link Plot}</li>
|
||||||
* <li>{@link com.intellectualcrafters.plot.object.Location}</li>
|
* <li>{@link com.github.intellectualsites.plotsquared.plot.object.Location}</li>
|
||||||
* <li>{@link PlotArea}</li>
|
* <li>{@link PlotArea}</li>
|
||||||
* <li>{@link PS}</li>
|
* <li>{@link PS}</li>
|
||||||
* </ul>
|
* </ul>
|
|
@ -1,5 +1,5 @@
|
||||||
name: ${name}
|
name: ${name}
|
||||||
main: com.plotsquared.bukkit.BukkitMain
|
main: BukkitMain
|
||||||
version: ${version}
|
version: ${version}
|
||||||
load: STARTUP
|
load: STARTUP
|
||||||
description: >
|
description: >
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.plotsquared.general.commands;
|
package com.github.intellectualsites.plotsquared.commands;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.object.PlotId;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotId;
|
||||||
|
|
||||||
public abstract class Argument<T> {
|
public abstract class Argument<T> {
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
package com.plotsquared.general.commands;
|
package com.github.intellectualsites.plotsquared.commands;
|
||||||
|
|
||||||
import com.intellectualcrafters.configuration.file.YamlConfiguration;
|
import com.github.intellectualsites.plotsquared.configuration.file.YamlConfiguration;
|
||||||
import com.intellectualcrafters.plot.PS;
|
import com.github.intellectualsites.plotsquared.plot.PS;
|
||||||
import com.intellectualcrafters.plot.commands.CommandCategory;
|
import com.github.intellectualsites.plotsquared.plot.commands.CommandCategory;
|
||||||
import com.intellectualcrafters.plot.commands.MainCommand;
|
import com.github.intellectualsites.plotsquared.plot.commands.MainCommand;
|
||||||
import com.intellectualcrafters.plot.commands.RequiredType;
|
import com.github.intellectualsites.plotsquared.plot.commands.RequiredType;
|
||||||
import com.intellectualcrafters.plot.config.C;
|
import com.github.intellectualsites.plotsquared.plot.config.C;
|
||||||
import com.intellectualcrafters.plot.object.PlotMessage;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotMessage;
|
||||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
import com.github.intellectualsites.plotsquared.plot.object.PlotPlayer;
|
||||||
import com.intellectualcrafters.plot.object.RunnableVal2;
|
import com.github.intellectualsites.plotsquared.plot.object.RunnableVal2;
|
||||||
import com.intellectualcrafters.plot.object.RunnableVal3;
|
import com.github.intellectualsites.plotsquared.plot.object.RunnableVal3;
|
||||||
import com.intellectualcrafters.plot.util.*;
|
import com.github.intellectualsites.plotsquared.plot.util.*;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.lang.annotation.Annotation;
|
import java.lang.annotation.Annotation;
|
|
@ -1,6 +1,6 @@
|
||||||
package com.plotsquared.general.commands;
|
package com.github.intellectualsites.plotsquared.commands;
|
||||||
|
|
||||||
import com.intellectualcrafters.plot.commands.RequiredType;
|
import com.github.intellectualsites.plotsquared.plot.commands.RequiredType;
|
||||||
|
|
||||||
public interface CommandCaller {
|
public interface CommandCaller {
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue