2015-08-21 10:53:28 +00:00
|
|
|
/**
|
2015-08-21 14:52:20 +00:00
|
|
|
*
|
2015-08-21 10:53:28 +00:00
|
|
|
*/
|
|
|
|
package cn.citycraft.Yum;
|
|
|
|
|
|
|
|
import org.bukkit.plugin.java.JavaPlugin;
|
|
|
|
|
2015-08-22 07:13:59 +00:00
|
|
|
import cn.citycraft.Yum.commands.CommandHandler;
|
|
|
|
import cn.citycraft.Yum.utils.DownloadManager;
|
2015-08-21 10:53:28 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* MC插件仓库
|
2015-08-21 14:52:20 +00:00
|
|
|
*
|
|
|
|
* @author 蒋天蓓 2015年8月21日下午5:14:39
|
2015-08-21 10:53:28 +00:00
|
|
|
*/
|
|
|
|
public class Yum extends JavaPlugin {
|
2015-08-22 07:13:59 +00:00
|
|
|
public DownloadManager download;
|
2015-08-21 15:35:15 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void onEnable() {
|
2015-08-22 07:13:59 +00:00
|
|
|
download = new DownloadManager(this);
|
|
|
|
this.getCommand("yum").setExecutor(new CommandHandler(this));
|
|
|
|
this.getCommand("yum").setTabCompleter(new CommandHandler(this));
|
2015-08-21 10:53:28 +00:00
|
|
|
}
|
|
|
|
}
|