コミットを比較

...
6 コミット
作成者 SHA1 メッセージ 日付
ucchy 81b75f3f0f LunaChat v3.0.5 : Fixed issue #184 2020-07-09 00:17:09 +09:00
うっちぃ ff722c79a1 Update issue templates 2020-07-08 23:34:26 +09:00
うっちぃ f95cf9da33 Update issue templates 2020-07-08 23:24:43 +09:00
ucchy 18c47505c7 LunaChat v3.0.4 : Fixed issue #180 2020-07-06 23:29:46 +09:00
ucchy a7234efe84 Updated test code. 2020-07-06 00:59:22 +09:00
ucchy 9d5fd5ceb5 Updated test code. 2020-07-06 00:50:34 +09:00
6個のファイルの変更、62行の追加、6行の削除

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

+33
ファイルの表示
@@ -0,0 +1,33 @@
---
name: Bug report/バグ報告
about: Create a report to help us improve/バグ報告をしたい場合はこちらを選択してください
title: ''
labels: バグ
assignees: ''
---
**Describe the bug/バグの概要**
A clear and concise description of what the bug is.
**Server and version/サーバーとバージョン**
- Server: Spigot / Paper / BungeeCord / Waterfall / etc...
- Server version (Minecraft version) : 1.16.1 / 1.15.2 / etc...
- Other plugins:
- LunaChat version :
**To Reproduce/再現手順**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior/期待する結果**
A clear and concise description of what you expected to happen./上記の再現手順に書いた状態について、何か期待と違っていたのか、どこに問題があったのかを、明確に記載してください。
**Screenshots/スクリーンショット**
If applicable, add screenshots to help explain your problem./スクリーンショットがあれば添付してください。ブラウザに画像ファイルをドラッグアンドドロップしてアップロードできます。
**Additional context/備考**
Add any other context about the problem here.
+20
ファイルの表示
@@ -0,0 +1,20 @@
---
name: Feature request/機能追加リクエスト
about: Suggest an idea for this project/機能追加要望をしたい場合はこちらを選択してください
title: ''
labels: 機能追加・要望
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
+1 -1
ファイルの表示
@@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.ucchyocean</groupId>
<artifactId>LunaChat</artifactId>
<version>3.0.3</version>
<version>3.0.5</version>
<description>A powerfull chat channel plugin with IME (Kana-Kanji conversion) support</description>
<url>https://github.com/ucchyocean/LunaChat</url>
+1 -1
ファイルの表示
@@ -165,7 +165,7 @@ public class LunaChatBukkit extends JavaPlugin implements PluginInterface {
return messageCommand.execute(ChannelMember.getChannelMember(sender), label, args);
} else if ( command.getName().equals("reply") ) {
return replyCommand.execute(ChannelMember.getChannelMember(sender), label, args);
} else if ( command.getName().equals("lcjapanize") ) {
} else if ( command.getName().equals("japanize") ) {
return lcjapanizeCommand.execute(ChannelMember.getChannelMember(sender), label, args);
}
+1 -1
ファイルの表示
@@ -399,7 +399,7 @@ public abstract class Channel {
}
// キーワード置き換え
ClickableFormat msgFormat = ClickableFormat.makeFormat(getFormat(), new ChannelMemberOther(name));
ClickableFormat msgFormat = ClickableFormat.makeFormat(getFormat(), new ChannelMemberOther(name), this, false);
// カラーコード置き換え チャンネルで許可されている場合に置き換える。
if ( isAllowCC() ) {
+6 -3
ファイルの表示
@@ -23,9 +23,12 @@ import net.md_5.bungee.api.chat.BaseComponent;
*/
public class ClickableFormatTest extends TestCase {
private static final String DATA_FOLDER = "target" + File.separator + "LunaChatTest";
private static final String MESSAGES_FOLDER = "target" + File.separator + "classes";
public void testChannelChatKeyword() {
File dataFolder = new File("target\\LunaChatTest");
File dataFolder = new File(DATA_FOLDER);
System.out.println("dataFolder : " + dataFolder.getAbsolutePath());
if ( !dataFolder.exists() ) {
dataFolder.mkdirs();
@@ -34,7 +37,7 @@ public class ClickableFormatTest extends TestCase {
LunaChatStandalone lunachat = new LunaChatStandalone(dataFolder);
lunachat.onEnable();
Messages.initialize(new File("target\\classes"), null, "ja");
Messages.initialize(new File(MESSAGES_FOLDER), null, "ja");
String format = "&f[%color%ch&f]%prefix%displayname%suffix&a:&f %msg";
ChannelMember member = new ChannelMemberDummy();
@@ -59,7 +62,7 @@ public class ClickableFormatTest extends TestCase {
String format = "&f%prefix%displayname%suffix&a:&f %msg";
ChannelMember member = new ChannelMemberDummy();
Messages.initialize(new File("target\\classes"), null, "ja");
Messages.initialize(new File(MESSAGES_FOLDER), null, "ja");
ClickableFormat f = ClickableFormat.makeFormat(format, member);