From ffe298710df9be3d7127eed9b1b4df93af939839 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Wed, 28 Apr 2021 20:17:10 +0200 Subject: [PATCH] Lazy merge v5/v6 --- .github/ISSUE_TEMPLATE/bug_report.yml | 4 ++-- .github/ISSUE_TEMPLATE/config.yml | 2 +- .github/ISSUE_TEMPLATE/feature_request.yml | 2 +- .../java/com/plotsquared/core/command/Command.java | 2 +- .../com/plotsquared/core/command/DebugPaste.java | 4 ++-- .../java/com/plotsquared/core/command/PluginCmd.java | 2 +- .../com/plotsquared/core/configuration/Settings.java | 12 ++++++------ README.md | 8 ++++---- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 0bf52729c..a3b6b2b59 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -7,7 +7,7 @@ body: attributes: value: | Thanks for taking the time to fill out this bug report for PlotSquared! Fill out the following form to your best ability to help us fix the problem. - Only use this if you're absolutely sure that you found a bug and can reproduce it. For anything else, use: [our Discord server](https://discord.gg/intellectualsites) or [the wiki](https://wiki.intellectualsites.com/PlotSquared). + Only use this if you're absolutely sure that you found a bug and can reproduce it. For anything else, use: [our Discord server](https://discord.gg/intellectualsites) or [the wiki](https://github.com/IntellectualSites/PlotSquared/wiki). - type: dropdown attributes: @@ -99,4 +99,4 @@ body: - type: textarea attributes: label: Anything else? - description: You can provide additional context below. \ No newline at end of file + description: You can provide additional context below. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index ac267d10a..0d20c325a 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -4,5 +4,5 @@ contact_links: url: https://discord.gg/intellectualsites about: Our support Discord, please ask questions and seek support here. - name: PlotSquared Wiki - url: https://wiki.intellectualsites.com/PlotSquared + url: https://github.com/IntellectualSites/PlotSquared/wiki about: Take a look at the wiki page for instructions how to setup PlotSquared and use its commands. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 18bb172e6..1d30e6ecc 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -7,7 +7,7 @@ body: attributes: value: | Thanks for taking the time to fill out this feature request for PlotSquared! Fill out the following form to your best ability to help us understand your feature request and greately improve the change of it getting added. - For anything else than a feature request, use: [our Discord server](https://discord.gg/intellectualsites) or [the wiki](https://wiki.intellectualsites.com/PlotSquared). + For anything else than a feature request, use: [our Discord server](https://discord.gg/intellectualsites) or [the wiki](https://github.com/IntellectualSites/PlotSquared/wiki). - type: textarea attributes: 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 7ea66a600..dc7148493 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Command.java +++ b/Core/src/main/java/com/plotsquared/core/command/Command.java @@ -322,7 +322,7 @@ public abstract class Command { } if (this.allCommands.isEmpty()) { player.sendMessage( - StaticCaption.of("Not Implemented: https://issues.intellectualsites.com/newIssue?project=PS")); + StaticCaption.of("Not Implemented: https://github.com/IntellectualSites/PlotSquared/issues")); return CompletableFuture.completedFuture(false); } Command cmd = getCommand(args[0]); diff --git a/Core/src/main/java/com/plotsquared/core/command/DebugPaste.java b/Core/src/main/java/com/plotsquared/core/command/DebugPaste.java index 99b8b5b87..b856c7ec5 100644 --- a/Core/src/main/java/com/plotsquared/core/command/DebugPaste.java +++ b/Core/src/main/java/com/plotsquared/core/command/DebugPaste.java @@ -115,7 +115,7 @@ public class DebugPaste extends SubCommand { b.append("OS Arch: ").append(System.getProperty("os.arch")).append('\n'); b.append("# Okay :D Great. You are now ready to create your bug report!"); b.append( - "\n# You can do so at https://issues.intellectualsites.com/projects/ps"); + "\n# You can do so at https://github.com/IntellectualSites/PlotSquared/issues"); b.append("\n# or via our Discord at https://discord.gg/intellectualsites"); final IncendoPaster incendoPaster = new IncendoPaster("plotsquared"); @@ -123,7 +123,7 @@ public class DebugPaste extends SubCommand { try { final File logFile = - new File(PlotSquared.platform().getDirectory(), "../../logs/latest.log"); + new File("logs/latest.log"); if (Files.size(logFile.toPath()) > 14_000_000) { throw new IOException( "The latest.log is larger than 14MB. Please reboot your server and submit a new paste."); diff --git a/Core/src/main/java/com/plotsquared/core/command/PluginCmd.java b/Core/src/main/java/com/plotsquared/core/command/PluginCmd.java index 1407cbfe6..9aa033506 100644 --- a/Core/src/main/java/com/plotsquared/core/command/PluginCmd.java +++ b/Core/src/main/java/com/plotsquared/core/command/PluginCmd.java @@ -51,7 +51,7 @@ public class PluginCmd extends SubCommand { player.sendMessage(StaticCaption.of( ">> Authors: Citymonstret & Empire92 & MattBDev & dordsor21 & NotMyFault & SirYwell")); player.sendMessage(StaticCaption.of( - ">> Wiki: https://wiki.intellectualsites.com/plotsquared/home")); + ">> Wiki: https://github.com/IntellectualSites/PlotSquared/wiki")); player.sendMessage(StaticCaption.of( ">> Discord: https://discord.gg/intellectualsites")); player.sendMessage( diff --git a/Core/src/main/java/com/plotsquared/core/configuration/Settings.java b/Core/src/main/java/com/plotsquared/core/configuration/Settings.java index 9f2786a4a..96143ef9c 100644 --- a/Core/src/main/java/com/plotsquared/core/configuration/Settings.java +++ b/Core/src/main/java/com/plotsquared/core/configuration/Settings.java @@ -215,7 +215,7 @@ public class Settings extends Config { public List WORLDS = new ArrayList<>(Collections.singletonList("*")); - @Comment("See: https://wiki.intellectualsites.com/en/plotsquared/optimization/plot-analysis for a description of each value.") + @Comment("See: https://github.com/IntellectualSites/PlotSquared/wiki/Plot-analysis for a description of each value.") public static final class CALIBRATION { public int VARIETY = 0; @@ -235,7 +235,7 @@ public class Settings extends Config { @Comment({"Chunk processor related settings", - "See https://wiki.intellectualsites.com/en/plotsquared/optimization/chunk-processor for more information."}) + "See https://github.com/IntellectualSites/PlotSquared/wiki/Chunk-processor for more information."}) public static class Chunk_Processor { @Comment("Auto trim will not save chunks which aren't claimed") @@ -296,7 +296,7 @@ public class Settings extends Config { @Comment("Replace wall when merging") public static boolean MERGE_REPLACE_WALL = true; @Comment({"Blocks that may not be used in plot components", - "Checkout the wiki article regarding plot components before modifying: https://wiki.intellectualsites.com/en/plotsquared/installation/plot-components"}) + "Checkout the wiki article regarding plot components before modifying: https://github.com/IntellectualSites/PlotSquared/wiki/Plot-Components"}) public static List INVALID_BLOCKS = Arrays.asList( // Acacia Stuff @@ -418,7 +418,7 @@ public class Settings extends Config { @Comment({"Schematic Settings", - "See https://wiki.intellectualsites.com/en/plotsquared/schematics/on-claim for more information."}) + "See https://github.com/IntellectualSites/PlotSquared/wiki/Schematic-on-Claim for more information."}) public static final class Schematics { @Comment( @@ -530,7 +530,7 @@ public class Settings extends Config { @Comment({"Backup related settings", - "See https://wiki.intellectualsites.com/en/plotsquared/backups for more information."}) + "See https://github.com/IntellectualSites/PlotSquared/wiki/Backups for more information."}) public static final class Backup { @Comment("Automatically backup plots when destructive commands are performed, e.g. /plot clear") @@ -728,7 +728,7 @@ public class Settings extends Config { public static boolean PERSISTENT_ROAD_REGEN = false; @Comment({"Enable the `/plot component` preset GUI", - "Read more about components here: https://wiki.intellectualsites.com/en/plotsquared/installation/plot-components"}) + "Read more about components here: https://github.com/IntellectualSites/PlotSquared/wiki/Plot-Components"}) public static boolean COMPONENT_PRESETS = true; @Comment("Enable per user locale") public static boolean PER_USER_LOCALE = false; diff --git a/README.md b/README.md index aea90c822..41a5c4179 100644 --- a/README.md +++ b/README.md @@ -27,14 +27,14 @@ is to provide a lag-free and smooth experience. * [Download](https://www.spigotmc.org/resources/77506/) * [Discord](https://discord.gg/intellectualsites) -* [Wiki](https://wiki.intellectualsites.com/plotsquared/home) +* [Wiki](https://github.com/IntellectualSites/PlotSquared/wiki) * [Issues](https://github.com/IntellectualSites/PlotSquared/issues) * [Translations](https://intellectualsites.crowdin.com/plotsquared/) ### Developer Resources -* [API Documentation](https://wiki.intellectualsites.com/en/plotsquared/developer/development-portal) -* [Event API](https://wiki.intellectualsites.com/en/plotsquared/developer/events) -* [Flag API](https://wiki.intellectualsites.com/en/plotsquared/developer/flags) +* [API Documentation](https://github.com/IntellectualSites/PlotSquared/wiki/API-Documentation) +* [Event API](https://github.com/IntellectualSites/PlotSquared/wiki/Events) +* [Flag API](https://github.com/IntellectualSites/PlotSquared/wiki/API-Flag) # Building Gradle is the **recommended** way to build the project. Use `./gradlew build` in the main project directory to build the project. Gradle is required if you intend to build or develop the Sponge module.