First commit, converted to a truely maven project and switching over to my own repository for better management.

This commit is contained in:
graywolf336
2013-12-05 18:22:15 -06:00
commit 596c9de2ad
40 changed files with 3173 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
package com.graywolf336.jail.command.commands;
import org.bukkit.command.CommandSender;
import com.graywolf336.jail.JailManager;
import com.graywolf336.jail.command.Command;
import com.graywolf336.jail.command.CommandInfo;
@CommandInfo(
maxArgs = 0,
minimumArgs = 0,
needsPlayer = false,
pattern = "jailversion|jv",
permission = "jail.command.jailversion",
usage = "/jailversion"
)
public class JailVersionCommand implements Command{
public boolean execute(JailManager jm, CommandSender sender, String... args) {
// Sends the version number to the sender
sender.sendMessage("Jail Version: " + jm.getPlugin().getDescription().getVersion());
return true;
}
}