diff --git a/pom.xml b/pom.xml index 0c8578f071..6d0a619a25 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.maxgamer QuickShop - Reremake 1.2.0-beta9 + Reremake 1.2.0 diff --git a/src/main/java/org/maxgamer/quickshop/Command/QS.java b/src/main/java/org/maxgamer/quickshop/Command/QS.java index 97f0dc465e..2ce949a0e6 100644 --- a/src/main/java/org/maxgamer/quickshop/Command/QS.java +++ b/src/main/java/org/maxgamer/quickshop/Command/QS.java @@ -516,6 +516,16 @@ private void clean(CommandSender sender) { sender.sendMessage(MsgUtil.getMessage("no-permission")); return; } + private void about(CommandSender sender) { + sender.sendMessage("[QuickShop] About QuickShop"); + sender.sendMessage("[QuickShop] Hello, I'm Ghost_chu Author of QS reremake."); + sender.sendMessage("[QuickShop] This plugin is remake by SunnySide Community."); + sender.sendMessage("[QuickShop] Original author is KaiNoMood. This is QS unofficial version."); + sender.sendMessage("[QuickShop] Have more feature, and design for 1.13."); + sender.sendMessage("[QuickShop] You can see our SpigotMC page to read more:"); + sender.sendMessage("[QuickShop] https://www.spigotmc.org/resources/quickshop-reremake-for-1-13.59134/"); + sender.sendMessage("[QuickShop] Thanks for use QuickShop-Reremake."); + } private void reload(CommandSender sender) { if (sender.hasPermission("quickshop.reload")) { @@ -573,6 +583,9 @@ public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, } else if (subArg.equals("export")) { export(sender, args); return true; + } else if (subArg.equals("about")) { + about(sender); + return true; } else if (subArg.equals("info")) { if (sender.hasPermission("quickshop.info")) { int buying, selling, doubles, chunks, worlds; diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index af39dcfec9..127410b3f4 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -60,4 +60,7 @@ permissions: default: false quickshop.alerts: description: Alert the player when someone tries to cheat with the display item - default: op \ No newline at end of file + default: op + quickshop.about: + description: Show QuickShop about message + default: true \ No newline at end of file