From f3648281763d91561a20cab314123b4cf7d12253 Mon Sep 17 00:00:00 2001 From: Sekwah Date: Sun, 27 Jun 2021 21:23:02 +0100 Subject: [PATCH] feat: Added missing commands from tab complete --- .../PULL_REQUEST_TEMPLATE/pr_changelog_release_notes.md | 8 ++++++++ .../advancedportals/bukkit/AdvancedPortalsCommand.java | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE/pr_changelog_release_notes.md diff --git a/.github/PULL_REQUEST_TEMPLATE/pr_changelog_release_notes.md b/.github/PULL_REQUEST_TEMPLATE/pr_changelog_release_notes.md new file mode 100644 index 00000000..94a23913 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/pr_changelog_release_notes.md @@ -0,0 +1,8 @@ +# What Changed +Whatever changed here + +## Release Notes +If anything should be commented in the changelog release notes. + +**NOTE:** Please remove this unless something important needs to be shared. +It's just to save time looking up what is needed in the event we need to. diff --git a/src/main/java/com/sekwah/advancedportals/bukkit/AdvancedPortalsCommand.java b/src/main/java/com/sekwah/advancedportals/bukkit/AdvancedPortalsCommand.java index cbb5ce84..dd7772a8 100644 --- a/src/main/java/com/sekwah/advancedportals/bukkit/AdvancedPortalsCommand.java +++ b/src/main/java/com/sekwah/advancedportals/bukkit/AdvancedPortalsCommand.java @@ -631,6 +631,14 @@ public boolean onCommand(CommandSender sender, Command cmd, String command, Stri case "help": helpCommand(sender, command, args); break; + case "bukkitpage": + sender.sendMessage( + PluginMessages.customPrefix + " Bukkit Page: http://dev.bukkit.org/bukkit-plugins/advanced-portals/"); + break; + case "helppage": + sender.sendMessage( + PluginMessages.customPrefix + " Help Page: https://www.guilded.gg/Sekwah/groups/MDqAZyrD/channels/72ffdaa3-9273-4722-bf47-b75408b371af/docs/1090356006"); + break; case "show": if (args.length > 1) { String posX = portalConfig.getConfig().getString(args[1] + ".pos1.X");