LunaChat v2.6.8 : Fixed issue #103
このコミットが含まれているのは:
1 親
0dfd18440e
コミット
26ceb8db45
10ファイル変更
+411
-10
検索条件に一致するファイルはありません
@@ -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/>
|
||||
* 具体的には、英数字・ハイフン・アンダーバー のいずれかから構成される、
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする