Commit 7691a9a5 authored by Zandor Smith's avatar Zandor Smith 💻

+ Main files.

parent b050ba29
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.zandor300</groupId>
<artifactId>RekitRequest</artifactId>
<version>1.8-1.0.0</version>
<name>RekitRequest</name>
<repositories>
<repository>
<id>MavenPi</id>
<url>http://play.zsinfo.nl/maven</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<type>jar</type>
<version>1.8-R0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<type>jar</type>
<version>1.8-R0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.zandor300</groupId>
<artifactId>ZSUtilities</artifactId>
<type>jar</type>
<version>1.8-1.0.4.3</version>
</dependency>
</dependencies>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ftp</artifactId>
<version>1.0-alpha-6</version>
</extension>
</extensions>
</build>
<distributionManagement>
<repository>
<id>MavenPi-FTP</id>
<url>ftp://192.168.1.18/var/www/maven</url>
</repository>
</distributionManagement>
</project>
\ No newline at end of file
package com.zandor300.rekitrequest;
import com.zandor300.zsutilities.utilities.Chat;
import org.bukkit.plugin.java.JavaPlugin;
/**
* Created by Zandor on 3/23/15.
*/
public class RekitRequest extends JavaPlugin {
private static Chat chat = new Chat("RekitRequest");
private static RekitRequest plugin;
public static Chat getChat() {
return chat;
}
public static RekitRequest getPlugin() {
return plugin;
}
@Override
public void onEnable() {
}
}
package com.zandor300.rekitrequest.commands;
import com.zandor300.rekitrequest.RekitRequest;
import com.zandor300.zsutilities.commandsystem.Command;
import org.bukkit.command.CommandSender;
/**
* Created by Zandor on 3/23/15.
*/
public class RekitRequestCommand extends Command {
public RekitRequestCommand() {
super("rekitrequest", "Request to be rekitted.");
}
@Override
public void execute(CommandSender sender, String[] args) {
if(args.length == 0) {
RekitRequest.getChat().sendMessage(sender, "Your kit will be given shortly.");
RekitRequest.getChat().sendConsoleMessage(sender.getName() + " needs to be rekitted!");
} else if(args[0].equalsIgnoreCase("info")) {
RekitRequest.getChat().sendMessage(sender, "RekitRequest 1.0.0 by Zandor300");
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment