Moved more packaged based on feedback

This commit is contained in:
MattBDev
2020-04-10 20:19:18 -04:00
parent 5be2dfa747
commit dfa977a020
437 changed files with 2995 additions and 2871 deletions

View File

@ -45,31 +45,31 @@ processResources {
//noinspection GroovyAssignabilityCheck
jar.archiveFileName = "PlotSquared-BukkitAPI-${project.parent.version}.jar"
jar.destinationDirectory = file("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-BukkitAPI/" + project.parent.version)
jar.destinationDirectory = file("../mvn/com/plotsquared/PlotSquared-BukkitAPI/" + project.parent.version)
task createPom {
doLast {
pom {
project {
groupId = "com.github.intellectualsites.plotsquared"
groupId = "com.plotsquared"
artifactId = "PlotSquared-BukkitAPI"
version = project.parent.version
}
}.writeTo("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-BukkitAPI/${project.parent.version}/PlotSquared-BukkitAPI-${project.parent.version}.pom")
}.writeTo("../mvn/com/plotsquared/PlotSquared-BukkitAPI/${project.parent.version}/PlotSquared-BukkitAPI-${project.parent.version}.pom")
pom {
project {
groupId = "com.github.intellectualsites.plotsquared"
groupId = "com.plotsquared"
artifactId = "PlotSquared-BukkitAPI"
version = "latest"
}
}.writeTo("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-BukkitAPI/latest/PlotSquared-BukkitAPI-latest.pom")
}.writeTo("../mvn/com/plotsquared/PlotSquared-BukkitAPI/latest/PlotSquared-BukkitAPI-latest.pom")
}
}
task copyFiles {
doLast {
copy {
from("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-BukkitAPI/${project.parent.version}/")
into("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-BukkitAPI/latest/")
from("../mvn/com/plotsquared/PlotSquared-BukkitAPI/${project.parent.version}/")
into("../mvn/com/plotsquared/PlotSquared-BukkitAPI/latest/")
include("PlotSquared-BukkitAPI*.jar")
rename("PlotSquared-BukkitAPI-${project.parent.version}.jar", "PlotSquared-BukkitAPI-latest.jar")
}
@ -83,8 +83,8 @@ shadowJar {
include(dependency("io.papermc:paperlib:1.0.2"))
include(dependency("net.kyori:text-adapter-bukkit:3.0.3"))
}
relocate('net.kyori.text', 'com.github.intellectualsites.plotsquared.formatting.text')
relocate("io.papermc.lib", "com.github.intellectualsites.plotsquared.bukkit.paperlib")
relocate('net.kyori.text', 'com.plotsquared.formatting.text')
relocate("io.papermc.lib", "com.plotsquared.bukkit.paperlib")
archiveFileName = "${parent.name}-${project.name}-${parent.version}.jar"
destinationDirectory = file "../target"
}

View File

@ -1,8 +0,0 @@
package com.github.intellectualsites.plotsquared.bukkit.util;
import com.github.intellectualsites.plotsquared.generator.HybridUtils;
public class BukkitHybridUtils extends HybridUtils {
}

View File

@ -1,5 +0,0 @@
package com.github.intellectualsites.plotsquared.bukkit.util;
public class BukkitVersion {
public static int[] v1_13_2 = {1, 13, 2};
}

View File

@ -1,22 +1,22 @@
package com.github.intellectualsites.plotsquared.bukkit.util;
package com.plotsquared.bukkit;
import com.github.intellectualsites.plotsquared.bukkit.BukkitMain;
import com.github.intellectualsites.plotsquared.bukkit.object.entity.EntityWrapper;
import com.github.intellectualsites.plotsquared.bukkit.object.entity.ReplicatingEntityWrapper;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.generator.AugmentedUtils;
import com.github.intellectualsites.plotsquared.listener.WEExtent;
import com.github.intellectualsites.plotsquared.plot.object.Location;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
import com.github.intellectualsites.plotsquared.plot.object.PlotLoc;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal;
import com.github.intellectualsites.plotsquared.util.ChunkManager;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.github.intellectualsites.plotsquared.queue.GlobalBlockQueue;
import com.github.intellectualsites.plotsquared.queue.LocalBlockQueue;
import com.github.intellectualsites.plotsquared.queue.ScopedLocalBlockQueue;
import com.github.intellectualsites.plotsquared.util.RegionUtil;
import com.plotsquared.bukkit.entity.EntityWrapper;
import com.plotsquared.bukkit.entity.ReplicatingEntityWrapper;
import com.plotsquared.PlotSquared;
import com.plotsquared.bukkit.util.BukkitUtil;
import com.plotsquared.generator.AugmentedUtils;
import com.plotsquared.listener.WEExtent;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.location.PlotLoc;
import com.plotsquared.util.tasks.RunnableVal;
import com.plotsquared.util.ChunkManager;
import com.plotsquared.util.tasks.TaskManager;
import com.plotsquared.queue.GlobalBlockQueue;
import com.plotsquared.queue.LocalBlockQueue;
import com.plotsquared.queue.ScopedLocalBlockQueue;
import com.plotsquared.util.RegionUtil;
import com.sk89q.worldedit.bukkit.BukkitWorld;
import com.sk89q.worldedit.math.BlockVector2;
import com.sk89q.worldedit.math.BlockVector3;

View File

@ -1,9 +1,10 @@
package com.github.intellectualsites.plotsquared.bukkit.util;
package com.plotsquared.bukkit;
import com.github.intellectualsites.plotsquared.bukkit.commands.DebugUUID;
import com.github.intellectualsites.plotsquared.commands.MainCommand;
import com.github.intellectualsites.plotsquared.player.ConsolePlayer;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.plotsquared.bukkit.commands.DebugUUID;
import com.plotsquared.bukkit.util.BukkitUtil;
import com.plotsquared.commands.MainCommand;
import com.plotsquared.player.ConsolePlayer;
import com.plotsquared.player.PlotPlayer;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
@ -48,12 +49,12 @@ public class BukkitCommand implements CommandExecutor, TabCompleter {
if (args.length == 0) {
return Collections.singletonList("plots");
}
Collection<com.github.intellectualsites.plotsquared.commands.Command> objects = MainCommand.getInstance().tab(player, args, s.endsWith(" "));
Collection<com.plotsquared.commands.Command> objects = MainCommand.getInstance().tab(player, args, s.endsWith(" "));
if (objects == null) {
return null;
}
List<String> result = new ArrayList<>();
for (com.github.intellectualsites.plotsquared.commands.Command o : objects) {
for (com.plotsquared.commands.Command o : objects) {
result.add(o.toString());
}
return result.isEmpty() ? null : result;

View File

@ -1,71 +1,69 @@
package com.github.intellectualsites.plotsquared.bukkit;
package com.plotsquared.bukkit;
import com.github.intellectualsites.plotsquared.bukkit.generator.BukkitPlotGenerator;
import com.github.intellectualsites.plotsquared.bukkit.listeners.ChunkListener;
import com.github.intellectualsites.plotsquared.bukkit.listeners.EntitySpawnListener;
import com.github.intellectualsites.plotsquared.bukkit.listeners.PlayerEvents;
import com.github.intellectualsites.plotsquared.bukkit.listeners.SingleWorldListener;
import com.github.intellectualsites.plotsquared.bukkit.listeners.WorldEvents;
import com.github.intellectualsites.plotsquared.bukkit.placeholders.PlaceholderFormatter;
import com.github.intellectualsites.plotsquared.bukkit.placeholders.Placeholders;
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitChatManager;
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitChunkManager;
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitCommand;
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitEconHandler;
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitHybridUtils;
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitInventoryUtil;
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitSchematicHandler;
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitSetupUtils;
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitTaskManager;
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
import com.github.intellectualsites.plotsquared.bukkit.util.Metrics;
import com.github.intellectualsites.plotsquared.bukkit.util.SetGenCB;
import com.github.intellectualsites.plotsquared.bukkit.util.UpdateUtility;
import com.github.intellectualsites.plotsquared.bukkit.util.block.BukkitLocalQueue;
import com.github.intellectualsites.plotsquared.bukkit.uuid.DefaultUUIDWrapper;
import com.github.intellectualsites.plotsquared.bukkit.uuid.FileUUIDHandler;
import com.github.intellectualsites.plotsquared.bukkit.uuid.LowerOfflineUUIDWrapper;
import com.github.intellectualsites.plotsquared.bukkit.uuid.OfflineUUIDWrapper;
import com.github.intellectualsites.plotsquared.bukkit.uuid.SQLUUIDHandler;
import com.github.intellectualsites.plotsquared.configuration.ConfigurationSection;
import com.github.intellectualsites.plotsquared.IPlotMain;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.config.ChatFormatter;
import com.github.intellectualsites.plotsquared.plot.config.ConfigurationNode;
import com.github.intellectualsites.plotsquared.plot.config.Settings;
import com.github.intellectualsites.plotsquared.generator.GeneratorWrapper;
import com.github.intellectualsites.plotsquared.generator.HybridGen;
import com.github.intellectualsites.plotsquared.generator.HybridUtils;
import com.github.intellectualsites.plotsquared.generator.IndependentPlotGenerator;
import com.github.intellectualsites.plotsquared.listener.PlotListener;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
import com.github.intellectualsites.plotsquared.plot.object.PlotId;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.plot.object.SetupObject;
import com.github.intellectualsites.plotsquared.plot.object.message.PlainChatManager;
import com.github.intellectualsites.plotsquared.plot.object.worlds.PlotAreaManager;
import com.github.intellectualsites.plotsquared.plot.object.worlds.SinglePlotArea;
import com.github.intellectualsites.plotsquared.plot.object.worlds.SinglePlotAreaManager;
import com.github.intellectualsites.plotsquared.plot.object.worlds.SingleWorldGenerator;
import com.github.intellectualsites.plotsquared.util.ChatManager;
import com.github.intellectualsites.plotsquared.util.ChunkManager;
import com.github.intellectualsites.plotsquared.util.ConsoleColors;
import com.github.intellectualsites.plotsquared.util.EconHandler;
import com.github.intellectualsites.plotsquared.util.InventoryUtil;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.PremiumVerification;
import com.github.intellectualsites.plotsquared.util.ReflectionUtils;
import com.github.intellectualsites.plotsquared.util.SchematicHandler;
import com.github.intellectualsites.plotsquared.util.SetupUtils;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandlerImplementation;
import com.github.intellectualsites.plotsquared.util.WorldUtil;
import com.github.intellectualsites.plotsquared.queue.QueueProvider;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDWrapper;
import com.plotsquared.bukkit.generator.BukkitPlotGenerator;
import com.plotsquared.bukkit.listeners.ChunkListener;
import com.plotsquared.bukkit.listeners.EntitySpawnListener;
import com.plotsquared.bukkit.listeners.PlayerEvents;
import com.plotsquared.bukkit.listeners.SingleWorldListener;
import com.plotsquared.bukkit.listeners.WorldEvents;
import com.plotsquared.bukkit.placeholders.PlaceholderFormatter;
import com.plotsquared.bukkit.placeholders.Placeholders;
import com.plotsquared.bukkit.util.BukkitChatManager;
import com.plotsquared.bukkit.util.BukkitEconHandler;
import com.plotsquared.bukkit.generator.BukkitHybridUtils;
import com.plotsquared.bukkit.util.BukkitInventoryUtil;
import com.plotsquared.bukkit.schematic.BukkitSchematicHandler;
import com.plotsquared.bukkit.util.BukkitSetupUtils;
import com.plotsquared.bukkit.util.BukkitTaskManager;
import com.plotsquared.bukkit.util.BukkitUtil;
import com.plotsquared.bukkit.util.Metrics;
import com.plotsquared.bukkit.util.SetGenCB;
import com.plotsquared.bukkit.util.UpdateUtility;
import com.plotsquared.bukkit.util.block.BukkitLocalQueue;
import com.plotsquared.bukkit.util.uuid.DefaultUUIDWrapper;
import com.plotsquared.bukkit.util.uuid.FileUUIDHandler;
import com.plotsquared.bukkit.util.uuid.LowerOfflineUUIDWrapper;
import com.plotsquared.bukkit.util.uuid.OfflineUUIDWrapper;
import com.plotsquared.bukkit.util.uuid.SQLUUIDHandler;
import com.plotsquared.configuration.ConfigurationSection;
import com.plotsquared.IPlotMain;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.ChatFormatter;
import com.plotsquared.config.ConfigurationNode;
import com.plotsquared.config.Settings;
import com.plotsquared.generator.GeneratorWrapper;
import com.plotsquared.generator.HybridGen;
import com.plotsquared.generator.HybridUtils;
import com.plotsquared.generator.IndependentPlotGenerator;
import com.plotsquared.listener.PlotListener;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.plot.PlotId;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.plot.SetupObject;
import com.plotsquared.plot.message.PlainChatManager;
import com.plotsquared.plot.worlds.PlotAreaManager;
import com.plotsquared.plot.worlds.SinglePlotArea;
import com.plotsquared.plot.worlds.SinglePlotAreaManager;
import com.plotsquared.plot.worlds.SingleWorldGenerator;
import com.plotsquared.util.ChatManager;
import com.plotsquared.util.ChunkManager;
import com.plotsquared.util.ConsoleColors;
import com.plotsquared.util.EconHandler;
import com.plotsquared.util.InventoryUtil;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.PremiumVerification;
import com.plotsquared.util.ReflectionUtils;
import com.plotsquared.util.SchematicHandler;
import com.plotsquared.util.SetupUtils;
import com.plotsquared.util.StringMan;
import com.plotsquared.util.tasks.TaskManager;
import com.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.util.uuid.UUIDHandlerImplementation;
import com.plotsquared.util.WorldUtil;
import com.plotsquared.queue.QueueProvider;
import com.plotsquared.util.uuid.UUIDWrapper;
import com.sk89q.worldedit.WorldEdit;
import com.sk89q.worldedit.bukkit.WorldEditPlugin;
import com.sk89q.worldedit.extension.platform.Actor;
@ -101,8 +99,8 @@ import java.util.List;
import java.util.Map;
import java.util.UUID;
import static com.github.intellectualsites.plotsquared.util.PremiumVerification.getUserID;
import static com.github.intellectualsites.plotsquared.util.ReflectionUtils.getRefClass;
import static com.plotsquared.util.PremiumVerification.getUserID;
import static com.plotsquared.util.ReflectionUtils.getRefClass;
public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain {
@ -383,7 +381,7 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
case MINECART_TNT:
case BOAT:
if (Settings.Enabled_Components.KILL_ROAD_VEHICLES) {
com.github.intellectualsites.plotsquared.plot.object.Location
com.plotsquared.location.Location
location = BukkitUtil.getLocation(entity.getLocation());
Plot plot = location.getPlot();
if (plot == null) {
@ -440,7 +438,7 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
PlotId originalPlotId = (PlotId) meta.get(0).value();
if (originalPlotId != null) {
com.github.intellectualsites.plotsquared.plot.object.Location
com.plotsquared.location.Location
pLoc = BukkitUtil.getLocation(entity.getLocation());
PlotArea area = pLoc.getPlotArea();
if (area != null) {
@ -459,7 +457,7 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
}
} else {
//This is to apply the metadata to already spawned shulkers (see EntitySpawnListener.java)
com.github.intellectualsites.plotsquared.plot.object.Location
com.plotsquared.location.Location
pLoc = BukkitUtil.getLocation(entity.getLocation());
PlotArea area = pLoc.getPlotArea();
if (area != null) {

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.bukkit.chat;
package com.plotsquared.bukkit.chat;
import org.apache.commons.lang.Validate;

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.bukkit.chat;
package com.plotsquared.bukkit.chat;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.bukkit.chat;
package com.plotsquared.bukkit.chat;
import com.google.gson.stream.JsonWriter;

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.bukkit.chat;
package com.plotsquared.bukkit.chat;
import com.google.gson.stream.JsonWriter;
import org.bukkit.configuration.serialization.ConfigurationSerializable;

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.bukkit.chat;
package com.plotsquared.bukkit.chat;
import com.google.common.collect.BiMap;
import com.google.common.collect.ImmutableBiMap;

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.bukkit.chat;
package com.plotsquared.bukkit.chat;
import org.bukkit.Bukkit;

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.bukkit.chat;
package com.plotsquared.bukkit.chat;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableMap;

View File

@ -1,27 +1,27 @@
package com.github.intellectualsites.plotsquared.bukkit.commands;
package com.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.PlotSquared;
import com.github.intellectualsites.plotsquared.commands.CommandCategory;
import com.github.intellectualsites.plotsquared.commands.RequiredType;
import com.github.intellectualsites.plotsquared.commands.SubCommand;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.database.DBFunc;
import com.github.intellectualsites.plotsquared.player.OfflinePlotPlayer;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.plot.object.StringWrapper;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.github.intellectualsites.plotsquared.util.WorldUtil;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDWrapper;
import com.plotsquared.bukkit.util.uuid.DatFileFilter;
import com.plotsquared.bukkit.util.uuid.DefaultUUIDWrapper;
import com.plotsquared.bukkit.util.uuid.LowerOfflineUUIDWrapper;
import com.plotsquared.bukkit.util.uuid.OfflineUUIDWrapper;
import com.plotsquared.commands.Argument;
import com.plotsquared.commands.CommandDeclaration;
import com.plotsquared.PlotSquared;
import com.plotsquared.commands.CommandCategory;
import com.plotsquared.commands.RequiredType;
import com.plotsquared.commands.SubCommand;
import com.plotsquared.config.Captions;
import com.plotsquared.database.DBFunc;
import com.plotsquared.player.OfflinePlotPlayer;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.StringWrapper;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.StringMan;
import com.plotsquared.util.tasks.TaskManager;
import com.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.util.WorldUtil;
import com.plotsquared.util.uuid.UUIDWrapper;
import com.google.common.collect.Sets;
import java.io.File;

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.bukkit.object.entity;
package com.plotsquared.bukkit.entity;
class AgeableStats {

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.bukkit.object.entity;
package com.plotsquared.bukkit.entity;
class ArmorStandStats {

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.bukkit.object.entity;
package com.plotsquared.bukkit.entity;
class EntityBaseStats {

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.bukkit.object.entity;
package com.plotsquared.bukkit.entity;
import lombok.Getter;
import lombok.NonNull;

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.bukkit.object.entity;
package com.plotsquared.bukkit.entity;
import org.bukkit.entity.Horse;

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.bukkit.object.entity;
package com.plotsquared.bukkit.entity;
import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.PotionEffect;

View File

@ -1,6 +1,6 @@
package com.github.intellectualsites.plotsquared.bukkit.object.entity;
package com.plotsquared.bukkit.entity;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.plotsquared.PlotSquared;
import org.bukkit.Art;
import org.bukkit.DyeColor;
import org.bukkit.Location;

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.bukkit.object.entity;
package com.plotsquared.bukkit.entity;
import org.bukkit.entity.AnimalTamer;

View File

@ -1,6 +1,6 @@
package com.github.intellectualsites.plotsquared.bukkit.object.entity;
package com.plotsquared.bukkit.entity;
import com.github.intellectualsites.plotsquared.bukkit.BukkitMain;
import com.plotsquared.bukkit.BukkitMain;
import org.bukkit.Chunk;
import org.bukkit.Location;
import org.bukkit.World;

View File

@ -1,6 +1,6 @@
package com.github.intellectualsites.plotsquared.bukkit.generator;
package com.plotsquared.bukkit.generator;
import com.github.intellectualsites.plotsquared.generator.AugmentedUtils;
import com.plotsquared.generator.AugmentedUtils;
import org.bukkit.Chunk;
import org.bukkit.World;
import org.bukkit.generator.BlockPopulator;

View File

@ -0,0 +1,8 @@
package com.plotsquared.bukkit.generator;
import com.plotsquared.generator.HybridUtils;
public class BukkitHybridUtils extends HybridUtils {
}

View File

@ -1,16 +1,16 @@
package com.github.intellectualsites.plotsquared.bukkit.generator;
package com.plotsquared.bukkit.generator;
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
import com.github.intellectualsites.plotsquared.bukkit.util.block.GenChunk;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.generator.GeneratorWrapper;
import com.github.intellectualsites.plotsquared.generator.IndependentPlotGenerator;
import com.github.intellectualsites.plotsquared.plot.object.ChunkWrapper;
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
import com.github.intellectualsites.plotsquared.plot.object.worlds.SingleWorldGenerator;
import com.github.intellectualsites.plotsquared.util.ChunkManager;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.queue.ScopedLocalBlockQueue;
import com.plotsquared.bukkit.util.BukkitUtil;
import com.plotsquared.bukkit.util.block.GenChunk;
import com.plotsquared.PlotSquared;
import com.plotsquared.generator.GeneratorWrapper;
import com.plotsquared.generator.IndependentPlotGenerator;
import com.plotsquared.location.ChunkWrapper;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.plot.worlds.SingleWorldGenerator;
import com.plotsquared.util.ChunkManager;
import com.plotsquared.util.MainUtil;
import com.plotsquared.queue.ScopedLocalBlockQueue;
import com.sk89q.worldedit.math.BlockVector2;
import lombok.Getter;
import org.bukkit.World;

View File

@ -1,13 +1,13 @@
package com.github.intellectualsites.plotsquared.bukkit.generator;
package com.plotsquared.bukkit.generator;
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.generator.IndependentPlotGenerator;
import com.github.intellectualsites.plotsquared.plot.object.Location;
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
import com.github.intellectualsites.plotsquared.plot.object.PlotId;
import com.github.intellectualsites.plotsquared.util.MathMan;
import com.github.intellectualsites.plotsquared.queue.ScopedLocalBlockQueue;
import com.plotsquared.bukkit.util.BukkitUtil;
import com.plotsquared.PlotSquared;
import com.plotsquared.generator.IndependentPlotGenerator;
import com.plotsquared.location.Location;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.plot.PlotId;
import com.plotsquared.util.MathMan;
import com.plotsquared.queue.ScopedLocalBlockQueue;
import com.sk89q.worldedit.bukkit.BukkitAdapter;
import java.util.Random;
import org.bukkit.World;

View File

@ -1,12 +1,12 @@
package com.github.intellectualsites.plotsquared.bukkit.generator;
package com.plotsquared.bukkit.generator;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.generator.IndependentPlotGenerator;
import com.github.intellectualsites.plotsquared.plot.object.ChunkWrapper;
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
import com.github.intellectualsites.plotsquared.queue.GlobalBlockQueue;
import com.github.intellectualsites.plotsquared.queue.LocalBlockQueue;
import com.github.intellectualsites.plotsquared.queue.ScopedLocalBlockQueue;
import com.plotsquared.PlotSquared;
import com.plotsquared.generator.IndependentPlotGenerator;
import com.plotsquared.location.ChunkWrapper;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.queue.GlobalBlockQueue;
import com.plotsquared.queue.LocalBlockQueue;
import com.plotsquared.queue.ScopedLocalBlockQueue;
import java.util.Random;
import org.bukkit.Chunk;
import org.bukkit.World;

View File

@ -1,13 +1,13 @@
package com.github.intellectualsites.plotsquared.bukkit.listeners;
package com.plotsquared.bukkit.listeners;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Settings;
import com.github.intellectualsites.plotsquared.plot.object.Location;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.util.ReflectionUtils.RefClass;
import com.github.intellectualsites.plotsquared.util.ReflectionUtils.RefField;
import com.github.intellectualsites.plotsquared.util.ReflectionUtils.RefMethod;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Settings;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.util.ReflectionUtils.RefClass;
import com.plotsquared.util.ReflectionUtils.RefField;
import com.plotsquared.util.ReflectionUtils.RefMethod;
import com.plotsquared.util.tasks.TaskManager;
import io.papermc.lib.PaperLib;
import org.bukkit.Bukkit;
import org.bukkit.Chunk;
@ -30,7 +30,7 @@ import org.bukkit.event.world.ChunkUnloadEvent;
import java.lang.reflect.Method;
import java.util.HashSet;
import static com.github.intellectualsites.plotsquared.util.ReflectionUtils.getRefClass;
import static com.plotsquared.util.ReflectionUtils.getRefClass;
@SuppressWarnings("unused") public class ChunkListener implements Listener {

View File

@ -1,12 +1,12 @@
package com.github.intellectualsites.plotsquared.bukkit.listeners;
package com.plotsquared.bukkit.listeners;
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Settings;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.DoneFlag;
import com.github.intellectualsites.plotsquared.plot.object.Location;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
import com.plotsquared.bukkit.util.BukkitUtil;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Settings;
import com.plotsquared.plot.flags.implementations.DoneFlag;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import io.papermc.lib.PaperLib;
import org.bukkit.Chunk;
import org.bukkit.World;

View File

@ -1,13 +1,13 @@
package com.github.intellectualsites.plotsquared.bukkit.listeners;
package com.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.Captions;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.ForcefieldFlag;
import com.github.intellectualsites.plotsquared.plot.object.Location;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.plotsquared.bukkit.player.BukkitPlayer;
import com.plotsquared.bukkit.util.BukkitUtil;
import com.plotsquared.config.Captions;
import com.plotsquared.plot.flags.implementations.ForcefieldFlag;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.Permissions;
import com.google.common.collect.Iterables;
import org.bukkit.entity.Player;
import org.bukkit.util.Vector;

View File

@ -1,33 +1,82 @@
package com.github.intellectualsites.plotsquared.bukkit.listeners;
package com.plotsquared.bukkit.listeners;
import com.destroystokyo.paper.MaterialTags;
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
import com.github.intellectualsites.plotsquared.bukkit.util.UpdateUtility;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.config.Settings;
import com.github.intellectualsites.plotsquared.database.DBFunc;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.*;
import com.github.intellectualsites.plotsquared.plot.flags.types.BlockTypeWrapper;
import com.github.intellectualsites.plotsquared.listener.PlayerBlockEventType;
import com.github.intellectualsites.plotsquared.listener.PlotListener;
import com.github.intellectualsites.plotsquared.plot.object.Location;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
import com.github.intellectualsites.plotsquared.plot.object.PlotHandler;
import com.github.intellectualsites.plotsquared.plot.object.PlotId;
import com.github.intellectualsites.plotsquared.plot.object.PlotInventory;
import com.github.intellectualsites.plotsquared.plot.object.message.PlotMessage;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.plot.object.StringWrapper;
import com.github.intellectualsites.plotsquared.util.EntityUtil;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.MathMan;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.github.intellectualsites.plotsquared.util.RegExUtil;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.bukkit.player.BukkitPlayer;
import com.plotsquared.bukkit.util.BukkitUtil;
import com.plotsquared.bukkit.util.UpdateUtility;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.database.DBFunc;
import com.plotsquared.plot.flags.implementations.AnimalAttackFlag;
import com.plotsquared.plot.flags.implementations.AnimalCapFlag;
import com.plotsquared.plot.flags.implementations.AnimalInteractFlag;
import com.plotsquared.plot.flags.implementations.BlockBurnFlag;
import com.plotsquared.plot.flags.implementations.BlockIgnitionFlag;
import com.plotsquared.plot.flags.implementations.BlockedCmdsFlag;
import com.plotsquared.plot.flags.implementations.BreakFlag;
import com.plotsquared.plot.flags.implementations.CoralDryFlag;
import com.plotsquared.plot.flags.implementations.DenyTeleportFlag;
import com.plotsquared.plot.flags.implementations.DisablePhysicsFlag;
import com.plotsquared.plot.flags.implementations.DoneFlag;
import com.plotsquared.plot.flags.implementations.DropProtectionFlag;
import com.plotsquared.plot.flags.implementations.EntityCapFlag;
import com.plotsquared.plot.flags.implementations.ExplosionFlag;
import com.plotsquared.plot.flags.implementations.GrassGrowFlag;
import com.plotsquared.plot.flags.implementations.HangingBreakFlag;
import com.plotsquared.plot.flags.implementations.HangingPlaceFlag;
import com.plotsquared.plot.flags.implementations.HostileAttackFlag;
import com.plotsquared.plot.flags.implementations.HostileCapFlag;
import com.plotsquared.plot.flags.implementations.HostileInteractFlag;
import com.plotsquared.plot.flags.implementations.IceFormFlag;
import com.plotsquared.plot.flags.implementations.IceMeltFlag;
import com.plotsquared.plot.flags.implementations.InstabreakFlag;
import com.plotsquared.plot.flags.implementations.InvincibleFlag;
import com.plotsquared.plot.flags.implementations.ItemDropFlag;
import com.plotsquared.plot.flags.implementations.KelpGrowFlag;
import com.plotsquared.plot.flags.implementations.LiquidFlowFlag;
import com.plotsquared.plot.flags.implementations.MiscBreakFlag;
import com.plotsquared.plot.flags.implementations.MiscCapFlag;
import com.plotsquared.plot.flags.implementations.MiscInteractFlag;
import com.plotsquared.plot.flags.implementations.MobCapFlag;
import com.plotsquared.plot.flags.implementations.MobPlaceFlag;
import com.plotsquared.plot.flags.implementations.MycelGrowFlag;
import com.plotsquared.plot.flags.implementations.PlaceFlag;
import com.plotsquared.plot.flags.implementations.PlayerInteractFlag;
import com.plotsquared.plot.flags.implementations.PveFlag;
import com.plotsquared.plot.flags.implementations.PvpFlag;
import com.plotsquared.plot.flags.implementations.RedstoneFlag;
import com.plotsquared.plot.flags.implementations.SnowFormFlag;
import com.plotsquared.plot.flags.implementations.SnowMeltFlag;
import com.plotsquared.plot.flags.implementations.SoilDryFlag;
import com.plotsquared.plot.flags.implementations.TamedAttackFlag;
import com.plotsquared.plot.flags.implementations.TamedInteractFlag;
import com.plotsquared.plot.flags.implementations.UntrustedVisitFlag;
import com.plotsquared.plot.flags.implementations.UseFlag;
import com.plotsquared.plot.flags.implementations.VehicleBreakFlag;
import com.plotsquared.plot.flags.implementations.VehicleCapFlag;
import com.plotsquared.plot.flags.implementations.VehicleUseFlag;
import com.plotsquared.plot.flags.implementations.VillagerInteractFlag;
import com.plotsquared.plot.flags.implementations.VineGrowFlag;
import com.plotsquared.plot.flags.types.BlockTypeWrapper;
import com.plotsquared.listener.PlayerBlockEventType;
import com.plotsquared.listener.PlotListener;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.plot.PlotHandler;
import com.plotsquared.plot.PlotId;
import com.plotsquared.plot.PlotInventory;
import com.plotsquared.plot.message.PlotMessage;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.StringWrapper;
import com.plotsquared.util.EntityUtil;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.MathMan;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.RegExUtil;
import com.plotsquared.util.tasks.TaskManager;
import com.plotsquared.util.uuid.UUIDHandler;
import com.sk89q.worldedit.bukkit.BukkitAdapter;
import com.sk89q.worldedit.world.block.BlockType;
import io.papermc.lib.PaperLib;
@ -2570,7 +2619,8 @@ public class PlayerEvents extends PlotListener implements Listener {
if (entity instanceof Monster && plot.getFlag(HostileInteractFlag.class)) {
return;
}
if ((entity instanceof Animals || entity instanceof Golem) && plot.getFlag(AnimalInteractFlag.class)) {
if ((entity instanceof Animals || entity instanceof Golem) && plot.getFlag(
AnimalInteractFlag.class)) {
return;
}
if (entity instanceof Tameable && ((Tameable) entity).isTamed() && plot

View File

@ -1,9 +1,9 @@
package com.github.intellectualsites.plotsquared.bukkit.listeners;
package com.plotsquared.bukkit.listeners;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.object.worlds.PlotAreaManager;
import com.github.intellectualsites.plotsquared.plot.object.worlds.SinglePlotAreaManager;
import com.github.intellectualsites.plotsquared.util.ReflectionUtils;
import com.plotsquared.PlotSquared;
import com.plotsquared.plot.worlds.PlotAreaManager;
import com.plotsquared.plot.worlds.SinglePlotAreaManager;
import com.plotsquared.util.ReflectionUtils;
import org.bukkit.Bukkit;
import org.bukkit.Chunk;
import org.bukkit.World;
@ -17,7 +17,7 @@ import org.bukkit.plugin.Plugin;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import static com.github.intellectualsites.plotsquared.util.ReflectionUtils.getRefClass;
import static com.plotsquared.util.ReflectionUtils.getRefClass;
@SuppressWarnings("unused") public class SingleWorldListener implements Listener {

View File

@ -1,10 +1,10 @@
package com.github.intellectualsites.plotsquared.bukkit.listeners;
package com.plotsquared.bukkit.listeners;
import com.github.intellectualsites.plotsquared.bukkit.generator.BukkitPlotGenerator;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.generator.GeneratorWrapper;
import com.github.intellectualsites.plotsquared.plot.object.worlds.PlotAreaManager;
import com.github.intellectualsites.plotsquared.plot.object.worlds.SinglePlotAreaManager;
import com.plotsquared.bukkit.generator.BukkitPlotGenerator;
import com.plotsquared.PlotSquared;
import com.plotsquared.generator.GeneratorWrapper;
import com.plotsquared.plot.worlds.PlotAreaManager;
import com.plotsquared.plot.worlds.SinglePlotAreaManager;
import org.bukkit.World;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;

View File

@ -1,8 +1,8 @@
package com.github.intellectualsites.plotsquared.bukkit.placeholders;
package com.plotsquared.bukkit.placeholders;
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
import com.github.intellectualsites.plotsquared.plot.config.ChatFormatter;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.plotsquared.bukkit.player.BukkitPlayer;
import com.plotsquared.config.ChatFormatter;
import com.plotsquared.player.PlotPlayer;
import me.clip.placeholderapi.PlaceholderAPI;
import org.bukkit.entity.Player;

View File

@ -1,9 +1,9 @@
package com.github.intellectualsites.plotsquared.bukkit.placeholders;
package com.plotsquared.bukkit.placeholders;
import com.github.intellectualsites.plotsquared.bukkit.BukkitMain;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.bukkit.BukkitMain;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.uuid.UUIDHandler;
import me.clip.placeholderapi.PlaceholderAPIPlugin;
import me.clip.placeholderapi.expansion.PlaceholderExpansion;
import org.bukkit.Bukkit;

View File

@ -1,6 +1,6 @@
package com.github.intellectualsites.plotsquared.bukkit.object;
package com.plotsquared.bukkit.player;
import com.github.intellectualsites.plotsquared.player.OfflinePlotPlayer;
import com.plotsquared.player.OfflinePlotPlayer;
import org.bukkit.OfflinePlayer;
import org.jetbrains.annotations.NotNull;

View File

@ -1,16 +1,16 @@
package com.github.intellectualsites.plotsquared.bukkit.object;
package com.plotsquared.bukkit.player;
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.object.Location;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.plot.object.TeleportCause;
import com.github.intellectualsites.plotsquared.util.EconHandler;
import com.github.intellectualsites.plotsquared.util.MathMan;
import com.github.intellectualsites.plotsquared.plot.PlotWeather;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.bukkit.util.BukkitUtil;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.location.Location;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.events.TeleportCause;
import com.plotsquared.util.EconHandler;
import com.plotsquared.util.MathMan;
import com.plotsquared.plot.PlotWeather;
import com.plotsquared.util.StringMan;
import com.plotsquared.util.uuid.UUIDHandler;
import com.sk89q.worldedit.bukkit.BukkitAdapter;
import com.sk89q.worldedit.extension.platform.Actor;
import com.sk89q.worldedit.world.item.ItemType;

View File

@ -1,12 +1,13 @@
package com.github.intellectualsites.plotsquared.bukkit.util;
package com.plotsquared.bukkit.schematic;
import com.github.intellectualsites.plotsquared.bukkit.object.schematic.StateWrapper;
import com.github.intellectualsites.plotsquared.plot.object.Location;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.SchematicHandler;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.github.intellectualsites.plotsquared.queue.LocalBlockQueue;
import com.plotsquared.bukkit.util.BukkitUtil;
import com.plotsquared.location.Location;
import com.plotsquared.bukkit.util.block.StateWrapper;
import com.plotsquared.util.tasks.RunnableVal;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.SchematicHandler;
import com.plotsquared.util.tasks.TaskManager;
import com.plotsquared.queue.LocalBlockQueue;
import com.sk89q.jnbt.*;
import com.sk89q.worldedit.WorldEdit;
import com.sk89q.worldedit.extension.platform.Capability;

View File

@ -1,13 +1,13 @@
package com.github.intellectualsites.plotsquared.bukkit.util;
package com.plotsquared.bukkit.util;
import com.github.intellectualsites.plotsquared.bukkit.chat.FancyMessage;
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.config.Settings;
import com.github.intellectualsites.plotsquared.player.ConsolePlayer;
import com.github.intellectualsites.plotsquared.plot.object.message.PlotMessage;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.ChatManager;
import com.plotsquared.bukkit.chat.FancyMessage;
import com.plotsquared.bukkit.player.BukkitPlayer;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.player.ConsolePlayer;
import com.plotsquared.plot.message.PlotMessage;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.ChatManager;
import org.bukkit.ChatColor;
import java.util.Arrays;

View File

@ -1,10 +1,10 @@
package com.github.intellectualsites.plotsquared.bukkit.util;
package com.plotsquared.bukkit.util;
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitOfflinePlayer;
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
import com.github.intellectualsites.plotsquared.player.OfflinePlotPlayer;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.EconHandler;
import com.plotsquared.bukkit.player.BukkitOfflinePlayer;
import com.plotsquared.bukkit.player.BukkitPlayer;
import com.plotsquared.player.OfflinePlotPlayer;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.EconHandler;
import net.milkbowl.vault.economy.Economy;
import net.milkbowl.vault.permission.Permission;
import org.bukkit.Bukkit;

View File

@ -1,10 +1,10 @@
package com.github.intellectualsites.plotsquared.bukkit.util;
package com.plotsquared.bukkit.util;
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
import com.github.intellectualsites.plotsquared.plot.object.PlotInventory;
import com.github.intellectualsites.plotsquared.plot.object.PlotItemStack;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.InventoryUtil;
import com.plotsquared.bukkit.player.BukkitPlayer;
import com.plotsquared.plot.PlotInventory;
import com.plotsquared.plot.PlotItemStack;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.InventoryUtil;
import com.sk89q.worldedit.bukkit.BukkitAdapter;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;

View File

@ -1,15 +1,15 @@
package com.github.intellectualsites.plotsquared.bukkit.util;
package com.plotsquared.bukkit.util;
import com.github.intellectualsites.plotsquared.bukkit.generator.BukkitPlotGenerator;
import com.github.intellectualsites.plotsquared.configuration.ConfigurationSection;
import com.github.intellectualsites.plotsquared.configuration.file.YamlConfiguration;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.ConfigurationNode;
import com.github.intellectualsites.plotsquared.generator.GeneratorWrapper;
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
import com.github.intellectualsites.plotsquared.plot.object.PlotAreaType;
import com.github.intellectualsites.plotsquared.plot.object.SetupObject;
import com.github.intellectualsites.plotsquared.util.SetupUtils;
import com.plotsquared.bukkit.generator.BukkitPlotGenerator;
import com.plotsquared.configuration.ConfigurationSection;
import com.plotsquared.configuration.file.YamlConfiguration;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.ConfigurationNode;
import com.plotsquared.generator.GeneratorWrapper;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.plot.PlotAreaType;
import com.plotsquared.plot.SetupObject;
import com.plotsquared.util.SetupUtils;
import io.papermc.lib.PaperLib;
import org.bukkit.Bukkit;
import org.bukkit.Chunk;

View File

@ -1,7 +1,7 @@
package com.github.intellectualsites.plotsquared.bukkit.util;
package com.plotsquared.bukkit.util;
import com.github.intellectualsites.plotsquared.bukkit.BukkitMain;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.plotsquared.bukkit.BukkitMain;
import com.plotsquared.util.tasks.TaskManager;
import org.bukkit.Bukkit;
public class BukkitTaskManager extends TaskManager {

View File

@ -1,20 +1,20 @@
package com.github.intellectualsites.plotsquared.bukkit.util;
package com.plotsquared.bukkit.util;
import com.github.intellectualsites.plotsquared.bukkit.BukkitMain;
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.object.Location;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.MathMan;
import com.github.intellectualsites.plotsquared.util.StringComparison;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.github.intellectualsites.plotsquared.util.WorldUtil;
import com.github.intellectualsites.plotsquared.util.BlockUtil;
import com.plotsquared.bukkit.BukkitMain;
import com.plotsquared.bukkit.player.BukkitPlayer;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.MathMan;
import com.plotsquared.util.StringComparison;
import com.plotsquared.util.tasks.TaskManager;
import com.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.util.WorldUtil;
import com.plotsquared.util.BlockUtil;
import com.sk89q.worldedit.bukkit.BukkitAdapter;
import com.sk89q.worldedit.bukkit.BukkitWorld;
import com.sk89q.worldedit.regions.CuboidRegion;

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.bukkit.util;
package com.plotsquared.bukkit.util;
import org.bukkit.Bukkit;
import org.bukkit.configuration.file.YamlConfiguration;

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.bukkit.util;
package com.plotsquared.bukkit.util;
import org.bukkit.Bukkit;
import org.bukkit.OfflinePlayer;
@ -9,15 +9,15 @@ import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
import java.util.UUID;
import static com.github.intellectualsites.plotsquared.util.ReflectionUtils.callConstructor;
import static com.github.intellectualsites.plotsquared.util.ReflectionUtils.callMethod;
import static com.github.intellectualsites.plotsquared.util.ReflectionUtils.getCbClass;
import static com.github.intellectualsites.plotsquared.util.ReflectionUtils.getField;
import static com.github.intellectualsites.plotsquared.util.ReflectionUtils.getNmsClass;
import static com.github.intellectualsites.plotsquared.util.ReflectionUtils.getUtilClass;
import static com.github.intellectualsites.plotsquared.util.ReflectionUtils.makeConstructor;
import static com.github.intellectualsites.plotsquared.util.ReflectionUtils.makeField;
import static com.github.intellectualsites.plotsquared.util.ReflectionUtils.makeMethod;
import static com.plotsquared.util.ReflectionUtils.callConstructor;
import static com.plotsquared.util.ReflectionUtils.callMethod;
import static com.plotsquared.util.ReflectionUtils.getCbClass;
import static com.plotsquared.util.ReflectionUtils.getField;
import static com.plotsquared.util.ReflectionUtils.getNmsClass;
import static com.plotsquared.util.ReflectionUtils.getUtilClass;
import static com.plotsquared.util.ReflectionUtils.makeConstructor;
import static com.plotsquared.util.ReflectionUtils.makeField;
import static com.plotsquared.util.ReflectionUtils.makeMethod;
public class OfflinePlayerUtil {

View File

@ -1,16 +1,16 @@
package com.github.intellectualsites.plotsquared.bukkit.util;
package com.plotsquared.bukkit.util;
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.object.Location;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.ReflectionUtils.RefClass;
import com.github.intellectualsites.plotsquared.util.ReflectionUtils.RefConstructor;
import com.github.intellectualsites.plotsquared.util.ReflectionUtils.RefField;
import com.github.intellectualsites.plotsquared.util.ReflectionUtils.RefMethod;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.bukkit.player.BukkitPlayer;
import com.plotsquared.PlotSquared;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.ReflectionUtils.RefClass;
import com.plotsquared.util.ReflectionUtils.RefConstructor;
import com.plotsquared.util.ReflectionUtils.RefField;
import com.plotsquared.util.ReflectionUtils.RefMethod;
import com.plotsquared.util.tasks.TaskManager;
import com.plotsquared.util.uuid.UUIDHandler;
import com.sk89q.worldedit.math.BlockVector2;
import io.papermc.lib.PaperLib;
import org.bukkit.Bukkit;
@ -24,7 +24,7 @@ import java.util.HashMap;
import java.util.HashSet;
import java.util.Map.Entry;
import static com.github.intellectualsites.plotsquared.util.ReflectionUtils.getRefClass;
import static com.plotsquared.util.ReflectionUtils.getRefClass;
/**
* An utility that can be used to send chunks, rather than using bukkit code

View File

@ -1,9 +1,9 @@
package com.github.intellectualsites.plotsquared.bukkit.util;
package com.plotsquared.bukkit.util;
import com.github.intellectualsites.plotsquared.bukkit.generator.BukkitAugmentedGenerator;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.generator.GeneratorWrapper;
import com.github.intellectualsites.plotsquared.util.SetupUtils;
import com.plotsquared.bukkit.generator.BukkitAugmentedGenerator;
import com.plotsquared.PlotSquared;
import com.plotsquared.generator.GeneratorWrapper;
import com.plotsquared.util.SetupUtils;
import org.bukkit.World;
import org.bukkit.generator.ChunkGenerator;

View File

@ -1,8 +1,8 @@
package com.github.intellectualsites.plotsquared.bukkit.util;
package com.plotsquared.bukkit.util;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.config.Settings;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import org.bukkit.Bukkit;
import org.bukkit.event.Listener;
import org.bukkit.plugin.java.JavaPlugin;
@ -35,7 +35,8 @@ public class UpdateUtility implements Listener {
connection.setRequestMethod("GET");
spigotVersion = (new BufferedReader(new InputStreamReader(connection.getInputStream()))).readLine();
} catch (IOException e) {
PlotSquared.log(Captions.PREFIX + "&cUnable to check for updates because: " + e);
PlotSquared.log(
Captions.PREFIX + "&cUnable to check for updates because: " + e);
this.cancel();
return;
}

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.bukkit.object;
package com.plotsquared.bukkit.util.block;
import com.sk89q.worldedit.bukkit.BukkitAdapter;
import com.sk89q.worldedit.world.block.BlockState;

View File

@ -1,11 +1,9 @@
package com.github.intellectualsites.plotsquared.bukkit.util.block;
package com.plotsquared.bukkit.util.block;
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitBlockUtil;
import com.github.intellectualsites.plotsquared.bukkit.object.schematic.StateWrapper;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.queue.BasicLocalBlockQueue;
import com.github.intellectualsites.plotsquared.util.BlockUtil;
import com.plotsquared.PlotSquared;
import com.plotsquared.util.MainUtil;
import com.plotsquared.queue.BasicLocalBlockQueue;
import com.plotsquared.util.BlockUtil;
import com.sk89q.jnbt.CompoundTag;
import com.sk89q.worldedit.EditSession;
import com.sk89q.worldedit.WorldEdit;

View File

@ -1,12 +1,11 @@
package com.github.intellectualsites.plotsquared.bukkit.util.block;
package com.plotsquared.bukkit.util.block;
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitBlockUtil;
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
import com.github.intellectualsites.plotsquared.plot.object.ChunkWrapper;
import com.github.intellectualsites.plotsquared.plot.object.Location;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.queue.ScopedLocalBlockQueue;
import com.github.intellectualsites.plotsquared.util.PatternUtil;
import com.plotsquared.bukkit.util.BukkitUtil;
import com.plotsquared.location.ChunkWrapper;
import com.plotsquared.location.Location;
import com.plotsquared.util.MainUtil;
import com.plotsquared.queue.ScopedLocalBlockQueue;
import com.plotsquared.util.PatternUtil;
import com.google.common.base.Preconditions;
import com.sk89q.worldedit.bukkit.BukkitAdapter;
import com.sk89q.worldedit.function.pattern.Pattern;

View File

@ -1,8 +1,8 @@
package com.github.intellectualsites.plotsquared.bukkit.object.schematic;
package com.plotsquared.bukkit.util.block;
import com.github.intellectualsites.plotsquared.bukkit.util.BukkitUtil;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.plotsquared.bukkit.util.BukkitUtil;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.sk89q.jnbt.ByteTag;
import com.sk89q.jnbt.CompoundTag;
import com.sk89q.jnbt.ListTag;

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.bukkit.uuid;
package com.plotsquared.bukkit.util.uuid;
import java.io.File;
import java.io.FilenameFilter;

View File

@ -1,10 +1,10 @@
package com.github.intellectualsites.plotsquared.bukkit.uuid;
package com.plotsquared.bukkit.util.uuid;
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitOfflinePlayer;
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitPlayer;
import com.github.intellectualsites.plotsquared.player.OfflinePlotPlayer;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDWrapper;
import com.plotsquared.bukkit.player.BukkitOfflinePlayer;
import com.plotsquared.bukkit.player.BukkitPlayer;
import com.plotsquared.player.OfflinePlotPlayer;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.uuid.UUIDWrapper;
import org.bukkit.Bukkit;
import org.bukkit.OfflinePlayer;
import org.jetbrains.annotations.NotNull;

View File

@ -1,17 +1,17 @@
package com.github.intellectualsites.plotsquared.bukkit.uuid;
package com.plotsquared.bukkit.util.uuid;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.config.Settings;
import com.github.intellectualsites.plotsquared.player.OfflinePlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal;
import com.github.intellectualsites.plotsquared.plot.object.StringWrapper;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandlerImplementation;
import com.github.intellectualsites.plotsquared.plot.expiration.ExpireManager;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDWrapper;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.player.OfflinePlotPlayer;
import com.plotsquared.util.tasks.RunnableVal;
import com.plotsquared.util.StringWrapper;
import com.plotsquared.util.StringMan;
import com.plotsquared.util.tasks.TaskManager;
import com.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.util.uuid.UUIDHandlerImplementation;
import com.plotsquared.plot.expiration.ExpireManager;
import com.plotsquared.util.uuid.UUIDWrapper;
import com.google.common.collect.HashBiMap;
import com.google.common.collect.Sets;
import com.sk89q.jnbt.CompoundTag;

View File

@ -1,7 +1,7 @@
package com.github.intellectualsites.plotsquared.bukkit.uuid;
package com.plotsquared.bukkit.util.uuid;
import com.github.intellectualsites.plotsquared.player.OfflinePlotPlayer;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.plotsquared.player.OfflinePlotPlayer;
import com.plotsquared.player.PlotPlayer;
import com.google.common.base.Charsets;
import org.bukkit.OfflinePlayer;
import org.jetbrains.annotations.NotNull;

View File

@ -1,12 +1,12 @@
package com.github.intellectualsites.plotsquared.bukkit.uuid;
package com.plotsquared.bukkit.util.uuid;
import com.github.intellectualsites.plotsquared.bukkit.object.BukkitOfflinePlayer;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.player.OfflinePlotPlayer;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.plot.object.StringWrapper;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDWrapper;
import com.plotsquared.bukkit.player.BukkitOfflinePlayer;
import com.plotsquared.PlotSquared;
import com.plotsquared.player.OfflinePlotPlayer;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.StringWrapper;
import com.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.util.uuid.UUIDWrapper;
import com.google.common.base.Charsets;
import com.google.common.collect.BiMap;
import org.bukkit.Bukkit;

View File

@ -1,16 +1,16 @@
package com.github.intellectualsites.plotsquared.bukkit.uuid;
package com.plotsquared.bukkit.util.uuid;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.config.Settings;
import com.github.intellectualsites.plotsquared.database.SQLite;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal;
import com.github.intellectualsites.plotsquared.plot.object.StringWrapper;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandlerImplementation;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDWrapper;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.database.SQLite;
import com.plotsquared.util.tasks.RunnableVal;
import com.plotsquared.util.StringWrapper;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.tasks.TaskManager;
import com.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.util.uuid.UUIDHandlerImplementation;
import com.plotsquared.util.uuid.UUIDWrapper;
import com.google.common.collect.HashBiMap;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;

View File

@ -1,5 +1,5 @@
name: ${name}
main: com.github.intellectualsites.plotsquared.bukkit.BukkitMain
main: com.plotsquared.bukkit.BukkitMain
api-version: "1.13"
version: "${version}"
load: STARTUP