Skip to content

Commit

Permalink
Added command aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
sarhatabaot committed Feb 12, 2022
1 parent 61d561f commit 74792d3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import co.aikar.commands.annotation.CommandPermission;
import co.aikar.commands.annotation.Description;
import co.aikar.commands.annotation.Subcommand;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import org.bukkit.configuration.ConfigurationSection;

Expand All @@ -26,6 +25,7 @@ public void onReload(final CommandSender sender){


@Subcommand("settings")
@CommandAlias("cslsettings")
@CommandPermission("csl.settings")
@Description("Shows config settings.")
public void onSettings(final CommandSender sender) {
Expand All @@ -48,6 +48,7 @@ public void onSettings(final CommandSender sender) {
}

@Subcommand("info")
@CommandAlias("cslinfo")
@CommandPermission("csl.info")
@Description("Shows config info.")
public void onInfo(final CommandSender sender) {
Expand Down

0 comments on commit 74792d3

Please sign in to comment.