From 56240960f6a31123fb09bab73fad09bc58d19cb0 Mon Sep 17 00:00:00 2001 From: BalkanDev <75144786+TheBalkanDev@users.noreply.github.com> Date: Fri, 30 Jul 2021 20:18:52 +0200 Subject: [PATCH 1/7] Update API Version --- plugin.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugin.yml b/plugin.yml index 25b811b..53762ac 100644 --- a/plugin.yml +++ b/plugin.yml @@ -1,8 +1,6 @@ name: LevelChat main: iJoshuaHD\LevelChat version: 0.0.1 -api: [1.9.0] -load: STARTUP +api: 3.0.0 author: iJoshuaHD description: A more dynamic manifold level chat. -website: https://github.com/LevelChat \ No newline at end of file From 586aa9f530ed6b2ebc94dd2f9b4c7487bd72bf0c Mon Sep 17 00:00:00 2001 From: poggit-bot Date: Fri, 30 Jul 2021 20:19:41 +0200 Subject: [PATCH 2/7] Create .poggit.yml Poggit-CI is enabled for this repo by @TheBalkanDev Visit the Poggit-CI page for this repo at https://poggit.pmmp.io/ci/TheBalkanDev/LevelChat --- .poggit.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .poggit.yml diff --git a/.poggit.yml b/.poggit.yml new file mode 100644 index 0000000..effda15 --- /dev/null +++ b/.poggit.yml @@ -0,0 +1,8 @@ +--- # Poggit-CI Manifest. Open the CI at https://poggit.pmmp.io/ci/TheBalkanDev/LevelChat +build-by-default: true +branches: +- master +projects: + LevelChat: + path: "" +... From 62a99eaf6f112ab289a058e96daaca7a03b699eb Mon Sep 17 00:00:00 2001 From: BalkanDev <75144786+TheBalkanDev@users.noreply.github.com> Date: Fri, 30 Jul 2021 20:20:25 +0200 Subject: [PATCH 3/7] Version Update --- plugin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.yml b/plugin.yml index 53762ac..5ccd93b 100644 --- a/plugin.yml +++ b/plugin.yml @@ -1,6 +1,6 @@ name: LevelChat main: iJoshuaHD\LevelChat -version: 0.0.1 +version: 0.0.2 api: 3.0.0 author: iJoshuaHD description: A more dynamic manifold level chat. From 1849a758826bdc47687b04889f64b392a38612a2 Mon Sep 17 00:00:00 2001 From: BalkanDev <75144786+TheBalkanDev@users.noreply.github.com> Date: Fri, 30 Jul 2021 20:22:13 +0200 Subject: [PATCH 4/7] Add disclaimer --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 102d250..5ba114b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,13 @@ LevelChat ========= +## Disclaimer + +This Plugin was not made by me. +I´ve only fixed it. +I will made an 4.0.0 Branch too! + ## Description A more dynamic manifold level chat plugin. This plugin doesn't interfere with plugins that uses *$player->setFormat();* and such as the sole purpose of this plugin is to only separate the chat messages made by players per level or world. -Just load the plugin and it will do the rest! No plugin configurations needed. \ No newline at end of file +Just load the plugin and it will do the rest! No plugin configurations needed. From 5020a14867d8114539db2492335bc21b261bdf51 Mon Sep 17 00:00:00 2001 From: BalkanDev <75144786+TheBalkanDev@users.noreply.github.com> Date: Fri, 30 Jul 2021 20:32:02 +0200 Subject: [PATCH 5/7] Code cleanup and Class Update --- src/iJoshuaHD/LevelChat.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/iJoshuaHD/LevelChat.php b/src/iJoshuaHD/LevelChat.php index 7f7c0dd..8a91f42 100644 --- a/src/iJoshuaHD/LevelChat.php +++ b/src/iJoshuaHD/LevelChat.php @@ -3,17 +3,13 @@ namespace iJoshuaHD; use pocketmine\event\Listener; - use pocketmine\event\player\PlayerChatEvent; - use pocketmine\Player; - use pocketmine\plugin\PluginBase; - use pocketmine\Server; -class LevelChat extends PluginBase implements Listener{ +class Main extends PluginBase implements Listener{ public function onEnable(){ $this->getServer()->getPluginManager()->registerEvents($this, $this); @@ -41,4 +37,4 @@ public function onPlayerChat(PlayerChatEvent $ev){ } } -} \ No newline at end of file +} From dbccea60433ded46bece2562b1e1e67f5f8fe17f Mon Sep 17 00:00:00 2001 From: BalkanDev <75144786+TheBalkanDev@users.noreply.github.com> Date: Fri, 30 Jul 2021 20:33:42 +0200 Subject: [PATCH 6/7] Fixed Bug --- src/iJoshuaHD/LevelChat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iJoshuaHD/LevelChat.php b/src/iJoshuaHD/LevelChat.php index 8a91f42..cf1f4d7 100644 --- a/src/iJoshuaHD/LevelChat.php +++ b/src/iJoshuaHD/LevelChat.php @@ -9,7 +9,7 @@ use pocketmine\Server; -class Main extends PluginBase implements Listener{ +class LevelChat extends PluginBase implements Listener{ public function onEnable(){ $this->getServer()->getPluginManager()->registerEvents($this, $this); From 304c5af59faecc846d0c89a94da26eecfe7748ba Mon Sep 17 00:00:00 2001 From: BalkanDev <75144786+TheBalkanDev@users.noreply.github.com> Date: Fri, 30 Jul 2021 20:39:05 +0200 Subject: [PATCH 7/7] Update plugin.yml --- plugin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.yml b/plugin.yml index 5ccd93b..f1be951 100644 --- a/plugin.yml +++ b/plugin.yml @@ -1,6 +1,6 @@ name: LevelChat main: iJoshuaHD\LevelChat version: 0.0.2 -api: 3.0.0 +api: 4.0.0 author: iJoshuaHD description: A more dynamic manifold level chat.