diff --git a/src/me/mctp/MCTPAudioCmd.java b/src/me/mctp/MCTPAudioCmd.java new file mode 100644 index 0000000..9d53c2e --- /dev/null +++ b/src/me/mctp/MCTPAudioCmd.java @@ -0,0 +1,21 @@ +package me.mctp; + +import org.bukkit.ChatColor; +import org.bukkit.command.Command; +import org.bukkit.command.CommandExecutor; +import org.bukkit.command.CommandSender; + +public class MCTPAudioCmd implements CommandExecutor { + + public String prefix = (ChatColor.GOLD + "[" + ChatColor.YELLOW + "MCTP" + ChatColor.GOLD + "] " + ChatColor.GRAY); + + public boolean onCommand(CommandSender sender, Command cmd, String commandlabel, String[] args) { + if (cmd.getName().equalsIgnoreCase("mctpaudio")) { + sender.sendMessage(prefix + "MCTP Audio command!"); + } else if (cmd.getName().equalsIgnoreCase("audio")) { + sender.sendMessage(prefix + "MCTP Audio connect command!"); + } + return false; + } + +} diff --git a/src/plugin.yml b/src/plugin.yml new file mode 100644 index 0000000..bb3e8b3 --- /dev/null +++ b/src/plugin.yml @@ -0,0 +1,17 @@ +main: me.mctp.Main +name: MCTPAudio +version: 1.0 +api-version: 1.14 +author: MaybeFromNL_SBDeveloper +description: Copyright MaybeFromNL & SBDeveloper + +commands: + mctpaudio: + description: Main command + audio: + description: Connect command + +permissions: + mctp.admin: + description: Admin commands + default: op