LunaChat v2.6.8 : Fixed issue #103

このコミットが含まれているのは:
ucchy committed 2014-09-28 04:09:20 +09:00
1 親 0dfd18440e
コミット 26ceb8db45
10ファイル変更
+411 -10

検索条件に一致するファイルはありません

+18
ファイルの表示
@@ -38,6 +38,7 @@ public class LunaChat extends JavaPlugin {
private DynmapBridge dynmap;
private ExpireCheckTask expireCheckerTask;
private LunaChatLogger normalChatLogger;
private LunaChatCommand lunachatCommand;
private LunaChatMessageCommand messageCommand;
@@ -55,6 +56,7 @@ public class LunaChat extends JavaPlugin {
instance = this;
config = new LunaChatConfig();
manager = new ChannelManager();
normalChatLogger = new LunaChatLogger("==normalchat");
// チャンネルチャット無効なら、デフォルト発言先をクリアする(see issue #59)
if ( !config.isEnableChannelChat() ) {
@@ -193,6 +195,22 @@ public class LunaChat extends JavaPlugin {
return dynmap;
}
/**
* 通常チャット用のロガーを返す
* @return normalChatLogger
*/
public LunaChatLogger getNormalChatLogger() {
return normalChatLogger;
}
/**
* 通常チャット用のロガーを設定する
* @param normalChatLogger normalChatLogger
*/
protected void setNormalChatLogger(LunaChatLogger normalChatLogger) {
this.normalChatLogger = normalChatLogger;
}
/**
* 指定された名前がチャンネル名として使用可能かどうかを判定する<br/>
* 具体的には、英数字・ハイフン・アンダーバー のいずれかから構成される、