Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

Commit

Permalink
ready for releaseing 1.2.0
Browse files Browse the repository at this point in the history
Former-commit-id: 138d03d
  • Loading branch information
Ghost-chu committed Sep 23, 2018
1 parent a0f0986 commit db33304
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.maxgamer</groupId>
<artifactId>QuickShop</artifactId>
<version>Reremake 1.2.0-beta9</version>
<version>Reremake 1.2.0</version>
<!-- Fuck version -->
<licenses>
<license>
Expand Down
13 changes: 13 additions & 0 deletions src/main/java/org/maxgamer/quickshop/Command/QS.java
Original file line number Diff line number Diff line change
Expand Up @@ -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")) {
Expand Down Expand Up @@ -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;
Expand Down
5 changes: 4 additions & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,7 @@ permissions:
default: false
quickshop.alerts:
description: Alert the player when someone tries to cheat with the display item
default: op
default: op
quickshop.about:
description: Show QuickShop about message
default: true

0 comments on commit db33304

Please sign in to comment.