Skip to content

Commit

Permalink
Update 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fuyutsuki committed Jun 5, 2018
1 parent a1d07de commit b1a4988
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .poggit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ projects:
icon: "/assets/Logo.png"
libs:
- src: fuyutsuki/libform/libform
version: 0.1.2
version: 0.2.0
...
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ It may have many bugs.

## Texter
Texter is plugin that displays and deletes FloatingTextPerticle supported to multi-world.
Latest: ver **2.3.4** _Phyllorhiza punctata_
Latest: ver **2.4.0** _Phyllorhiza punctata_

### Supporting
- [x] Minecraft(Bedrock) v1.2.x
Expand Down Expand Up @@ -100,7 +100,7 @@ You may grab the plugin from [Source](https://github.com/fuyutsuki/Texter/archiv

## Texter
TexterはFloatingTextPerticleを複数ワールドに渡り表示、削除ができるプラグインです。
最新バージョン: **2.3.4** _Phyllorhiza punctata_
最新バージョン: **2.4.0** _Phyllorhiza punctata_

### 対応状況
- [x] Minecraft(Bedrockエンジン) v1.2.x
Expand Down
2 changes: 1 addition & 1 deletion resources/language/eng.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on.enable.message={%0} - "{%1}" is Enabled
error.config.limit=The value of "{%0}" item in config.yml is invalid. Set to initial value: {%1}

command.txt.description=Manipulate floating texts
command.txt.usage=/txt <a(dd)|e(dit)|m(ove)|r(emove)>
command.txt.usage=/txt <a(dd)|e(dit)|m(ove)|r(emove)|l(ist)>
command.txt.usage.indent=Please insert §6\# §fif you want line break
command.txt.add=/txt a(dd)
command.txt.add.success=FloatingText: {%0} created
Expand Down
2 changes: 1 addition & 1 deletion resources/language/jpn.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on.enable.prepared=Crft: {%0} 個 / Ft: {%1} 個を生成しました
on.enable.message={%0} - "{%1}" が有効になりました

command.txt.description=浮き文字を操作します
command.txt.usage=/txt <a(dd)|e(dit)|m(ove)|r(emove)>
command.txt.usage=/txt <a(dd)|e(dit)|m(ove)|r(emove)|l(ist)>
command.txt.usage.indent=改行をしたい場合は §6\# §fを挿入してください
command.txt.add=/txt a(dd)
command.txt.add.success=浮き文字: {%0} を作成しました
Expand Down
7 changes: 4 additions & 3 deletions src/tokyo/pmmp/Texter/command/TxtCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
// texter
use tokyo\pmmp\Texter\{
Core,
data\FtsData,
TexterApi,
text\Text,
text\FloatingText as FT
Expand Down Expand Up @@ -300,7 +301,7 @@ public function editReceive(Player $player, $response): void {
if (TexterApi::canEdit($player, $check)) {
$ft->setTitle($title)
->sendToLevel($level, Text::SEND_TYPE_ADD);
$this->core->getFtsDataManager()->saveTextByLevel($level, $ft);
FtsData::get()->saveTextByLevel($level, $ft);
$message = $this->lang->translateString("command.txt.edit.success", [
TF::clean($response[self::EDIT_KEY_FTNAME]),
$this->lang->translateString("form.title")
Expand All @@ -316,7 +317,7 @@ public function editReceive(Player $player, $response): void {
if (TexterApi::canEdit($player, $check)) {
$ft->setText($text)
->sendToLevel($level, Text::SEND_TYPE_ADD);
$this->core->getFtsDataManager()->saveTextByLevel($level, $ft);
FtsData::get()->saveTextByLevel($level, $ft);
$message = $this->lang->translateString("command.txt.edit.success", [
TF::clean($response[self::EDIT_KEY_FTNAME]),
$this->lang->translateString("form.text")
Expand Down Expand Up @@ -345,7 +346,7 @@ public function moveReceive(Player $player, $response): void {
if (TexterApi::canEdit($player, $ft)) {
$ft->setPosition(Position::fromObject($player->add(0, 2, 0), $level))
->sendToLevel($level, Text::SEND_TYPE_MOVE);
$this->core->getFtsDataManager()->saveTextByLevel($level, $ft);
FtsData::get()->saveTextByLevel($level, $ft);
$message = $this->lang->translateString("command.txt.move.success", [
TF::clean($response[self::MOVE_KEY_FTNAME]),
$this->lang->translateString("form.move.here")
Expand Down

1 comment on commit b1a4988

@SOF3
Copy link

@SOF3 SOF3 commented on b1a4988 Jun 5, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dear @fuyutsuki:
I regret to inform you that the release you submitted, named "Texter" (v2.4.0), for the project Texter on 2018-06-05T17:23:29.000Z, has been rejected.

The scheduler changes have not been released yet. As a result, it is not appropriate to submit this plugin as supporting ALPHA12. Please submit when a new API version has been tagged on PMMP.

Note: This comment is created here because this is the last commit when the released build was created.

via Poggit (@poggit-bot)

Please sign in to comment.