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

@ -35,31 +35,31 @@ processResources {
//noinspection GroovyAssignabilityCheck
jar.archiveFileName = "PlotSquared-CoreAPI-${project.parent.version}.jar"
jar.destinationDirectory = file("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-CoreAPI/" + project.parent.version)
jar.destinationDirectory = file("../mvn/com/plotsquared/PlotSquared-CoreAPI/" + project.parent.version)
task createPom {
doLast {
pom {
project {
groupId = "com.github.intellectualsites.plotsquared"
groupId = "com.plotsquared"
artifactId = "PlotSquared-CoreAPI"
version = project.parent.version
}
}.writeTo("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-CoreAPI/${project.parent.version}/PlotSquared-CoreAPI-${project.parent.version}.pom")
}.writeTo("../mvn/com/plotsquared/PlotSquared-CoreAPI/${project.parent.version}/PlotSquared-CoreAPI-${project.parent.version}.pom")
pom {
project {
groupId = "com.github.intellectualsites.plotsquared"
groupId = "com.plotsquared"
artifactId = "PlotSquared-CoreAPI"
version = "latest"
}
}.writeTo("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-CoreAPI/latest/PlotSquared-CoreAPI-latest.pom")
}.writeTo("../mvn/com/plotsquared/PlotSquared-CoreAPI/latest/PlotSquared-CoreAPI-latest.pom")
}
}
task copyFiles {
doLast {
copy {
from("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-CoreAPI/${project.parent.version}/")
into("../mvn/com/github/intellectualsites/plotsquared/PlotSquared-CoreAPI/latest/")
from("../mvn/com/plotsquared/PlotSquared-CoreAPI/${project.parent.version}/")
into("../mvn/com/plotsquared/PlotSquared-CoreAPI/latest/")
include("*.jar")
rename("PlotSquared-CoreAPI-${project.parent.version}.jar", "PlotSquared-CoreAPI-latest.jar")
}
@ -73,7 +73,7 @@ shadowJar {
include(dependency("net.kyori:text-serializer-legacy:3.0.2"))
include(dependency("net.kyori:text-serializer-plain:3.0.2"))
}
relocate('net.kyori.text', 'com.github.intellectualsites.plotsquared.formatting.text')
relocate('net.kyori.text', 'com.plotsquared.formatting.text')
}
shadowJar.doLast {

View File

@ -1,5 +0,0 @@
package com.github.intellectualsites.plotsquared.plot;
public enum PlotWeather {
RAIN, CLEAR, RESET
}

View File

@ -1,222 +0,0 @@
package com.github.intellectualsites.plotsquared.plot.flags;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.AnalysisFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.AnimalAttackFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.AnimalCapFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.AnimalInteractFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.BlockBurnFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.BlockIgnitionFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.BlockedCmdsFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.BreakFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.CoralDryFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.DenyExitFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.DenyTeleportFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.DescriptionFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.DeviceInteractFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.DisablePhysicsFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.DoneFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.DropProtectionFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.EntityCapFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.ExplosionFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.FarewellFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.FeedFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.FlyFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.ForcefieldFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.GamemodeFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.GrassGrowFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.GreetingFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.GuestGamemodeFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.HangingBreakFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.HangingPlaceFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.HealFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.HideInfoFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.HostileAttackFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.HostileCapFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.HostileInteractFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.IceFormFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.IceMeltFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.InstabreakFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.InvincibleFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.ItemDropFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.KeepFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.KelpGrowFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.LiquidFlowFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.MiscBreakFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.MiscCapFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.MobBreakFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.MobCapFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.MobPlaceFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.MusicFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.MycelGrowFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.NoWorldeditFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.NotifyEnterFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.NotifyLeaveFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.PlaceFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.PlayerInteractFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.PriceFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.PveFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.PvpFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.RedstoneFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.ServerPlotFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.SnowFormFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.SnowMeltFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.SoilDryFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.TamedAttackFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.TamedInteractFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.TimeFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.TitlesFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.UntrustedVisitFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.UseFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.VehicleBreakFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.VehicleCapFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.VehiclePlaceFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.VehicleUseFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.VillagerInteractFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.VineGrowFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.WeatherFlag;
import lombok.Getter;
import javax.annotation.Nonnull;
import java.util.Collections;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
public final class GlobalFlagContainer extends FlagContainer {
@Getter private static final GlobalFlagContainer instance = new GlobalFlagContainer();
private static Map<String, Class<?>> stringClassMap;
private GlobalFlagContainer() {
super(null, (flag, type) -> {
if (type == PlotFlagUpdateType.FLAG_ADDED) {
stringClassMap.put(flag.getName().toLowerCase(Locale.ENGLISH), flag.getClass());
}
});
stringClassMap = new HashMap<>();
// Register all default flags here
// Boolean flags
this.addFlag(ExplosionFlag.EXPLOSION_FALSE);
this.addFlag(UntrustedVisitFlag.UNTRUSTED_VISIT_FLAG_TRUE);
this.addFlag(DenyExitFlag.DENY_EXIT_FLAG_FALSE);
this.addFlag(DescriptionFlag.DESCRIPTION_FLAG_EMPTY);
this.addFlag(GreetingFlag.GREETING_FLAG_EMPTY);
this.addFlag(FarewellFlag.FAREWELL_FLAG_EMPTY);
this.addFlag(AnimalAttackFlag.ANIMAL_ATTACK_FALSE);
this.addFlag(AnimalInteractFlag.ANIMAL_INTERACT_FALSE);
this.addFlag(BlockBurnFlag.BLOCK_BURN_FALSE);
this.addFlag(BlockIgnitionFlag.BLOCK_IGNITION_TRUE);
this.addFlag(DeviceInteractFlag.DEVICE_INTERACT_FALSE);
this.addFlag(DisablePhysicsFlag.DISABLE_PHYSICS_FALSE);
this.addFlag(DropProtectionFlag.DROP_PROTECTION_FALSE);
this.addFlag(ForcefieldFlag.FORCEFIELD_FALSE);
this.addFlag(GrassGrowFlag.GRASS_GROW_TRUE);
this.addFlag(HangingBreakFlag.HANGING_BREAK_FALSE);
this.addFlag(HangingPlaceFlag.HANGING_PLACE_FALSE);
this.addFlag(HideInfoFlag.HIDE_INFO_FALSE);
this.addFlag(HostileAttackFlag.HOSTILE_ATTACK_FALSE);
this.addFlag(HostileInteractFlag.HOSTILE_INTERACT_FALSE);
this.addFlag(IceFormFlag.ICE_FORM_FALSE);
this.addFlag(IceMeltFlag.ICE_MELT_FALSE);
this.addFlag(KelpGrowFlag.KELP_GROW_TRUE);
this.addFlag(LiquidFlowFlag.LIQUID_FLOW_TRUE);
this.addFlag(RedstoneFlag.REDSTONE_TRUE);
this.addFlag(ServerPlotFlag.SERVER_PLOT_FALSE);
this.addFlag(MiscBreakFlag.MISC_BREAK_FALSE);
this.addFlag(MobBreakFlag.MOB_BREAK_FALSE);
this.addFlag(MobPlaceFlag.MOB_PLACE_FALSE);
this.addFlag(MycelGrowFlag.MYCEL_GROW_TRUE);
this.addFlag(NotifyEnterFlag.NOTIFY_ENTER_FALSE);
this.addFlag(NotifyLeaveFlag.NOTIFY_LEAVE_FALSE);
this.addFlag(NoWorldeditFlag.NO_WORLDEDIT_FALSE);
this.addFlag(PlayerInteractFlag.PLAYER_INTERACT_FALSE);
this.addFlag(PveFlag.PVE_FALSE);
this.addFlag(PvpFlag.PVP_FALSE);
this.addFlag(SnowFormFlag.SNOW_FORM_FALSE);
this.addFlag(SnowMeltFlag.SNOW_MELT_TRUE);
this.addFlag(SoilDryFlag.SOIL_DRY_FALSE);
this.addFlag(CoralDryFlag.CORAL_DRY_FALSE);
this.addFlag(TamedAttackFlag.TAMED_ATTACK_FALSE);
this.addFlag(TamedInteractFlag.TAMED_INTERACT_FALSE);
this.addFlag(VehicleBreakFlag.VEHICLE_BREAK_FALSE);
this.addFlag(VehiclePlaceFlag.VEHICLE_PLACE_FALSE);
this.addFlag(VehicleUseFlag.VEHICLE_USE_FALSE);
this.addFlag(VillagerInteractFlag.VILLAGER_INTERACT_FALSE);
this.addFlag(VineGrowFlag.VINE_GROW_TRUE);
this.addFlag(ItemDropFlag.ITEM_DROP_TRUE);
this.addFlag(InstabreakFlag.INSTABREAK_FALSE);
this.addFlag(InvincibleFlag.INVINCIBLE_FALSE);
// Enum Flags
this.addFlag(WeatherFlag.PLOT_WEATHER_FLAG_OFF);
this.addFlag(DenyTeleportFlag.DENY_TELEPORT_FLAG_NONE);
this.addFlag(TitlesFlag.TITLES_NONE);
this.addFlag(FlyFlag.FLIGHT_FLAG_DEFAULT);
// Integer flags
this.addFlag(AnimalCapFlag.ANIMAL_CAP_UNLIMITED);
this.addFlag(EntityCapFlag.ENTITY_CAP_UNLIMITED);
this.addFlag(HostileCapFlag.HOSTILE_CAP_UNLIMITED);
this.addFlag(MiscCapFlag.MISC_CAP_UNLIMITED);
this.addFlag(MobCapFlag.MOB_CAP_UNLIMITED);
this.addFlag(TimeFlag.TIME_DISABLED);
this.addFlag(VehicleCapFlag.VEHICLE_CAP_UNLIMITED);
// Timed flags
this.addFlag(FeedFlag.FEED_NOTHING);
this.addFlag(HealFlag.HEAL_NOTHING);
// Double flags
this.addFlag(PriceFlag.PRICE_NOT_BUYABLE);
// Block type list flags
this.addFlag(BreakFlag.BREAK_NONE);
this.addFlag(PlaceFlag.PLACE_NONE);
this.addFlag(UseFlag.USE_NONE);
// Misc
this.addFlag(GamemodeFlag.GAMEMODE_FLAG_DEFAULT);
this.addFlag(GuestGamemodeFlag.GUEST_GAMEMODE_FLAG_DEFAULT);
this.addFlag(BlockedCmdsFlag.BLOCKED_CMDS_FLAG_NONE);
this.addFlag(KeepFlag.KEEP_FLAG_FALSE);
this.addFlag(MusicFlag.MUSIC_FLAG_NONE);
// Internal flags
this.addFlag(new AnalysisFlag(Collections.emptyList()));
this.addFlag(new DoneFlag(""));
}
@Override public PlotFlag<?, ?> getFlagErased(Class<?> flagClass) {
final PlotFlag<?, ?> flag = super.getFlagErased(flagClass);
if (flag != null) {
return flag;
} else {
throw new IllegalStateException(String.format("Unrecognized flag '%s'. All flag types"
+ " must be present in the global flag container.", flagClass.getSimpleName()));
}
}
@Nonnull @Override
public <V, T extends PlotFlag<V, ?>> T getFlag(Class<? extends T> flagClass) {
final PlotFlag<?, ?> flag = super.getFlag(flagClass);
if (flag != null) {
return castUnsafe(flag);
} else {
throw new IllegalStateException(String.format("Unrecognized flag '%s'. All flag types"
+ " must be present in the global flag container.", flagClass.getSimpleName()));
}
}
public Class<?> getFlagClassFromString(final String name) {
return stringClassMap.get(name.toLowerCase(Locale.ENGLISH));
}
public PlotFlag<?, ?> getFlagFromString(final String name) {
final Class<?> flagClass = this.getFlagClassFromString(name);
if (flagClass == null) {
return null;
}
return getFlagErased(flagClass);
}
}

View File

@ -1,5 +0,0 @@
package com.github.intellectualsites.plotsquared.plot.object;
public enum TeleportCause {
COMMAND, PLUGIN, UNKNOWN
}

View File

@ -1,5 +0,0 @@
package com.github.intellectualsites.plotsquared.util.logger;
public interface ILogger {
void log(String message);
}

View File

@ -1,20 +1,20 @@
package com.github.intellectualsites.plotsquared;
package com.plotsquared;
import com.github.intellectualsites.plotsquared.generator.GeneratorWrapper;
import com.github.intellectualsites.plotsquared.generator.HybridUtils;
import com.github.intellectualsites.plotsquared.generator.IndependentPlotGenerator;
import com.github.intellectualsites.plotsquared.util.logger.ILogger;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.ChatManager;
import com.github.intellectualsites.plotsquared.util.ChunkManager;
import com.github.intellectualsites.plotsquared.util.EconHandler;
import com.github.intellectualsites.plotsquared.util.InventoryUtil;
import com.github.intellectualsites.plotsquared.util.SchematicHandler;
import com.github.intellectualsites.plotsquared.util.SetupUtils;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandlerImplementation;
import com.github.intellectualsites.plotsquared.util.WorldUtil;
import com.github.intellectualsites.plotsquared.queue.QueueProvider;
import com.plotsquared.generator.GeneratorWrapper;
import com.plotsquared.generator.HybridUtils;
import com.plotsquared.generator.IndependentPlotGenerator;
import com.plotsquared.util.logger.ILogger;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.ChatManager;
import com.plotsquared.util.ChunkManager;
import com.plotsquared.util.EconHandler;
import com.plotsquared.util.InventoryUtil;
import com.plotsquared.util.SchematicHandler;
import com.plotsquared.util.SetupUtils;
import com.plotsquared.util.tasks.TaskManager;
import com.plotsquared.util.uuid.UUIDHandlerImplementation;
import com.plotsquared.util.WorldUtil;
import com.plotsquared.queue.QueueProvider;
import com.sk89q.worldedit.extension.platform.Actor;
import org.jetbrains.annotations.NotNull;

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared;
package com.plotsquared;
public enum Platform {
Bukkit, Sponge, Spigot, Paper

View File

@ -1,53 +1,62 @@
package com.github.intellectualsites.plotsquared;
package com.plotsquared;
import com.github.intellectualsites.plotsquared.configuration.ConfigurationSection;
import com.github.intellectualsites.plotsquared.configuration.MemorySection;
import com.github.intellectualsites.plotsquared.configuration.file.YamlConfiguration;
import com.github.intellectualsites.plotsquared.configuration.serialization.ConfigurationSerialization;
import com.github.intellectualsites.plotsquared.player.ConsolePlayer;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.commands.WE_Anywhere;
import com.github.intellectualsites.plotsquared.plot.config.Caption;
import com.github.intellectualsites.plotsquared.plot.config.CaptionUtility;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.config.Configuration;
import com.github.intellectualsites.plotsquared.plot.config.Settings;
import com.github.intellectualsites.plotsquared.plot.config.Storage;
import com.github.intellectualsites.plotsquared.database.DBFunc;
import com.github.intellectualsites.plotsquared.database.Database;
import com.github.intellectualsites.plotsquared.database.MySQL;
import com.github.intellectualsites.plotsquared.database.SQLManager;
import com.github.intellectualsites.plotsquared.database.SQLite;
import com.github.intellectualsites.plotsquared.generator.GeneratorWrapper;
import com.github.intellectualsites.plotsquared.generator.HybridPlotWorld;
import com.github.intellectualsites.plotsquared.generator.HybridUtils;
import com.github.intellectualsites.plotsquared.generator.IndependentPlotGenerator;
import com.github.intellectualsites.plotsquared.listener.WESubscriber;
import com.github.intellectualsites.plotsquared.plot.comment.CommentManager;
import com.github.intellectualsites.plotsquared.util.ChatManager;
import com.github.intellectualsites.plotsquared.util.ChunkManager;
import com.github.intellectualsites.plotsquared.util.EconHandler;
import com.github.intellectualsites.plotsquared.util.EventDispatcher;
import com.github.intellectualsites.plotsquared.util.LegacyConverter;
import com.github.intellectualsites.plotsquared.util.MathMan;
import com.github.intellectualsites.plotsquared.util.SchematicHandler;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.github.intellectualsites.plotsquared.util.logger.ILogger;
import com.github.intellectualsites.plotsquared.plot.object.*;
import com.github.intellectualsites.plotsquared.plot.object.worlds.DefaultPlotAreaManager;
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.queue.GlobalBlockQueue;
import com.github.intellectualsites.plotsquared.plot.expiration.ExpireManager;
import com.github.intellectualsites.plotsquared.plot.expiration.ExpiryTask;
import com.github.intellectualsites.plotsquared.util.InventoryUtil;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.ReflectionUtils;
import com.github.intellectualsites.plotsquared.util.SetupUtils;
import com.github.intellectualsites.plotsquared.util.WorldUtil;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.plotsquared.configuration.ConfigurationSection;
import com.plotsquared.configuration.MemorySection;
import com.plotsquared.configuration.file.YamlConfiguration;
import com.plotsquared.configuration.serialization.ConfigurationSerialization;
import com.plotsquared.location.Location;
import com.plotsquared.player.ConsolePlayer;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.commands.WE_Anywhere;
import com.plotsquared.config.Caption;
import com.plotsquared.config.CaptionUtility;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Configuration;
import com.plotsquared.config.Settings;
import com.plotsquared.config.Storage;
import com.plotsquared.database.DBFunc;
import com.plotsquared.database.Database;
import com.plotsquared.database.MySQL;
import com.plotsquared.database.SQLManager;
import com.plotsquared.database.SQLite;
import com.plotsquared.generator.GeneratorWrapper;
import com.plotsquared.generator.HybridPlotWorld;
import com.plotsquared.generator.HybridUtils;
import com.plotsquared.generator.IndependentPlotGenerator;
import com.plotsquared.listener.WESubscriber;
import com.plotsquared.plot.comment.CommentManager;
import com.plotsquared.util.ChatManager;
import com.plotsquared.plot.BlockBucket;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.plot.PlotAreaType;
import com.plotsquared.plot.PlotCluster;
import com.plotsquared.plot.PlotFilter;
import com.plotsquared.plot.PlotId;
import com.plotsquared.plot.PlotManager;
import com.plotsquared.util.StringWrapper;
import com.plotsquared.util.ChunkManager;
import com.plotsquared.util.EconHandler;
import com.plotsquared.util.EventDispatcher;
import com.plotsquared.util.LegacyConverter;
import com.plotsquared.util.MathMan;
import com.plotsquared.util.SchematicHandler;
import com.plotsquared.util.StringMan;
import com.plotsquared.util.logger.ILogger;
import com.plotsquared.plot.worlds.DefaultPlotAreaManager;
import com.plotsquared.plot.worlds.PlotAreaManager;
import com.plotsquared.plot.worlds.SinglePlotArea;
import com.plotsquared.plot.worlds.SinglePlotAreaManager;
import com.plotsquared.queue.GlobalBlockQueue;
import com.plotsquared.plot.expiration.ExpireManager;
import com.plotsquared.plot.expiration.ExpiryTask;
import com.plotsquared.util.InventoryUtil;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.ReflectionUtils;
import com.plotsquared.util.SetupUtils;
import com.plotsquared.util.WorldUtil;
import com.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.util.tasks.TaskManager;
import com.sk89q.worldedit.WorldEdit;
import com.sk89q.worldedit.math.BlockVector2;
import com.sk89q.worldedit.regions.CuboidRegion;

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared;
package com.plotsquared;
public class PlotVersion {
public final int year, month, day, hash, build;

View File

@ -1,19 +1,20 @@
package com.github.intellectualsites.plotsquared.api;
package com.plotsquared.api;
import com.github.intellectualsites.plotsquared.configuration.file.YamlConfiguration;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Caption;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.queue.GlobalBlockQueue;
import com.github.intellectualsites.plotsquared.util.ChunkManager;
import com.github.intellectualsites.plotsquared.util.EventDispatcher;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.SchematicHandler;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDWrapper;
import com.plotsquared.configuration.file.YamlConfiguration;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Caption;
import com.plotsquared.config.Captions;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.queue.GlobalBlockQueue;
import com.plotsquared.util.ChunkManager;
import com.plotsquared.util.EventDispatcher;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.SchematicHandler;
import com.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.util.uuid.UUIDWrapper;
import lombok.NoArgsConstructor;
import java.util.Collections;
@ -27,7 +28,7 @@ import java.util.UUID;
* <ul>
* <li>{@link PlotPlayer}</li>
* <li>{@link Plot}</li>
* <li>{@link com.github.intellectualsites.plotsquared.plot.object.Location}</li>
* <li>{@link Location}</li>
* <li>{@link PlotArea}</li>
* <li>{@link PlotSquared}</li>
* </ul>

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.collection;
package com.plotsquared.collection;
import java.io.IOException;
import java.io.OutputStream;

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.collection;
package com.plotsquared.collection;
import java.util.Arrays;

View File

@ -1,6 +1,6 @@
package com.github.intellectualsites.plotsquared.collection;
package com.plotsquared.collection;
import com.github.intellectualsites.plotsquared.util.MathMan;
import com.plotsquared.util.MathMan;
import java.util.ArrayList;
import java.util.Map;

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.collection;
package com.plotsquared.collection;
import java.util.Map;
import java.util.Random;

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.collection;
package com.plotsquared.collection;
import java.util.Map;
import java.util.NavigableMap;

View File

@ -1,14 +1,14 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.database.DBFunc;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal2;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.database.DBFunc;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal2;
import com.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import java.util.Iterator;
import java.util.Set;

View File

@ -1,15 +1,15 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.plot.object.StringWrapper;
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.uuid.UUIDHandler;
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.StringWrapper;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.MathMan;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.uuid.UUIDHandler;
@CommandDeclaration(command = "setalias",
permission = "plots.alias",

View File

@ -1,30 +1,30 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.configuration.ConfigurationSection;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.config.Configuration;
import com.github.intellectualsites.plotsquared.generator.AugmentedUtils;
import com.github.intellectualsites.plotsquared.generator.HybridPlotWorld;
import com.github.intellectualsites.plotsquared.plot.object.Location;
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
import com.github.intellectualsites.plotsquared.plot.object.PlotAreaTerrainType;
import com.github.intellectualsites.plotsquared.plot.object.PlotAreaType;
import com.github.intellectualsites.plotsquared.plot.object.PlotId;
import com.github.intellectualsites.plotsquared.plot.object.message.PlotMessage;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
import com.github.intellectualsites.plotsquared.plot.object.SetupObject;
import com.github.intellectualsites.plotsquared.plot.object.TeleportCause;
import com.github.intellectualsites.plotsquared.util.ChunkManager;
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.SetupUtils;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.github.intellectualsites.plotsquared.util.WorldUtil;
import com.github.intellectualsites.plotsquared.util.RegionUtil;
import com.plotsquared.configuration.ConfigurationSection;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Configuration;
import com.plotsquared.generator.AugmentedUtils;
import com.plotsquared.generator.HybridPlotWorld;
import com.plotsquared.location.Location;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.plot.PlotAreaTerrainType;
import com.plotsquared.plot.PlotAreaType;
import com.plotsquared.plot.PlotId;
import com.plotsquared.plot.message.PlotMessage;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal;
import com.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.plot.SetupObject;
import com.plotsquared.events.TeleportCause;
import com.plotsquared.util.ChunkManager;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.MathMan;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.SetupUtils;
import com.plotsquared.util.StringMan;
import com.plotsquared.util.WorldUtil;
import com.plotsquared.util.RegionUtil;
import com.sk89q.worldedit.math.BlockVector2;
import com.sk89q.worldedit.regions.CuboidRegion;

View File

@ -1,6 +1,6 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.plot.object.PlotId;
import com.plotsquared.plot.PlotId;
public abstract class Argument<T> {

View File

@ -1,26 +1,26 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.CaptionUtility;
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.events.PlayerAutoPlotEvent;
import com.github.intellectualsites.plotsquared.events.PlotAutoMergeEvent;
import com.github.intellectualsites.plotsquared.events.Result;
import com.github.intellectualsites.plotsquared.plot.object.Expression;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
import com.github.intellectualsites.plotsquared.plot.object.PlotAreaType;
import com.github.intellectualsites.plotsquared.plot.object.PlotId;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal;
import com.github.intellectualsites.plotsquared.plot.object.TeleportCause;
import com.github.intellectualsites.plotsquared.util.tasks.AutoClaimFinishTask;
import com.github.intellectualsites.plotsquared.util.EconHandler;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.CaptionUtility;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.database.DBFunc;
import com.plotsquared.events.PlayerAutoPlotEvent;
import com.plotsquared.events.PlotAutoMergeEvent;
import com.plotsquared.events.Result;
import com.plotsquared.util.Expression;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.plot.PlotAreaType;
import com.plotsquared.plot.PlotId;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal;
import com.plotsquared.events.TeleportCause;
import com.plotsquared.util.tasks.AutoClaimFinishTask;
import com.plotsquared.util.EconHandler;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.tasks.TaskManager;
import com.google.common.primitives.Ints;
import org.jetbrains.annotations.Nullable;

View File

@ -1,10 +1,10 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.plotsquared.config.Captions;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.StringMan;
import com.sk89q.worldedit.world.biome.BiomeType;
import com.sk89q.worldedit.world.biome.BiomeTypes;

View File

@ -1,18 +1,18 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.events.PlotFlagRemoveEvent;
import com.github.intellectualsites.plotsquared.events.Result;
import com.github.intellectualsites.plotsquared.plot.flags.PlotFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.PriceFlag;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal2;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
import com.github.intellectualsites.plotsquared.util.EconHandler;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.events.PlotFlagRemoveEvent;
import com.plotsquared.events.Result;
import com.plotsquared.plot.flags.PlotFlag;
import com.plotsquared.plot.flags.implementations.PriceFlag;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal2;
import com.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.util.EconHandler;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.uuid.UUIDHandler;
import java.util.Set;
import java.util.concurrent.CompletableFuture;
@ -63,7 +63,8 @@ public class Buy extends Command {
Captions.PLOT_SOLD.send(owner, plot.getId(), player.getName(), price);
}
PlotFlag<?, ?> plotFlag = plot.getFlagContainer().getFlag(PriceFlag.class);
PlotFlagRemoveEvent event = PlotSquared.get().getEventDispatcher().callFlagRemove(plotFlag, plot);
PlotFlagRemoveEvent
event = PlotSquared.get().getEventDispatcher().callFlagRemove(plotFlag, plot);
if(event.getEventResult() != Result.DENY) {
plot.removeFlag(event.getFlag());
}

View File

@ -1,6 +1,6 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.plotsquared.player.PlotPlayer;
@CommandDeclaration(command = "chat",
description = "Toggle plot chat on or off",

View File

@ -1,20 +1,24 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.plot.config.CaptionUtility;
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.events.PlayerClaimPlotEvent;
import com.github.intellectualsites.plotsquared.events.PlotMergeEvent;
import com.github.intellectualsites.plotsquared.events.Result;
import com.github.intellectualsites.plotsquared.plot.object.*;
import com.github.intellectualsites.plotsquared.util.EconHandler;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal;
import com.plotsquared.PlotSquared;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.config.CaptionUtility;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.database.DBFunc;
import com.plotsquared.events.PlayerClaimPlotEvent;
import com.plotsquared.events.PlotMergeEvent;
import com.plotsquared.events.Result;
import com.plotsquared.util.EconHandler;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.tasks.TaskManager;
import com.plotsquared.util.tasks.RunnableVal;
import com.google.common.primitives.Ints;
import com.plotsquared.location.Direction;
import com.plotsquared.util.Expression;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
@CommandDeclaration(command = "claim",
aliases = "c",
@ -35,7 +39,8 @@ public class Claim extends SubCommand {
if (plot == null) {
return sendMessage(player, Captions.NOT_IN_PLOT);
}
PlayerClaimPlotEvent event = PlotSquared.get().getEventDispatcher().callClaim(player, plot, schematic);
PlayerClaimPlotEvent
event = PlotSquared.get().getEventDispatcher().callClaim(player, plot, schematic);
schematic = event.getSchematic();
if (event.getEventResult() == Result.DENY) {
sendMessage(player, Captions.EVENT_DENIED, "Claim");

View File

@ -1,24 +1,24 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.events.PlotFlagRemoveEvent;
import com.github.intellectualsites.plotsquared.events.Result;
import com.github.intellectualsites.plotsquared.plot.flags.PlotFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.AnalysisFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.DoneFlag;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal2;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.github.intellectualsites.plotsquared.queue.GlobalBlockQueue;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.events.PlotFlagRemoveEvent;
import com.plotsquared.events.Result;
import com.plotsquared.plot.flags.PlotFlag;
import com.plotsquared.plot.flags.implementations.AnalysisFlag;
import com.plotsquared.plot.flags.implementations.DoneFlag;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal2;
import com.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import com.plotsquared.queue.GlobalBlockQueue;
import java.util.concurrent.CompletableFuture;
import static com.github.intellectualsites.plotsquared.commands.SubCommand.sendMessage;
import static com.plotsquared.commands.SubCommand.sendMessage;
@CommandDeclaration(command = "clear",
description = "Clear the plot you stand on",

View File

@ -1,20 +1,20 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.object.BlockLoc;
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.PlotCluster;
import com.github.intellectualsites.plotsquared.plot.object.PlotId;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.plot.object.TeleportCause;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.database.DBFunc;
import com.plotsquared.location.BlockLoc;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.plot.PlotCluster;
import com.plotsquared.plot.PlotId;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.events.TeleportCause;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.uuid.UUIDHandler;
import java.util.ArrayList;
import java.util.HashSet;

View File

@ -1,10 +1,9 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.commands.CmdInstance;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.plotsquared.config.Captions;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.tasks.TaskManager;
public class CmdConfirm {

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
public class CmdInstance {
public final Runnable command;

View File

@ -1,17 +1,17 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.configuration.file.YamlConfiguration;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.object.message.PlotMessage;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal2;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
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.StringComparison;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.plotsquared.configuration.file.YamlConfiguration;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.plot.message.PlotMessage;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal2;
import com.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.MathMan;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.StringComparison;
import com.plotsquared.util.StringMan;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
public interface CommandCaller {

View File

@ -1,6 +1,6 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.plotsquared.config.Captions;
import lombok.RequiredArgsConstructor;
/**

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;

View File

@ -1,14 +1,14 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.plot.comment.CommentInbox;
import com.github.intellectualsites.plotsquared.plot.comment.PlotComment;
import com.github.intellectualsites.plotsquared.plot.comment.CommentManager;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.config.Captions;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.plot.comment.CommentInbox;
import com.plotsquared.plot.comment.PlotComment;
import com.plotsquared.plot.comment.CommentManager;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.StringMan;
import com.plotsquared.util.uuid.UUIDHandler;
import java.util.Arrays;
import java.util.Locale;

View File

@ -1,14 +1,14 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
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.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.MathMan;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.github.intellectualsites.plotsquared.util.WorldUtil;
import com.plotsquared.PlotSquared;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.plot.PlotId;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.MathMan;
import com.plotsquared.util.tasks.TaskManager;
import com.plotsquared.util.WorldUtil;
import java.util.ArrayList;
import java.util.Collection;

View File

@ -1,10 +1,10 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.config.Settings;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.tasks.TaskManager;
@CommandDeclaration(command = "confirm",
permission = "plots.use",

View File

@ -1,16 +1,16 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.events.PlotFlagRemoveEvent;
import com.github.intellectualsites.plotsquared.events.Result;
import com.github.intellectualsites.plotsquared.plot.flags.PlotFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.DoneFlag;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.events.PlotFlagRemoveEvent;
import com.plotsquared.events.Result;
import com.plotsquared.plot.flags.PlotFlag;
import com.plotsquared.plot.flags.implementations.DoneFlag;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
@CommandDeclaration(command = "continue",
description = "Continue a plot that was previously marked as done",

View File

@ -1,11 +1,11 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.plotsquared.config.Captions;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
@CommandDeclaration(command = "copy",
permission = "plots.copy",

View File

@ -1,12 +1,12 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.generator.HybridPlotWorld;
import com.github.intellectualsites.plotsquared.generator.HybridUtils;
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.MainUtil;
import com.plotsquared.config.Captions;
import com.plotsquared.generator.HybridPlotWorld;
import com.plotsquared.generator.HybridUtils;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
@CommandDeclaration(command = "createroadschematic",
aliases = {"crs"},

View File

@ -1,17 +1,18 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.database.DBFunc;
import com.github.intellectualsites.plotsquared.database.MySQL;
import com.github.intellectualsites.plotsquared.database.SQLManager;
import com.github.intellectualsites.plotsquared.database.SQLite;
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.worlds.SinglePlotArea;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.plotsquared.PlotSquared;
import com.plotsquared.database.DBFunc;
import com.plotsquared.database.MySQL;
import com.plotsquared.database.SQLManager;
import com.plotsquared.database.SQLite;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.plot.PlotId;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.plot.worlds.SinglePlotArea;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.tasks.TaskManager;
import com.plotsquared.database.Database;
import java.io.File;
import java.sql.SQLException;
@ -67,7 +68,7 @@ public class DatabaseCommand extends SubCommand {
return false;
}
try {
com.github.intellectualsites.plotsquared.database.Database implementation;
Database implementation;
String prefix = "";
switch (args[0].toLowerCase()) {
case "import":

View File

@ -1,12 +1,12 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.ChunkManager;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.ChunkManager;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.StringMan;
import com.plotsquared.util.tasks.TaskManager;
import java.util.Map;

View File

@ -1,7 +1,7 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.plotsquared.config.Captions;
import com.plotsquared.player.PlotPlayer;
import java.util.ArrayList;
import java.util.List;

View File

@ -1,18 +1,18 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.plot.object.PlotArea;
import com.github.intellectualsites.plotsquared.plot.object.PlotId;
import com.github.intellectualsites.plotsquared.plot.object.PlotManager;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.plot.object.StringWrapper;
import com.github.intellectualsites.plotsquared.util.ChunkManager;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.github.intellectualsites.plotsquared.util.WorldUtil;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.plot.PlotId;
import com.plotsquared.plot.PlotManager;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.StringWrapper;
import com.plotsquared.util.ChunkManager;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.util.WorldUtil;
import com.google.common.collect.BiMap;
import com.sk89q.worldedit.math.BlockVector2;

View File

@ -1,39 +1,39 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.events.PlotFlagRemoveEvent;
import com.github.intellectualsites.plotsquared.events.Result;
import com.github.intellectualsites.plotsquared.plot.flags.GlobalFlagContainer;
import com.github.intellectualsites.plotsquared.plot.flags.PlotFlag;
import com.github.intellectualsites.plotsquared.generator.HybridUtils;
import com.github.intellectualsites.plotsquared.listener.WEManager;
import com.github.intellectualsites.plotsquared.player.ConsolePlayer;
import com.github.intellectualsites.plotsquared.plot.object.Location;
import com.github.intellectualsites.plotsquared.player.OfflinePlotPlayer;
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.plot.object.message.PlotMessage;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal2;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
import com.github.intellectualsites.plotsquared.util.ChunkManager;
import com.github.intellectualsites.plotsquared.util.EconHandler;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.MathMan;
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.WorldUtil;
import com.github.intellectualsites.plotsquared.queue.GlobalBlockQueue;
import com.github.intellectualsites.plotsquared.plot.expiration.ExpireManager;
import com.github.intellectualsites.plotsquared.plot.expiration.PlotAnalysis;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.database.DBFunc;
import com.plotsquared.events.PlotFlagRemoveEvent;
import com.plotsquared.events.Result;
import com.plotsquared.plot.flags.GlobalFlagContainer;
import com.plotsquared.plot.flags.PlotFlag;
import com.plotsquared.generator.HybridUtils;
import com.plotsquared.listener.WEManager;
import com.plotsquared.player.ConsolePlayer;
import com.plotsquared.location.Location;
import com.plotsquared.player.OfflinePlotPlayer;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.plot.PlotId;
import com.plotsquared.plot.message.PlotMessage;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal;
import com.plotsquared.util.tasks.RunnableVal2;
import com.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.util.ChunkManager;
import com.plotsquared.util.EconHandler;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.MathMan;
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.WorldUtil;
import com.plotsquared.queue.GlobalBlockQueue;
import com.plotsquared.plot.expiration.ExpireManager;
import com.plotsquared.plot.expiration.PlotAnalysis;
import com.google.common.io.Files;
import com.sk89q.worldedit.world.block.BlockState;

View File

@ -1,15 +1,15 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.object.PlotId;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal2;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
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.util.uuid.UUIDHandler;
import com.github.intellectualsites.plotsquared.util.WorldUtil;
import com.plotsquared.PlotSquared;
import com.plotsquared.plot.PlotId;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal2;
import com.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.plot.worlds.PlotAreaManager;
import com.plotsquared.plot.worlds.SinglePlotArea;
import com.plotsquared.plot.worlds.SinglePlotAreaManager;
import com.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.util.WorldUtil;
import com.google.common.base.Charsets;
import java.io.File;

View File

@ -1,8 +1,8 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.database.DBFunc;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.plotsquared.PlotSquared;
import com.plotsquared.database.DBFunc;
import com.plotsquared.player.PlotPlayer;
@CommandDeclaration(command = "debugloadtest",
permission = "plots.debugloadtest",

View File

@ -1,15 +1,16 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.net.IncendoPaster;
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.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.net.IncendoPaster;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.tasks.TaskManager;
import com.plotsquared.util.uuid.UUIDHandler;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import com.plotsquared.util.PremiumVerification;
import lombok.NonNull;
import java.io.BufferedReader;
@ -24,9 +25,6 @@ import java.util.Map;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;
import static com.github.intellectualsites.plotsquared.util.PremiumVerification.getDownloadID;
import static com.github.intellectualsites.plotsquared.util.PremiumVerification.getUserID;
@CommandDeclaration(command = "debugpaste",
aliases = "dp",
usage = "/plot debugpaste",
@ -59,7 +57,8 @@ public class DebugPaste extends SubCommand {
+ "problem\n\n");
b.append("# PlotSquared Information\n");
b.append("This PlotSquared version is licensed to the spigot user ")
.append(getUserID()).append(" under ").append(getDownloadID()).append("\n");
.append(PremiumVerification.getUserID()).append(" under ").append(
PremiumVerification.getDownloadID()).append("\n");
b.append("# Server Information\n");
b.append("Server Version: ").append(PlotSquared.get().IMP.getServerImplementation())
.append("\n");

View File

@ -1,14 +1,14 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.generator.HybridPlotManager;
import com.github.intellectualsites.plotsquared.generator.HybridUtils;
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.PlotManager;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.plotsquared.config.Captions;
import com.plotsquared.generator.HybridPlotManager;
import com.plotsquared.generator.HybridUtils;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.plot.PlotManager;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
import java.util.Arrays;

View File

@ -1,10 +1,10 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.database.DBFunc;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.plotsquared.PlotSquared;
import com.plotsquared.database.DBFunc;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
import java.util.ArrayList;

View File

@ -1,18 +1,18 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.events.Result;
import com.github.intellectualsites.plotsquared.plot.object.Expression;
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.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.EconHandler;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.events.Result;
import com.plotsquared.util.Expression;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.EconHandler;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.tasks.TaskManager;
@CommandDeclaration(command = "delete",

View File

@ -1,15 +1,15 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.database.DBFunc;
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.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.github.intellectualsites.plotsquared.util.WorldUtil;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.database.DBFunc;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.util.WorldUtil;
import com.sk89q.worldedit.world.gamemode.GameModes;
import java.util.Set;

View File

@ -1,14 +1,14 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.events.PlotFlagAddEvent;
import com.github.intellectualsites.plotsquared.events.PlotFlagRemoveEvent;
import com.github.intellectualsites.plotsquared.events.Result;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.DescriptionFlag;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.events.PlotFlagAddEvent;
import com.plotsquared.events.PlotFlagRemoveEvent;
import com.plotsquared.events.Result;
import com.plotsquared.plot.flags.implementations.DescriptionFlag;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
@CommandDeclaration(command = "setdescription",
permission = "plots.set.desc",

View File

@ -1,6 +1,6 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.plotsquared.player.PlotPlayer;
@CommandDeclaration(command = "dislike",
permission = "plots.dislike",

View File

@ -1,22 +1,22 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.events.PlotDoneEvent;
import com.github.intellectualsites.plotsquared.events.PlotFlagAddEvent;
import com.github.intellectualsites.plotsquared.events.Result;
import com.github.intellectualsites.plotsquared.plot.flags.PlotFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.DoneFlag;
import com.github.intellectualsites.plotsquared.generator.HybridUtils;
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.Permissions;
import com.github.intellectualsites.plotsquared.plot.expiration.ExpireManager;
import com.github.intellectualsites.plotsquared.plot.expiration.PlotAnalysis;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.events.PlotDoneEvent;
import com.plotsquared.events.PlotFlagAddEvent;
import com.plotsquared.events.Result;
import com.plotsquared.plot.flags.PlotFlag;
import com.plotsquared.plot.flags.implementations.DoneFlag;
import com.plotsquared.generator.HybridUtils;
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.Permissions;
import com.plotsquared.plot.expiration.ExpireManager;
import com.plotsquared.plot.expiration.PlotAnalysis;
@CommandDeclaration(command = "done",
aliases = {"submit"},

View File

@ -1,17 +1,17 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.plot.flags.implementations.DoneFlag;
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.Permissions;
import com.github.intellectualsites.plotsquared.util.SchematicHandler;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.github.intellectualsites.plotsquared.util.WorldUtil;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.plot.flags.implementations.DoneFlag;
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.Permissions;
import com.plotsquared.util.SchematicHandler;
import com.plotsquared.util.StringMan;
import com.plotsquared.util.WorldUtil;
import com.sk89q.jnbt.CompoundTag;
import java.net.URL;

View File

@ -1,30 +1,30 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.CaptionUtility;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.config.Settings;
import com.github.intellectualsites.plotsquared.events.PlotFlagAddEvent;
import com.github.intellectualsites.plotsquared.events.PlotFlagRemoveEvent;
import com.github.intellectualsites.plotsquared.events.Result;
import com.github.intellectualsites.plotsquared.plot.flags.FlagParseException;
import com.github.intellectualsites.plotsquared.plot.flags.GlobalFlagContainer;
import com.github.intellectualsites.plotsquared.plot.flags.InternalFlag;
import com.github.intellectualsites.plotsquared.plot.flags.PlotFlag;
import com.github.intellectualsites.plotsquared.plot.flags.types.IntegerFlag;
import com.github.intellectualsites.plotsquared.plot.flags.types.ListFlag;
import com.github.intellectualsites.plotsquared.plot.object.Location;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.plot.object.message.PlotMessage;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal2;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
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.StringComparison;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.github.intellectualsites.plotsquared.util.helpmenu.HelpMenu;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.CaptionUtility;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.events.PlotFlagAddEvent;
import com.plotsquared.events.PlotFlagRemoveEvent;
import com.plotsquared.events.Result;
import com.plotsquared.plot.flags.FlagParseException;
import com.plotsquared.plot.flags.GlobalFlagContainer;
import com.plotsquared.plot.flags.InternalFlag;
import com.plotsquared.plot.flags.PlotFlag;
import com.plotsquared.plot.flags.types.IntegerFlag;
import com.plotsquared.plot.flags.types.ListFlag;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.message.PlotMessage;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal2;
import com.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.MathMan;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.StringComparison;
import com.plotsquared.util.StringMan;
import com.plotsquared.util.helpmenu.HelpMenu;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

View File

@ -1,15 +1,15 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.plot.config.CaptionUtility;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.database.DBFunc;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal2;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.config.CaptionUtility;
import com.plotsquared.config.Captions;
import com.plotsquared.database.DBFunc;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal;
import com.plotsquared.util.tasks.RunnableVal2;
import com.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.uuid.UUIDHandler;
import com.google.common.primitives.Ints;
import java.util.UUID;

View File

@ -1,13 +1,13 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal2;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.MathMan;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.github.intellectualsites.plotsquared.util.helpmenu.HelpMenu;
import com.plotsquared.config.Captions;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal2;
import com.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.MathMan;
import com.plotsquared.util.StringMan;
import com.plotsquared.util.helpmenu.HelpMenu;
import java.util.concurrent.CompletableFuture;

View File

@ -1,14 +1,14 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
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.plot.comment.CommentInbox;
import com.github.intellectualsites.plotsquared.plot.comment.PlotComment;
import com.github.intellectualsites.plotsquared.plot.comment.CommentManager;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.plotsquared.config.Captions;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal;
import com.plotsquared.plot.comment.CommentInbox;
import com.plotsquared.plot.comment.PlotComment;
import com.plotsquared.plot.comment.CommentManager;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.StringMan;
import java.util.List;

View File

@ -1,13 +1,13 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.HideInfoFlag;
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.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.database.DBFunc;
import com.plotsquared.plot.flags.implementations.HideInfoFlag;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal;
import com.plotsquared.util.MainUtil;
@CommandDeclaration(command = "info",
aliases = "i",

View File

@ -1,15 +1,15 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.database.DBFunc;
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.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.github.intellectualsites.plotsquared.util.WorldUtil;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.database.DBFunc;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.util.WorldUtil;
import java.util.HashSet;
import java.util.Set;

View File

@ -1,12 +1,12 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal2;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal2;
import com.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.util.MainUtil;
import java.util.UUID;
import java.util.concurrent.CompletableFuture;

View File

@ -1,18 +1,18 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.events.PlotRateEvent;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.DoneFlag;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.plot.object.Rating;
import com.github.intellectualsites.plotsquared.plot.object.TeleportCause;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.database.DBFunc;
import com.plotsquared.events.PlotRateEvent;
import com.plotsquared.plot.flags.implementations.DoneFlag;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.plot.Rating;
import com.plotsquared.events.TeleportCause;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.tasks.TaskManager;
import java.util.ArrayList;
import java.util.Collection;

View File

@ -1,25 +1,25 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.PlotSquared.SortType;
import com.github.intellectualsites.plotsquared.plot.config.CaptionUtility;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.DoneFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.PriceFlag;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
import com.github.intellectualsites.plotsquared.plot.object.message.PlotMessage;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.plot.object.Rating;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
import com.github.intellectualsites.plotsquared.util.EconHandler;
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.StringComparison;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.github.intellectualsites.plotsquared.plot.expiration.ExpireManager;
import com.plotsquared.PlotSquared;
import com.plotsquared.PlotSquared.SortType;
import com.plotsquared.config.CaptionUtility;
import com.plotsquared.config.Captions;
import com.plotsquared.plot.flags.implementations.DoneFlag;
import com.plotsquared.plot.flags.implementations.PriceFlag;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.plot.message.PlotMessage;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.plot.Rating;
import com.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.util.EconHandler;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.MathMan;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.StringComparison;
import com.plotsquared.util.StringMan;
import com.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.plot.expiration.ExpireManager;
import java.util.ArrayList;
import java.util.Arrays;

View File

@ -1,18 +1,18 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.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.util.tasks.RunnableVal;
import com.github.intellectualsites.plotsquared.plot.object.schematic.Schematic;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.github.intellectualsites.plotsquared.util.SchematicHandler;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.plot.PlotId;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal;
import com.plotsquared.plot.schematic.Schematic;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.SchematicHandler;
import com.plotsquared.util.tasks.TaskManager;
import java.net.MalformedURLException;
import java.net.URL;

View File

@ -1,17 +1,17 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.Expression;
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.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal2;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
import com.github.intellectualsites.plotsquared.util.EconHandler;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.player.ConsolePlayer;
import com.plotsquared.util.Expression;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal2;
import com.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.util.EconHandler;
import com.plotsquared.util.Permissions;
import java.util.Arrays;
import java.util.concurrent.CompletableFuture;

View File

@ -1,26 +1,24 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.events.PlotMergeEvent;
import com.github.intellectualsites.plotsquared.events.Result;
import com.github.intellectualsites.plotsquared.plot.object.Direction;
import com.github.intellectualsites.plotsquared.plot.object.Expression;
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.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.EconHandler;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.events.PlotMergeEvent;
import com.plotsquared.events.Result;
import com.plotsquared.location.Direction;
import com.plotsquared.util.Expression;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.EconHandler;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.StringMan;
import com.plotsquared.util.uuid.UUIDHandler;
import java.util.UUID;
import static com.github.intellectualsites.plotsquared.plot.object.Direction.getFromIndex;
@CommandDeclaration(command = "merge",
aliases = "m",
description = "Merge the plot you are standing on with another plot",
@ -85,7 +83,7 @@ public class Merge extends SubCommand {
} else {
for (int i = 0; i < values.length; i++) {
if (args[0].equalsIgnoreCase(values[i]) || args[0].equalsIgnoreCase(aliases[i])) {
direction = getFromIndex(i);
direction = Direction.getFromIndex(i);
break;
}
}

View File

@ -1,10 +1,10 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.plot.object.TeleportCause;
import com.plotsquared.config.Captions;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.events.TeleportCause;
/**
* @author manuelgu, altered by Citymonstret

View File

@ -1,15 +1,15 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.plot.object.PlotArea;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal2;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal2;
import com.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import java.util.concurrent.CompletableFuture;

View File

@ -1,13 +1,16 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.events.PlotFlagAddEvent;
import com.github.intellectualsites.plotsquared.events.PlotFlagRemoveEvent;
import com.github.intellectualsites.plotsquared.events.Result;
import com.github.intellectualsites.plotsquared.plot.flags.PlotFlag;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.MusicFlag;
import com.github.intellectualsites.plotsquared.plot.object.*;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.config.Captions;
import com.plotsquared.events.PlotFlagAddEvent;
import com.plotsquared.events.PlotFlagRemoveEvent;
import com.plotsquared.events.Result;
import com.plotsquared.plot.flags.PlotFlag;
import com.plotsquared.plot.flags.implementations.MusicFlag;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotInventory;
import com.plotsquared.plot.PlotItemStack;
import com.sk89q.worldedit.world.item.ItemTypes;
import java.util.Arrays;

View File

@ -1,11 +1,11 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal2;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.plotsquared.config.Captions;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal2;
import com.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.util.StringMan;
import java.util.concurrent.CompletableFuture;

View File

@ -1,17 +1,17 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.events.PlotChangeOwnerEvent;
import com.github.intellectualsites.plotsquared.events.PlotUnlinkEvent;
import com.github.intellectualsites.plotsquared.events.Result;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.events.PlotChangeOwnerEvent;
import com.plotsquared.events.PlotUnlinkEvent;
import com.plotsquared.events.Result;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.util.tasks.TaskManager;
import java.util.Set;
import java.util.UUID;

View File

@ -1,11 +1,10 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import static com.github.intellectualsites.plotsquared.util.PremiumVerification.isPremium;
import com.plotsquared.PlotSquared;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.tasks.TaskManager;
import com.plotsquared.util.PremiumVerification;
@CommandDeclaration(command = "plugin",
permission = "plots.use",
@ -24,7 +23,7 @@ public class PluginCmd extends SubCommand {
"$2>> $1&lAuthors$2: $1Citymonstret $2& $1Empire92 $2& $1MattBDev $2& $1dordsor21 $2& $1NotMyFault");
MainUtil.sendMessage(player,
"$2>> $1&lWiki$2: $1https://github.com/IntellectualSites/PlotSquared/wiki");
MainUtil.sendMessage(player, "$2>> $1&lPremium$2: $1" + isPremium());
MainUtil.sendMessage(player, "$2>> $1&lPremium$2: $1" + PremiumVerification.isPremium());
});
return true;
}

View File

@ -1,16 +1,16 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.database.DBFunc;
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.util.StringMan;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.database.DBFunc;
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.util.StringMan;
import com.plotsquared.util.tasks.TaskManager;
import com.plotsquared.util.uuid.UUIDHandler;
import java.util.HashMap;
import java.util.HashSet;

View File

@ -1,21 +1,21 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.events.PlotRateEvent;
import com.github.intellectualsites.plotsquared.plot.flags.implementations.DoneFlag;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
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.plot.object.Rating;
import com.github.intellectualsites.plotsquared.plot.object.TeleportCause;
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.tasks.TaskManager;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.database.DBFunc;
import com.plotsquared.events.PlotRateEvent;
import com.plotsquared.plot.flags.implementations.DoneFlag;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotInventory;
import com.plotsquared.plot.PlotItemStack;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.plot.Rating;
import com.plotsquared.events.TeleportCause;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.MathMan;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.tasks.TaskManager;
import java.util.ArrayList;
import java.util.HashMap;

View File

@ -1,13 +1,13 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.generator.HybridPlotManager;
import com.github.intellectualsites.plotsquared.generator.HybridUtils;
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
import com.github.intellectualsites.plotsquared.plot.object.PlotManager;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.generator.HybridPlotManager;
import com.plotsquared.generator.HybridUtils;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.plot.PlotManager;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
@CommandDeclaration(command = "regenallroads",
description = "Regenerate all roads in the map using the set road schematic",

View File

@ -1,13 +1,13 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
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.tasks.RunnableVal2;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
import com.github.intellectualsites.plotsquared.util.ChunkManager;
import com.github.intellectualsites.plotsquared.queue.LocalBlockQueue;
import com.plotsquared.config.Captions;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal;
import com.plotsquared.util.tasks.RunnableVal2;
import com.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.util.ChunkManager;
import com.plotsquared.queue.LocalBlockQueue;
import java.util.concurrent.CompletableFuture;

View File

@ -1,13 +1,13 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.configuration.ConfigurationSection;
import com.github.intellectualsites.plotsquared.configuration.MemorySection;
import com.github.intellectualsites.plotsquared.configuration.file.YamlConfiguration;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.object.PlotAreaType;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.plotsquared.configuration.ConfigurationSection;
import com.plotsquared.configuration.MemorySection;
import com.plotsquared.configuration.file.YamlConfiguration;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.plot.PlotAreaType;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
import java.io.IOException;
import java.util.Objects;

View File

@ -1,14 +1,14 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.database.DBFunc;
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.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.github.intellectualsites.plotsquared.util.uuid.UUIDHandler;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.database.DBFunc;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.uuid.UUIDHandler;
import java.util.ArrayList;
import java.util.HashSet;

View File

@ -1,4 +1,4 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
public enum RequiredType {
CONSOLE, PLAYER, NONE;

View File

@ -1,16 +1,16 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.plot.object.PlotId;
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.Permissions;
import com.github.intellectualsites.plotsquared.util.SchematicHandler;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotId;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.SchematicHandler;
import com.plotsquared.util.tasks.TaskManager;
import com.sk89q.jnbt.CompoundTag;
import java.net.URL;

View File

@ -1,20 +1,20 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.ConsolePlayer;
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.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal;
import com.github.intellectualsites.plotsquared.plot.object.schematic.Schematic;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.github.intellectualsites.plotsquared.util.SchematicHandler;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.player.ConsolePlayer;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal;
import com.plotsquared.plot.schematic.Schematic;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.SchematicHandler;
import com.plotsquared.util.StringMan;
import com.plotsquared.util.tasks.TaskManager;
import com.google.common.collect.Lists;
import java.net.URL;

View File

@ -1,15 +1,15 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.plot.config.CaptionUtility;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.plot.object.PlotManager;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.github.intellectualsites.plotsquared.queue.GlobalBlockQueue;
import com.github.intellectualsites.plotsquared.util.PatternUtil;
import com.plotsquared.config.CaptionUtility;
import com.plotsquared.config.Captions;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotManager;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.StringMan;
import com.plotsquared.queue.GlobalBlockQueue;
import com.plotsquared.util.PatternUtil;
import com.sk89q.worldedit.function.pattern.Pattern;
import java.util.ArrayList;

View File

@ -1,13 +1,13 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.plot.config.CaptionUtility;
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.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.plotsquared.config.CaptionUtility;
import com.plotsquared.config.Captions;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.StringMan;
public abstract class SetCommand extends SubCommand {

View File

@ -1,11 +1,11 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.object.BlockLoc;
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.MainUtil;
import com.plotsquared.config.Captions;
import com.plotsquared.location.BlockLoc;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
@CommandDeclaration(command = "sethome",
permission = "plots.set.home",

View File

@ -1,22 +1,22 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.config.Configuration;
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.PlotAreaTerrainType;
import com.github.intellectualsites.plotsquared.plot.object.PlotAreaType;
import com.github.intellectualsites.plotsquared.plot.object.PlotId;
import com.github.intellectualsites.plotsquared.plot.object.message.PlotMessage;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.plot.object.SetupObject;
import com.github.intellectualsites.plotsquared.plot.object.TeleportCause;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.SetupUtils;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.github.intellectualsites.plotsquared.util.WorldUtil;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Configuration;
import com.plotsquared.config.ConfigurationNode;
import com.plotsquared.generator.GeneratorWrapper;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.plot.PlotAreaTerrainType;
import com.plotsquared.plot.PlotAreaType;
import com.plotsquared.plot.PlotId;
import com.plotsquared.plot.message.PlotMessage;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.plot.SetupObject;
import com.plotsquared.events.TeleportCause;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.SetupUtils;
import com.plotsquared.util.StringMan;
import com.plotsquared.util.WorldUtil;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;

View File

@ -1,9 +1,9 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal2;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.config.Captions;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal2;
import com.plotsquared.util.tasks.RunnableVal3;
import java.util.concurrent.CompletableFuture;

View File

@ -1,13 +1,13 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.RunnableVal2;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
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.RunnableVal2;
import com.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import java.util.concurrent.CompletableFuture;

View File

@ -1,12 +1,12 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.MainUtil;
import com.github.intellectualsites.plotsquared.util.StringMan;
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.MainUtil;
import com.plotsquared.util.StringMan;
@CommandDeclaration(command = "target",
usage = "/plot target <<plot>|nearest>",

View File

@ -1,23 +1,23 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.configuration.ConfigurationSection;
import com.github.intellectualsites.plotsquared.configuration.InvalidConfigurationException;
import com.github.intellectualsites.plotsquared.configuration.file.YamlConfiguration;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.plot.config.ConfigurationNode;
import com.github.intellectualsites.plotsquared.plot.config.Settings;
import com.github.intellectualsites.plotsquared.util.FileBytes;
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
import com.github.intellectualsites.plotsquared.plot.object.PlotManager;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.plot.object.SetupObject;
import com.github.intellectualsites.plotsquared.plot.object.TeleportCause;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.SetupUtils;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.github.intellectualsites.plotsquared.util.WorldUtil;
import com.github.intellectualsites.plotsquared.queue.GlobalBlockQueue;
import com.plotsquared.configuration.ConfigurationSection;
import com.plotsquared.configuration.InvalidConfigurationException;
import com.plotsquared.configuration.file.YamlConfiguration;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.ConfigurationNode;
import com.plotsquared.config.Settings;
import com.plotsquared.util.FileBytes;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.plot.PlotManager;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.plot.SetupObject;
import com.plotsquared.events.TeleportCause;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.SetupUtils;
import com.plotsquared.util.tasks.TaskManager;
import com.plotsquared.util.WorldUtil;
import com.plotsquared.queue.GlobalBlockQueue;
import java.io.File;
import java.io.FileInputStream;

View File

@ -1,10 +1,10 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal2;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.plotsquared.config.Captions;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal2;
import com.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.util.MainUtil;
@CommandDeclaration(command = "toggle",
aliases = {"attribute"},

View File

@ -1,20 +1,20 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.tasks.RunnableVal2;
import com.github.intellectualsites.plotsquared.util.ChunkManager;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.github.intellectualsites.plotsquared.util.WorldUtil;
import com.github.intellectualsites.plotsquared.queue.GlobalBlockQueue;
import com.github.intellectualsites.plotsquared.queue.LocalBlockQueue;
import com.github.intellectualsites.plotsquared.plot.expiration.ExpireManager;
import com.github.intellectualsites.plotsquared.util.RegionUtil;
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.tasks.RunnableVal2;
import com.plotsquared.util.ChunkManager;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.tasks.TaskManager;
import com.plotsquared.util.WorldUtil;
import com.plotsquared.queue.GlobalBlockQueue;
import com.plotsquared.queue.LocalBlockQueue;
import com.plotsquared.plot.expiration.ExpireManager;
import com.plotsquared.util.RegionUtil;
import com.sk89q.worldedit.math.BlockVector2;
import com.sk89q.worldedit.regions.CuboidRegion;

View File

@ -1,14 +1,14 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.database.DBFunc;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal2;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
import com.github.intellectualsites.plotsquared.util.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.database.DBFunc;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal2;
import com.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import java.util.Iterator;
import java.util.Set;

View File

@ -1,16 +1,16 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Captions;
import com.github.intellectualsites.plotsquared.events.PlotUnlinkEvent;
import com.github.intellectualsites.plotsquared.events.Result;
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.MainUtil;
import com.github.intellectualsites.plotsquared.util.Permissions;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.github.intellectualsites.plotsquared.util.tasks.TaskManager;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.events.PlotUnlinkEvent;
import com.plotsquared.events.Result;
import com.plotsquared.location.Location;
import com.plotsquared.plot.Plot;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.StringMan;
import com.plotsquared.util.tasks.TaskManager;
@CommandDeclaration(command = "unlink",
aliases = {"u", "unmerge"},

View File

@ -1,19 +1,19 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
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.plot.flags.implementations.UntrustedVisitFlag;
import com.github.intellectualsites.plotsquared.plot.object.Plot;
import com.github.intellectualsites.plotsquared.plot.object.PlotArea;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal2;
import com.github.intellectualsites.plotsquared.util.tasks.RunnableVal3;
import com.github.intellectualsites.plotsquared.plot.object.TeleportCause;
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.uuid.UUIDHandler;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Captions;
import com.plotsquared.config.Settings;
import com.plotsquared.plot.flags.implementations.UntrustedVisitFlag;
import com.plotsquared.plot.Plot;
import com.plotsquared.plot.PlotArea;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.tasks.RunnableVal2;
import com.plotsquared.util.tasks.RunnableVal3;
import com.plotsquared.events.TeleportCause;
import com.plotsquared.util.MainUtil;
import com.plotsquared.util.MathMan;
import com.plotsquared.util.Permissions;
import com.plotsquared.util.uuid.UUIDHandler;
import java.util.ArrayList;
import java.util.Collection;

View File

@ -1,6 +1,6 @@
package com.github.intellectualsites.plotsquared.commands;
package com.plotsquared.commands;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.plotsquared.player.PlotPlayer;
@CommandDeclaration(command = "weanywhere",
permission = "plots.worldedit.bypass",

View File

@ -1,8 +1,8 @@
package com.github.intellectualsites.plotsquared.plot.config;
package com.plotsquared.config;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.plotsquared.PlotSquared;
import com.plotsquared.player.PlotPlayer;
import com.plotsquared.util.StringMan;
public interface Caption {

View File

@ -1,6 +1,6 @@
package com.github.intellectualsites.plotsquared.plot.config;
package com.plotsquared.config;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.plotsquared.player.PlotPlayer;
public class CaptionUtility {

View File

@ -1,9 +1,9 @@
package com.github.intellectualsites.plotsquared.plot.config;
package com.plotsquared.config;
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.util.StringMan;
import com.plotsquared.configuration.ConfigurationSection;
import com.plotsquared.configuration.file.YamlConfiguration;
import com.plotsquared.PlotSquared;
import com.plotsquared.util.StringMan;
import java.io.File;
import java.io.IOException;

View File

@ -1,6 +1,6 @@
package com.github.intellectualsites.plotsquared.plot.config;
package com.plotsquared.config;
import com.github.intellectualsites.plotsquared.player.PlotPlayer;
import com.plotsquared.player.PlotPlayer;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

View File

@ -1,10 +1,10 @@
package com.github.intellectualsites.plotsquared.plot.config;
package com.plotsquared.config;
import com.github.intellectualsites.plotsquared.configuration.MemorySection;
import com.github.intellectualsites.plotsquared.configuration.file.YamlConfiguration;
import com.github.intellectualsites.plotsquared.PlotSquared;
import com.github.intellectualsites.plotsquared.plot.config.Settings.Enabled_Components;
import com.github.intellectualsites.plotsquared.util.StringMan;
import com.plotsquared.configuration.MemorySection;
import com.plotsquared.configuration.file.YamlConfiguration;
import com.plotsquared.PlotSquared;
import com.plotsquared.config.Settings.Enabled_Components;
import com.plotsquared.util.StringMan;
import java.io.File;
import java.io.PrintWriter;

Some files were not shown because too many files have changed in this diff Show More