コミットを比較

...
2 コミット
作成者 SHA1 メッセージ 日付
ucchy edbba82258 LunaChat v2.8.12 : small bug fix. 2019-08-25 13:33:21 +09:00
ucchy 62311a0db0 Updated pom.xml file. 2019-08-25 00:31:43 +09:00
3個のファイルの変更、17行の追加、13行の削除

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

+2 -5
ファイルの表示
@@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.ucchyocean</groupId>
<artifactId>LunaChat</artifactId>
<version>2.8.11</version>
<version>2.8.12</version>
<description>A powerfull chat channel plugin with IME (Kana-Kanji conversion) support</description>
<licenses>
@@ -74,9 +74,6 @@
<executions>
<execution>
<phase>deploy</phase>
<goals>
<goal>assembly</goal>
</goals>
</execution>
</executions>
</plugin>
@@ -143,7 +140,7 @@
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.14.2-R0.1-SNAPSHOT</version>
<version>1.14.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
+3 -1
ファイルの表示
@@ -88,8 +88,10 @@ public class BanCommand extends SubCommandAbst {
// 対象チャンネルを取得、取得できない場合はエラー表示して終了する
Channel channel = null;
boolean isSpecifiedChannel = false;
if (args.length >= 3) {
channel = api.getChannel(args[2]);
isSpecifiedChannel = true;
} else if (sender instanceof Player) {
Player kicker = (Player) sender;
channel = api.getDefaultChannel(kicker.getName());
@@ -126,7 +128,7 @@ public class BanCommand extends SubCommandAbst {
// 期限付きBANの場合、期限の指定が正しいかどうかをチェックする
int expireMinutes = -1;
if (args.length >= 3) {
if (args.length >= 3 && !isSpecifiedChannel) {
if ( !args[2].matches("[0-9]+") ) {
sendResourceMessage(sender, PREERR, "errmsgInvalidBanExpireParameter");
return true;
+12 -7
ファイルの表示
@@ -16,17 +16,21 @@ commands:
/<command> invite (name) [force] - 指定した人をチャンネルチャットに招待します。
/<command> accept - 招待を受けてチャンネルチャットに入室します。
/<command> deny - 招待を拒否します。
/<command> kick (name) - 指定した人をチャンネルチャットからキックします。
/<command> ban (name) - 指定した人をチャンネルチャットからBANします。
/<command> kick (name) [channel] - 指定した人をチャンネルチャットからキックします。
/<command> ban (name) [channel] - 指定した人をチャンネルチャットからBANします。
/<command> ban (name) [minutes] - 指定した人を指定した分間、BANします。
/<command> pardon (name) - 指定した人のBANを解除します。
/<command> mute (name) - 指定した人をチャンネルチャットからMuteします。
/<command> pardon (name) [channel] - 指定した人のBANを解除します。
/<command> mute (name) [channel] - 指定した人をチャンネルチャットからMuteします。
/<command> mute (name) [minutes] - 指定した人を指定した分間、Muteします。
/<command> unmute (name) - 指定した人のMuteを解除します。
/<command> hide [channel] - 指定したチャンネルの発言内容を非表示にします。指定を省略すると、現在自分が居るチャンネルが非表示になります。
/<command> unmute (name) [channel] - 指定した人のMuteを解除します。
/<command> hide (channel) - 指定したチャンネルの発言内容を非表示にします。
/<command> hide channel (channel) - 指定したチャンネルの発言内容を非表示にします。
/<command> hide (player) - 指定したプレイヤーの発言内容を非表示にします。
/<command> unhide [channel] - 指定したチャンネルの発言内容を非表示から表示に戻します。
/<command> hide player (player) - 指定したプレイヤーの発言内容を非表示にします。
/<command> unhide (channel) - 指定したチャンネルの発言内容を非表示から表示に戻します。
/<command> unhide channel (channel) - 指定したチャンネルの発言内容を非表示から表示に戻します。
/<command> unhide (player) - 指定したプレイヤーの発言内容を非表示から表示に戻します。
/<command> unhide player (player) - 指定したプレイヤーの発言内容を非表示から表示に戻します。
/<command> info [channel] - チャンネルの情報を表示します。
/<command> log [channel] [key=value...] - チャンネルのログを表示します。
/<command> create (channel) - チャンネルを作成します。
@@ -241,6 +245,7 @@ permissions:
lunachat-admin.template: true
lunachat-admin.dictionary: true
lunachat-admin.check: true
lunachat-admin.set: true
lunachat-admin.reload: true
lunachat-admin.japanize-other: true
lunachat-admin.force-invite: true