palente / seedevice Goto Github PK
View Code? Open in Web Editor NEWA pmmp plugin for Minecraft(W10,BE) [PHP]
License: GNU General Public License v3.0
A pmmp plugin for Minecraft(W10,BE) [PHP]
License: GNU General Public License v3.0
The Device Tag keeps Flickering
Can you add faction compatibility ?
Hi, if the command is executed by a player without the perm, he gets kicked for Internal server error
Here the error:
[06:58:06] [Server thread/DEBUG]: #0 src/pocketmine/command/SimpleCommandMap(270): SeeDevice\Commands\SD->execute(object pocketmine\Player, string[9] seedevice, array[0])
[06:58:06] [Server thread/DEBUG]: #1 src/pocketmine/Server(2029): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[9] seedevice)
[06:58:06] [Server thread/DEBUG]: #2 src/pocketmine/Player(2231): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[9] seedevice)
[06:58:06] [Server thread/DEBUG]: #3 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(240): pocketmine\Player->chat(string[10] /seedevice)
[06:58:06] [Server thread/DEBUG]: #4 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[06:58:06] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[06:58:06] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/BatchPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[06:58:06] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[06:58:06] [Server thread/DEBUG]: #8 src/pocketmine/Player(3126): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[06:58:06] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[06:58:06] [Server thread/DEBUG]: #10 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[17] 192.168.0.3 43288, object raklib\protocol\EncapsulatedPacket, integer 0)
[06:58:06] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[06:58:06] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[06:58:06] [Server thread/DEBUG]: #13 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[06:58:06] [Server thread/DEBUG]: #14 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[06:58:06] [Server thread/DEBUG]: #15 src/pocketmine/Server(2348): pocketmine\snooze\SleeperHandler->sleepUntil(double 1565416686.3363)
[06:58:06] [Server thread/DEBUG]: #16 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor()
[06:58:06] [Server thread/DEBUG]: #17 src/pocketmine/Server(1784): pocketmine\Server->start()
[06:58:06] [Server thread/DEBUG]: #18 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[49] D:\dati\Server Minecraft\TakaServer 4.0 MCPE\HUB\, string[57] D:\dati\Server Minecraft\TakaServer 4.0 MCPE\HUB\plugins\)
[06:58:06] [Server thread/DEBUG]: #19 src/pocketmine/PocketMine(299): pocketmine\server()
[06:58:06] [Server thread/DEBUG]: #20 (1): require(string[104] phar://D:/dati/Server Minecraft/TakaServer 4.0 MCPE/HUB/PocketMine-MP.phar/src/p)
[06:58:06] [Server thread/INFO]: [-] Takabrycheri34
[06:58:06] [Server thread/INFO]: Takabrycheri34[/192.168.0.3:43288] disconnesso a causa di Internal server error
Also I already fixed myself editing that line (25).
Original code:
if(!$this->testPermission($sender)){
return $sender->sendMessage(self::$pr.TranslationContainer("commands.generic.permission"));
}
Fixed code:
if(!$this->testPermission($sender)){
return;
}
The no permission error will printed anyway and the plugin haven't error in console and don't kick player.
Sorry for my English.
I hope you fix it on the repo :)
Bye
PS: nice plugin :D
PocketMine-MP Crash Dump Tue Feb 23 02:33:05 CET 2021
Error: Undefined offset: 69
File: plugins/SeeDevice-master/src/Palente/SeeDevice/SeeDevice
Line: 96
Type: ErrorException
Line 93 - 97
public function getPlayerOs(Player $player): ?string
{
if (!isset($this->os[$player->getName()]) or $this->os[$player->getName()] === null) return null;
return $this->listOfOs[$this->os[strtolower($player->getName())]] ;
}
Purpose of solution:
public function getPlayerOs(Player $player): ?string
{
if (!isset($this->os[$player->getName()]) or $this->os[$player->getName()] === null) return null;
return $this->listOfOs[$this->os[strtolower($player->getName())]] ?? null;
}
Connect it in PureChat nametags
This prevents Poggit from detecting the command, and hence the plugin cannot be searched at https://poggit.pmmp.io/cmds
This is not a critical issue, so your plugin is not immediately rejected. However, please make sure this issue is resolved in your next update.
This issue was created via GitHub API automatically, but you are welcome to reply to this issue to contact me. Sorry about not reading the CONTRIBUTING.md in this repo ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.