LunaChat v3-k2 : initial revision.
このコミットが含まれているのは:
1 親
7fdb159cff
コミット
5ddd0959d8
78ファイル変更
+215
-606
検索条件に一致するファイルはありません
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* @author ucchy
|
||||
* @license LGPLv3
|
||||
* @copyright Copyright ucchy 2013
|
||||
* @copyright Copyright ucchy 2020
|
||||
*/
|
||||
package com.github.ucchyocean.lc;
|
||||
|
||||
@@ -15,10 +15,8 @@ import org.bukkit.plugin.Plugin;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
import com.github.ucchyocean.lc.bridge.DynmapBridge;
|
||||
import com.github.ucchyocean.lc.bridge.HawkEyeBridge;
|
||||
import com.github.ucchyocean.lc.bridge.McMMOBridge;
|
||||
import com.github.ucchyocean.lc.bridge.MultiverseCoreBridge;
|
||||
import com.github.ucchyocean.lc.bridge.PrismBridge;
|
||||
import com.github.ucchyocean.lc.bridge.VaultChatBridge;
|
||||
import com.github.ucchyocean.lc.channel.ChannelManager;
|
||||
import com.github.ucchyocean.lc.command.LunaChatCommand;
|
||||
@@ -39,9 +37,7 @@ public class LunaChat extends JavaPlugin {
|
||||
|
||||
private VaultChatBridge vaultchat;
|
||||
private DynmapBridge dynmap;
|
||||
private HawkEyeBridge hawkeye;
|
||||
private MultiverseCoreBridge multiverse;
|
||||
private PrismBridge prism;
|
||||
|
||||
private ExpireCheckTask expireCheckerTask;
|
||||
private LunaChatLogger normalChatLogger;
|
||||
@@ -83,12 +79,6 @@ public class LunaChat extends JavaPlugin {
|
||||
}
|
||||
}
|
||||
|
||||
// HawkEye のロード
|
||||
temp = getServer().getPluginManager().getPlugin("HawkEye");
|
||||
if ( temp != null ) {
|
||||
hawkeye = HawkEyeBridge.load(temp);
|
||||
}
|
||||
|
||||
// MultiverseCore のロード
|
||||
temp = getServer().getPluginManager().getPlugin("Multiverse-Core");
|
||||
if ( temp != null ) {
|
||||
@@ -100,11 +90,6 @@ public class LunaChat extends JavaPlugin {
|
||||
getServer().getPluginManager().registerEvents(new McMMOBridge(), this);
|
||||
}
|
||||
|
||||
// Prismのロード
|
||||
if ( getServer().getPluginManager().isPluginEnabled("Prism") ) {
|
||||
prism = PrismBridge.load();
|
||||
}
|
||||
|
||||
// リスナーの登録
|
||||
getServer().getPluginManager().registerEvents(new PlayerListener(), this);
|
||||
|
||||
@@ -222,14 +207,6 @@ public class LunaChat extends JavaPlugin {
|
||||
return dynmap;
|
||||
}
|
||||
|
||||
/**
|
||||
* HawkEye連携クラスを返す
|
||||
* @return HawkEyeBridge
|
||||
*/
|
||||
public HawkEyeBridge getHawkEye() {
|
||||
return hawkeye;
|
||||
}
|
||||
|
||||
/**
|
||||
* MultiverseCore連携クラスを返す
|
||||
* @return MultiverseCoreBridge
|
||||
@@ -238,14 +215,6 @@ public class LunaChat extends JavaPlugin {
|
||||
return multiverse;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prism連携クラスを返す
|
||||
* @return MultiverseCoreBridge
|
||||
*/
|
||||
public PrismBridge getPrism() {
|
||||
return prism;
|
||||
}
|
||||
|
||||
/**
|
||||
* 通常チャット用のロガーを返す
|
||||
* @return normalChatLogger
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする