コミットを比較
| 作成者 | SHA1 | 日付 | |
|---|---|---|---|
|
|
81b75f3f0f | ||
|
|
ff722c79a1 | ||
|
|
f95cf9da33 | ||
|
|
18c47505c7 | ||
|
|
a7234efe84 | ||
|
|
9d5fd5ceb5 |
検索条件に一致するファイルはありません
@@ -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.
|
||||
@@ -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.
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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() ) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする