diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/managers/MultiverseWorldManager.java b/Bukkit/src/main/java/com/plotsquared/bukkit/managers/MultiverseWorldManager.java index 8f583de2e..d38e19499 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/managers/MultiverseWorldManager.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/managers/MultiverseWorldManager.java @@ -36,7 +36,7 @@ import org.checkerframework.checker.nullness.qual.Nullable; * world creation by executing a console command * * @deprecated Deprecated and scheduled for removal without replacement - * in favor of the build in setup wizard. + * in favor of the build in setup wizard. */ @Deprecated(forRemoval = true) @Singleton diff --git a/Bukkit/src/main/resources/plugin.yml b/Bukkit/src/main/resources/plugin.yml index c4cecd6a4..10a9ae019 100644 --- a/Bukkit/src/main/resources/plugin.yml +++ b/Bukkit/src/main/resources/plugin.yml @@ -4,16 +4,16 @@ api-version: "1.13" version: "${version}" load: STARTUP description: "Easy, yet powerful Plot World generation and management." -authors: [Citymonstret, Empire92, MattBDev, dordsor21, NotMyFault, SirYwell] +authors: [ Citymonstret, Empire92, MattBDev, dordsor21, NotMyFault, SirYwell ] website: https://www.spigotmc.org/resources/77506/ -softdepend: [Vault, PlaceholderAPI, Essentials, LuckPerms, BungeePerms, MVdWPlaceholderAPI] -loadbefore: [MultiWorld, Multiverse-Core] -depend: [WorldEdit] +softdepend: [ Vault, PlaceholderAPI, Essentials, LuckPerms, BungeePerms, MVdWPlaceholderAPI ] +loadbefore: [ MultiWorld, Multiverse-Core ] +depend: [ WorldEdit ] database: false commands: plots: description: Plot command. - aliases: [p,plot,ps,plotsquared,p2,2,plotme] + aliases: [ p,plot,ps,plotsquared,p2,2,plotme ] permission: plots.use permission-message: "You are lacking the permission node 'plots.use'" permissions: diff --git a/Core/build.gradle.kts b/Core/build.gradle.kts index 35a49d32a..0cdc66a64 100644 --- a/Core/build.gradle.kts +++ b/Core/build.gradle.kts @@ -50,9 +50,9 @@ dependencies { tasks.processResources { filesMatching("plugin.properties") { expand( - "version" to project.version.toString(), - "commit" to rootProject.grgit.head().abbreviatedId, - "date" to rootProject.grgit.head().dateTime.format(DateTimeFormatter.ofPattern("yy.MM.dd")) + "version" to project.version.toString(), + "commit" to rootProject.grgit.head().abbreviatedId, + "date" to rootProject.grgit.head().dateTime.format(DateTimeFormatter.ofPattern("yy.MM.dd")) ) } } diff --git a/Core/src/main/java/com/plotsquared/core/command/Area.java b/Core/src/main/java/com/plotsquared/core/command/Area.java index 3f2fb958d..510bc2e36 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Area.java +++ b/Core/src/main/java/com/plotsquared/core/command/Area.java @@ -714,12 +714,12 @@ public class Area extends SubCommand { .deserialize( TranslatableCaption.miniMessage("info.area_list_tooltip").getComponent(player), PlaceholderResolver.placeholders( - claimedTemplate, - usageTemplate, - clustersTemplate, - regionTemplate, - generatorTemplate - ))); + claimedTemplate, + usageTemplate, + clustersTemplate, + regionTemplate, + generatorTemplate + ))); Placeholder tooltipTemplate = Placeholder.miniMessage("hover_info", tooltip); Placeholder visitcmdTemplate = Placeholder.miniMessage("command_tp", "/plot area tp " + area); Placeholder infocmdTemplate = Placeholder.miniMessage("command_info", "/plot area info " + area); diff --git a/Core/src/main/java/com/plotsquared/core/command/Chat.java b/Core/src/main/java/com/plotsquared/core/command/Chat.java index 083ffa23b..4870195fe 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Chat.java +++ b/Core/src/main/java/com/plotsquared/core/command/Chat.java @@ -32,7 +32,7 @@ import net.kyori.adventure.text.minimessage.placeholder.Placeholder; /** * @deprecated In favor of "/plot toggle chat" and - * scheduled for removal within the next major release. + * scheduled for removal within the next major release. */ @Deprecated(forRemoval = true) @CommandDeclaration(command = "chat", diff --git a/Core/src/main/java/com/plotsquared/core/command/Clear.java b/Core/src/main/java/com/plotsquared/core/command/Clear.java index 7f6022051..56eb9178f 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Clear.java +++ b/Core/src/main/java/com/plotsquared/core/command/Clear.java @@ -44,7 +44,6 @@ import com.plotsquared.core.util.task.RunnableVal2; import com.plotsquared.core.util.task.RunnableVal3; import com.plotsquared.core.util.task.TaskManager; import net.kyori.adventure.text.minimessage.placeholder.Placeholder; -import net.kyori.adventure.text.minimessage.placeholder.Placeholder; import org.checkerframework.checker.nullness.qual.NonNull; import java.util.concurrent.CompletableFuture; diff --git a/Core/src/main/java/com/plotsquared/core/command/Command.java b/Core/src/main/java/com/plotsquared/core/command/Command.java index 9cad84528..b0e21e96b 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Command.java +++ b/Core/src/main/java/com/plotsquared/core/command/Command.java @@ -290,7 +290,7 @@ public abstract class Command { * @param confirm Instance, Success, Failure * @param whenDone task to run when done * @return CompletableFuture true if the command executed fully, false in - * any other case + * any other case */ public CompletableFuture execute( PlotPlayer player, String[] args, diff --git a/Core/src/main/java/com/plotsquared/core/command/FlagCommand.java b/Core/src/main/java/com/plotsquared/core/command/FlagCommand.java index 51bc22782..fb30ba826 100644 --- a/Core/src/main/java/com/plotsquared/core/command/FlagCommand.java +++ b/Core/src/main/java/com/plotsquared/core/command/FlagCommand.java @@ -28,8 +28,8 @@ package com.plotsquared.core.command; import com.plotsquared.core.PlotSquared; import com.plotsquared.core.configuration.Settings; import com.plotsquared.core.configuration.caption.CaptionUtility; -import com.plotsquared.core.configuration.caption.StaticCaption; import com.plotsquared.core.configuration.caption.Placeholders; +import com.plotsquared.core.configuration.caption.StaticCaption; import com.plotsquared.core.configuration.caption.TranslatableCaption; import com.plotsquared.core.events.PlotFlagAddEvent; import com.plotsquared.core.events.PlotFlagRemoveEvent; diff --git a/Core/src/main/java/com/plotsquared/core/command/Inbox.java b/Core/src/main/java/com/plotsquared/core/command/Inbox.java index 2db25f403..777d9d869 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Inbox.java +++ b/Core/src/main/java/com/plotsquared/core/command/Inbox.java @@ -97,14 +97,14 @@ public class Inbox extends SubCommand { TranslatableCaption.miniMessage("list.comment_list_by_lister").getComponent(player), PlaceholderResolver.placeholders( Placeholder.miniMessage("comment", comment.comment) - )); + )); } else { commentColored = MINI_MESSAGE .deserialize( TranslatableCaption.miniMessage("list.comment_list_by_other").getComponent(player), PlaceholderResolver.placeholders( Placeholder.miniMessage("comment", comment.comment) - )); + )); } Placeholder number = Placeholder.miniMessage("number", String.valueOf(x)); Placeholder world = Placeholder.miniMessage("world", comment.world); @@ -120,7 +120,7 @@ public class Inbox extends SubCommand { plot_id, commenter, commentTemplate - ))); + ))); } player.sendMessage(StaticCaption.of(MINI_MESSAGE.serialize(builder.build()))); } diff --git a/Core/src/main/java/com/plotsquared/core/command/Save.java b/Core/src/main/java/com/plotsquared/core/command/Save.java index f75201c38..d8a518fbd 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Save.java +++ b/Core/src/main/java/com/plotsquared/core/command/Save.java @@ -48,7 +48,7 @@ import java.util.UUID; /** * @deprecated In favor of "/plot download" (Arkitektonika) and scheduled - * for removal within the next major release. + * for removal within the next major release. */ @Deprecated(forRemoval = true) @CommandDeclaration(command = "save", diff --git a/Core/src/main/java/com/plotsquared/core/command/Visit.java b/Core/src/main/java/com/plotsquared/core/command/Visit.java index 7643d0f92..0a31ea6ed 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Visit.java +++ b/Core/src/main/java/com/plotsquared/core/command/Visit.java @@ -143,7 +143,7 @@ public class Visit extends Command { // allow visit, if UntrustedVisit flag is set, or if the player has either the plot.visit.other or // plot.admin.visit.untrusted permission if (!plot.getFlag(UntrustedVisitFlag.class) && !Permissions.hasPermission(player, Permission.PERMISSION_VISIT_OTHER) - && !Permissions.hasPermission(player, Permission.PERMISSION_ADMIN_VISIT_UNTRUSTED)) { + && !Permissions.hasPermission(player, Permission.PERMISSION_ADMIN_VISIT_UNTRUSTED)) { player.sendMessage( TranslatableCaption.miniMessage("permission.no_permission"), Placeholders.miniMessage("node", "plots.visit.other") diff --git a/Core/src/main/java/com/plotsquared/core/configuration/ConfigurationSection.java b/Core/src/main/java/com/plotsquared/core/configuration/ConfigurationSection.java index af144c0c1..e2bdf1793 100644 --- a/Core/src/main/java/com/plotsquared/core/configuration/ConfigurationSection.java +++ b/Core/src/main/java/com/plotsquared/core/configuration/ConfigurationSection.java @@ -74,7 +74,7 @@ public interface ConfigurationSection { * * @param path Path to check for existence. * @return True if this section contains the requested path, either via - * default or being set. + * default or being set. * @throws IllegalArgumentException Thrown when path is {@code null}. */ boolean contains(String path); @@ -88,7 +88,7 @@ public interface ConfigurationSection { * * @param path Path to check for existence. * @return True if this section contains the requested path, regardless of - * having a default. + * having a default. * @throws IllegalArgumentException Thrown when path is {@code null}. */ boolean isSet(String path); diff --git a/Core/src/main/java/com/plotsquared/core/generator/HybridPlotManager.java b/Core/src/main/java/com/plotsquared/core/generator/HybridPlotManager.java index c07f6bff4..14eec672b 100644 --- a/Core/src/main/java/com/plotsquared/core/generator/HybridPlotManager.java +++ b/Core/src/main/java/com/plotsquared/core/generator/HybridPlotManager.java @@ -46,7 +46,6 @@ import com.sk89q.worldedit.function.pattern.Pattern; import com.sk89q.worldedit.regions.CuboidRegion; import com.sk89q.worldedit.world.biome.BiomeType; import com.sk89q.worldedit.world.block.BaseBlock; -import com.sk89q.worldedit.world.block.BlockState; import com.sk89q.worldedit.world.block.BlockTypes; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; diff --git a/Core/src/main/java/com/plotsquared/core/generator/HybridPlotWorld.java b/Core/src/main/java/com/plotsquared/core/generator/HybridPlotWorld.java index 37e53332d..5c8f81a18 100644 --- a/Core/src/main/java/com/plotsquared/core/generator/HybridPlotWorld.java +++ b/Core/src/main/java/com/plotsquared/core/generator/HybridPlotWorld.java @@ -334,7 +334,7 @@ public class HybridPlotWorld extends ClassicPlotWorld { LOGGER.info("- plot schematic: {}", schematic3File.getPath()); } } - if ((schematic1 == null&& schematic2 == null) || this.ROAD_WIDTH == 0) { + if ((schematic1 == null && schematic2 == null) || this.ROAD_WIDTH == 0) { if (Settings.DEBUG) { LOGGER.info("- schematic: false"); } diff --git a/Core/src/main/java/com/plotsquared/core/player/MetaDataAccess.java b/Core/src/main/java/com/plotsquared/core/player/MetaDataAccess.java index 68760fc18..11fdd5baf 100644 --- a/Core/src/main/java/com/plotsquared/core/player/MetaDataAccess.java +++ b/Core/src/main/java/com/plotsquared/core/player/MetaDataAccess.java @@ -62,7 +62,7 @@ public abstract class MetaDataAccess implements AutoCloseable { * Check if the player has meta data stored with the given key * * @return {@code true} if player has meta data with this key, or - * {@code false} + * {@code false} */ public abstract boolean isPresent(); diff --git a/Core/src/main/java/com/plotsquared/core/plot/Plot.java b/Core/src/main/java/com/plotsquared/core/plot/Plot.java index b079e554c..1d9c39e8c 100644 --- a/Core/src/main/java/com/plotsquared/core/plot/Plot.java +++ b/Core/src/main/java/com/plotsquared/core/plot/Plot.java @@ -40,7 +40,6 @@ import com.plotsquared.core.database.DBFunc; import com.plotsquared.core.events.Result; import com.plotsquared.core.events.TeleportCause; import com.plotsquared.core.generator.ClassicPlotWorld; -import com.plotsquared.core.generator.HybridPlotWorld; import com.plotsquared.core.listener.PlotListener; import com.plotsquared.core.location.BlockLoc; import com.plotsquared.core.location.Direction; @@ -450,7 +449,7 @@ public class Plot { * that could alter the de facto owner of the plot. * * @return The plot owner of this particular (sub-)plot - * as stored in the database, if one exists. Else, null. + * as stored in the database, if one exists. Else, null. */ public @Nullable UUID getOwnerAbs() { return this.owner; @@ -1202,12 +1201,12 @@ public class Plot { * * @return array of entity counts * @see RegionManager#countEntities(Plot) - * 0 = Entity - * 1 = Animal - * 2 = Monster - * 3 = Mob - * 4 = Boat - * 5 = Misc + * 0 = Entity + * 1 = Animal + * 2 = Monster + * 3 = Mob + * 4 = Boat + * 5 = Misc */ public int[] countEntities() { int[] count = new int[6]; @@ -1565,7 +1564,7 @@ public class Plot { x = bot.getX() + loc.getX(); z = bot.getZ() + loc.getZ(); } - if (loc.getY() == Integer.MIN_VALUE) { + if (loc.getY() == Integer.MIN_VALUE) { if (isLoaded()) { this.worldUtil.getHighestBlock( plot.getWorldName(), @@ -2852,8 +2851,8 @@ public class Plot { TranslatableCaption.miniMessage("info.plot_flag_list").getComponent(player) ), PlaceholderResolver.placeholders( - Placeholder.miniMessage("flag", flag.getName()), - Placeholder.miniMessage("value", CaptionUtility.formatRaw(player, value.toString())) + Placeholder.miniMessage("flag", flag.getName()), + Placeholder.miniMessage("value", CaptionUtility.formatRaw(player, value.toString())) ) ); flagBuilder.append(snip); @@ -2903,7 +2902,7 @@ public class Plot { Placeholder descTemplate = Placeholder.miniMessage("desc", description); Placeholder biomeTemplate = Placeholder.miniMessage("biome", biome.toString().toLowerCase()); Placeholder ownerTemplate = Placeholder.miniMessage("owner", owner.toString()); - Placeholder membersTemplate =Placeholder.miniMessage("members", members.toString()); + Placeholder membersTemplate = Placeholder.miniMessage("members", members.toString()); Placeholder playerTemplate = Placeholder.miniMessage("player", player.getName()); Placeholder trustedTemplate = Placeholder.miniMessage("trusted", trusted.toString()); Placeholder helpersTemplate = Placeholder.miniMessage("helpers", members.toString()); @@ -2951,6 +2950,33 @@ public class Plot { .deserialize( iInfo.getComponent(player), PlaceholderResolver.placeholders( + headerTemplate, + areaTemplate, + idTemplate, + aliasTemplate, + numTemplate, + descTemplate, + biomeTemplate, + ownerTemplate, + membersTemplate, + playerTemplate, + trustedTemplate, + helpersTemplate, + deniedTemplate, + seenTemplate, + flagsTemplate, + buildTemplate, + ratingTemplate, + creationTemplate, + footerTemplate + ))))); + }); + return; + } + future.complete(StaticCaption.of(MINI_MESSAGE.serialize(MINI_MESSAGE + .deserialize( + iInfo.getComponent(player), + PlaceholderResolver.placeholders( headerTemplate, areaTemplate, idTemplate, @@ -2967,35 +2993,8 @@ public class Plot { seenTemplate, flagsTemplate, buildTemplate, - ratingTemplate, - creationTemplate, footerTemplate ))))); - }); - return; - } - future.complete(StaticCaption.of(MINI_MESSAGE.serialize(MINI_MESSAGE - .deserialize( - iInfo.getComponent(player), - PlaceholderResolver.placeholders( - headerTemplate, - areaTemplate, - idTemplate, - aliasTemplate, - numTemplate, - descTemplate, - biomeTemplate, - ownerTemplate, - membersTemplate, - playerTemplate, - trustedTemplate, - helpersTemplate, - deniedTemplate, - seenTemplate, - flagsTemplate, - buildTemplate, - footerTemplate - ))))); } ); return future; diff --git a/Core/src/main/java/com/plotsquared/core/plot/PlotArea.java b/Core/src/main/java/com/plotsquared/core/plot/PlotArea.java index e304c4acd..48d8408ce 100644 --- a/Core/src/main/java/com/plotsquared/core/plot/PlotArea.java +++ b/Core/src/main/java/com/plotsquared/core/plot/PlotArea.java @@ -458,8 +458,8 @@ public abstract class PlotArea { TranslatableCaption.miniMessage("info.plot_flag_list").getComponent(LocaleHolder.console()) ), PlaceholderResolver.placeholders( - Placeholder.miniMessage("flag", flag.getName()), - Placeholder.miniMessage("value", CaptionUtility.formatRaw(ConsolePlayer.getConsole(), value.toString())) + Placeholder.miniMessage("flag", flag.getName()), + Placeholder.miniMessage("value", CaptionUtility.formatRaw(ConsolePlayer.getConsole(), value.toString())) ) ); if (flagsComponent != null) { @@ -1308,8 +1308,8 @@ public abstract class PlotArea { * * @return the legacy sign material. * @deprecated Use {@link #signMaterial()}. This method is used for 1.13 only and - * will be removed without replacement in favor of {@link #signMaterial()} - * once we remove the support for 1.13. + * will be removed without replacement in favor of {@link #signMaterial()} + * once we remove the support for 1.13. */ @Deprecated(forRemoval = true) public String getLegacySignMaterial() { diff --git a/Core/src/main/java/com/plotsquared/core/queue/QueueCoordinator.java b/Core/src/main/java/com/plotsquared/core/queue/QueueCoordinator.java index ac30f0b63..f6cc40d34 100644 --- a/Core/src/main/java/com/plotsquared/core/queue/QueueCoordinator.java +++ b/Core/src/main/java/com/plotsquared/core/queue/QueueCoordinator.java @@ -39,23 +39,20 @@ import com.sk89q.worldedit.world.World; import com.sk89q.worldedit.world.biome.BiomeType; import com.sk89q.worldedit.world.block.BaseBlock; import com.sk89q.worldedit.world.block.BlockState; - -import java.util.concurrent.atomic.AtomicBoolean; - import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; import java.util.List; import java.util.Set; +import java.util.concurrent.atomic.AtomicBoolean; import java.util.function.Consumer; public abstract class QueueCoordinator { + private final AtomicBoolean enqueued = new AtomicBoolean(); private boolean forceSync = false; @Nullable private Object chunkObject; - private final AtomicBoolean enqueued = new AtomicBoolean(); - @Inject private GlobalBlockQueue blockQueue; @@ -205,8 +202,8 @@ public abstract class QueueCoordinator { * @param biome biome * @return success or not * @deprecated Biomes now take XYZ, see {@link #setBiome(int, int, int, BiomeType)} - *
- * Scheduled for removal once we drop the support for versions not supporting 3D biomes. + *
+ * Scheduled for removal once we drop the support for versions not supporting 3D biomes. */ @Deprecated(forRemoval = true) public abstract boolean setBiome(int x, int z, @NonNull BiomeType biome); diff --git a/Core/src/main/java/com/plotsquared/core/synchronization/LockRepository.java b/Core/src/main/java/com/plotsquared/core/synchronization/LockRepository.java index 12b63d3b2..e027a525a 100644 --- a/Core/src/main/java/com/plotsquared/core/synchronization/LockRepository.java +++ b/Core/src/main/java/com/plotsquared/core/synchronization/LockRepository.java @@ -71,9 +71,9 @@ public final class LockRepository { * @param runnable Action to run when the lock is available */ public void useLock(final @NonNull LockKey key, final @NonNull Runnable runnable) { - try (LockAccess ignored = lock(key)) { - runnable.run(); - } + try (LockAccess ignored = lock(key)) { + runnable.run(); + } } /** diff --git a/Core/src/main/java/com/plotsquared/core/util/BlockUtil.java b/Core/src/main/java/com/plotsquared/core/util/BlockUtil.java index 9210ddb7e..8d7e14750 100644 --- a/Core/src/main/java/com/plotsquared/core/util/BlockUtil.java +++ b/Core/src/main/java/com/plotsquared/core/util/BlockUtil.java @@ -84,7 +84,7 @@ public final class BlockUtil { * * @param id String or integer ID * @return Parsed block state, or {@code null} if none - * could be parsed + * could be parsed */ public static @Nullable BlockState get(final @NonNull String id) { if (id.length() == 1 && id.charAt(0) == '*') { @@ -136,7 +136,7 @@ public final class BlockUtil { * * @param map Serialized block state * @return Deserialized block state, or {@code null} if the map is - * not a properly serialized block state + * not a properly serialized block state */ public static @Nullable BlockState deserialize(final @NonNull Map map) { if (map.containsKey("material")) { diff --git a/Core/src/main/java/com/plotsquared/core/util/TabCompletions.java b/Core/src/main/java/com/plotsquared/core/util/TabCompletions.java index 33e623055..c32091847 100644 --- a/Core/src/main/java/com/plotsquared/core/util/TabCompletions.java +++ b/Core/src/main/java/com/plotsquared/core/util/TabCompletions.java @@ -38,7 +38,6 @@ import com.plotsquared.core.plot.Plot; import com.plotsquared.core.plot.PlotArea; import com.plotsquared.core.uuid.UUIDMapping; import org.checkerframework.checker.nullness.qual.NonNull; -import org.checkerframework.checker.nullness.qual.Nullable; import java.util.ArrayList; import java.util.Arrays; @@ -116,7 +115,6 @@ public final class TabCompletions { * @param input Command input * @param existing Players that should not be included in completions * @return List of completions - * * @deprecated In favor {@link #completeAddedPlayers(PlotPlayer, Plot, String, List)} */ @Deprecated(forRemoval = true) diff --git a/Core/src/main/java/com/plotsquared/core/util/WorldUtil.java b/Core/src/main/java/com/plotsquared/core/util/WorldUtil.java index c57dd35e0..d3876e7d2 100644 --- a/Core/src/main/java/com/plotsquared/core/util/WorldUtil.java +++ b/Core/src/main/java/com/plotsquared/core/util/WorldUtil.java @@ -91,7 +91,7 @@ public abstract class WorldUtil { * * @param worldName World name * @return {@code true} if there exists a world with the given world name, - * {@code false} if not + * {@code false} if not */ public abstract boolean isWorld(@NonNull String worldName); diff --git a/Core/src/main/java/com/plotsquared/core/util/query/OwnersIncludeFilter.java b/Core/src/main/java/com/plotsquared/core/util/query/OwnersIncludeFilter.java index 9a55e4205..1c77fd589 100644 --- a/Core/src/main/java/com/plotsquared/core/util/query/OwnersIncludeFilter.java +++ b/Core/src/main/java/com/plotsquared/core/util/query/OwnersIncludeFilter.java @@ -28,7 +28,6 @@ package com.plotsquared.core.util.query; import com.plotsquared.core.plot.Plot; import org.checkerframework.checker.nullness.qual.NonNull; -import java.util.Objects; import java.util.UUID; class OwnersIncludeFilter implements PlotFilter { diff --git a/Core/src/main/java/com/plotsquared/core/util/task/PlotSquaredTask.java b/Core/src/main/java/com/plotsquared/core/util/task/PlotSquaredTask.java index 7b59470fa..dfc5a117f 100644 --- a/Core/src/main/java/com/plotsquared/core/util/task/PlotSquaredTask.java +++ b/Core/src/main/java/com/plotsquared/core/util/task/PlotSquaredTask.java @@ -60,7 +60,7 @@ public interface PlotSquaredTask extends Runnable { * Check if the task has been cancelled * * @return {@code true} if the tasks is cancelled, - * {@code false} if not + * {@code false} if not */ boolean isCancelled(); diff --git a/README.md b/README.md index 375a845c7..bec9dff52 100644 --- a/README.md +++ b/README.md @@ -4,17 +4,14 @@ --- -PlotSquared is a land and world management plugin for Minecraft. -It includes several highly configurable world generators. -You can create plots of land in existing worlds using plot clusters, or you can have a full world of plots. +PlotSquared is a land and world management plugin for Minecraft. It includes several highly configurable world +generators. You can create plots of land in existing worlds using plot clusters, or you can have a full world of plots. -For the end user, PlotSquared is packed with a tonne of cool features. -It allows you to merge plots, and build together with your friends. -You can also change a lot of plot specific settings in the form of -flags. Such as: weather, time, game modes, pvp status. +For the end user, PlotSquared is packed with a tonne of cool features. It allows you to merge plots, and build together +with your friends. You can also change a lot of plot specific settings in the form of flags. Such as: weather, time, +game modes, pvp status. -Whilst we provide a whole load of unique features, the biggest focus -is to provide a lag-free and smooth experience. +Whilst we provide a whole load of unique features, the biggest focus is to provide a lag-free and smooth experience.

@@ -33,15 +30,19 @@ is to provide a lag-free and smooth experience. * [Contributing](https://github.com/IntellectualSites/.github/blob/main/CONTRIBUTING.md) ### Developer Resources + * [API Documentation](https://github.com/IntellectualSites/PlotSquared-Documentation/wiki/API-Documentation) * [Event API](https://github.com/IntellectualSites/PlotSquared-Documentation/wiki/Events) * [Flag API](https://github.com/IntellectualSites/PlotSquared-Documentation/wiki/API-Flag) # Official Addons + * [Plot2Dynmap](http://www.spigotmc.org/resources/plot2dynmap.1292/) * [HoloPlots](https://www.spigotmc.org/resources/holoplots.4880/) * [PlotHider](https://www.spigotmc.org/resources/plot-hider.20701/) -### Unmaintained or integrated into PlotSquared + +### Unmaintained or integrated into PlotSquared + * [AdvPlots](http://www.spigotmc.org/resources/advplots-%CE%B2.1500/) * [PlotRankup](http://www.spigotmc.org/resources/plotrankup.1571/) * [PlotZSux](https://www.spigotmc.org/resources/plotzsux.9563/) @@ -51,5 +52,7 @@ is to provide a lag-free and smooth experience. * [BasicPlots](https://www.spigotmc.org/resources/basicplots.6901/) # Sponsors + Our official sponsor list can be found [here](https://intellectualsites.github.io/download/sponsors.html).
-If you are interested and want to be listed here, [contact us](https://intellectualsites.github.io/download/contact.html). +If you are interested and want to be listed +here, [contact us](https://intellectualsites.github.io/download/contact.html). diff --git a/build.gradle.kts b/build.gradle.kts index 2840545a8..ef5e2f993 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -151,7 +151,7 @@ allprojects { developerConnection.set("scm:git://github.com/IntellectualSites/PlotSquared.git") } - issueManagement{ + issueManagement { system.set("GitHub") url.set("https://github.com/IntellectualSites/PlotSquared/issues") } @@ -180,9 +180,9 @@ allprojects { val opt = options as StandardJavadocDocletOptions opt.addStringOption("Xdoclint:none", "-quiet") opt.tags( - "apiNote:a:API Note:", - "implSpec:a:Implementation Requirements:", - "implNote:a:Implementation Note:" + "apiNote:a:API Note:", + "implSpec:a:Implementation Requirements:", + "implNote:a:Implementation Note:" ) } diff --git a/renovate.json b/renovate.json index 577d311e1..978ad7d00 100644 --- a/renovate.json +++ b/renovate.json @@ -14,7 +14,9 @@ "schedule": [ "on monday after 9am" ], - "labels": ["Renovate"], + "labels": [ + "Renovate" + ], "commitMessagePrefix": "build: ", "rebaseWhen": "conflicted" }