ninjaknights / cosmeticmenu Goto Github PK
View Code? Open in Web Editor NEWFun and Easy-to-Use Pocketmine Cosmetics plugin. (Gadgets, Particles, Trails, etc)
License: GNU General Public License v3.0
Fun and Easy-to-Use Pocketmine Cosmetics plugin. (Gadgets, Particles, Trails, etc)
License: GNU General Public License v3.0
Hello!
Whenever I try to run CosmeticMenu on my Pocketmine Server, I get this error:
Could not load plugin 'CosmeticMenu': Incompatible API version (plugin requires one of: 3.13.0)
I'm confused about this because in the plugin.yml
it says that the API is 3.13.0
.
please
write some ideas for me to add.
[15:29:51] [Server thread/CRITICAL]: TypeError: "Return value of NinjaKnights\CosmeticMenu\Main::getForm() must be an instance of NinjaKnights\CosmeticMenu\libs\jojoe77777\FormAPI\FormAPI, instance of jojoe77777\FormAPI\FormAPI returned" (EXCEPTION) in "plugins/CosmeticMenu.phar/src/NinjaKnights/CosmeticMenu/Main" at line 161
[15:29:51] [Server thread/DEBUG]: #0 plugins/CosmeticMenu.phar/src/NinjaKnights/CosmeticMenu/forms/MainForm(20): NinjaKnights\CosmeticMenu\Main->getForm()
[15:29:51] [Server thread/DEBUG]: #1 plugins/CosmeticMenu.phar/src/NinjaKnights/CosmeticMenu/EventListener(195): NinjaKnights\CosmeticMenu\forms\MainForm->menuForm(object pocketmine\Player)
[15:29:51] [Server thread/DEBUG]: #2 src/pocketmine/plugin/MethodEventExecutor(42): NinjaKnights\CosmeticMenu\EventListener->onInteract(object pocketmine\event\player\PlayerInteractEvent)
[15:29:51] [Server thread/DEBUG]: #3 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object NinjaKnights\CosmeticMenu\EventListener, object pocketmine\event\player\PlayerInteractEvent)
[15:29:51] [Server thread/DEBUG]: #4 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerInteractEvent)
[15:29:51] [Server thread/DEBUG]: #5 src/pocketmine/level/Level(1862): pocketmine\event\Event->call()
[15:29:51] [Server thread/DEBUG]: #6 src/pocketmine/Player(2404): pocketmine\level\Level->useItemOn(object pocketmine\math\Vector3, object pocketmine\item\Item, integer 1, object pocketmine\math\Vector3, object pocketmine\Player, boolean 1)
[15:29:51] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(150): pocketmine\Player->handleInventoryTransaction(object kielking\ApolloMCPE\SubPlugins\VT\network\InventoryTransactionPacket)
[15:29:51] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(178): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(object kielking\ApolloMCPE\SubPlugins\VT\network\InventoryTransactionPacket)
[15:29:51] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[15:29:51] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/protocol/BatchPacket(126): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object kielking\ApolloMCPE\SubPlugins\VT\network\InventoryTransactionPacket)
[15:29:51] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[15:29:51] [Server thread/DEBUG]: #12 src/pocketmine/Player(3118): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[15:29:51] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[15:29:51] [Server thread/DEBUG]: #14 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[21] 174.112.105.100 65485, object raklib\protocol\EncapsulatedPacket, integer 0)
[15:29:51] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[15:29:51] [Server thread/DEBUG]: #16 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[15:29:51] [Server thread/DEBUG]: #17 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
[15:29:51] [Server thread/DEBUG]: #18 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[15:29:51] [Server thread/DEBUG]: #19 src/pocketmine/Server(2146): pocketmine\snooze\SleeperHandler->sleepUntil(double 1590179391.241)
[15:29:51] [Server thread/DEBUG]: #20 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor()
[15:29:51] [Server thread/DEBUG]: #21 src/pocketmine/Server(1584): pocketmine\Server->start()
[15:29:51] [Server thread/DEBUG]: #22 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[60] C:\Users\Administrator\Documents\mc servers\MCPE\ApolloMCPE, string[68] C:\Users\Administrator\Documents\mc servers\MCPE\ApolloMCPE\plugins)
[15:29:51] [Server thread/DEBUG]: #23 src/pocketmine/PocketMine(296): pocketmine\server()
[15:29:51] [Server thread/DEBUG]: #24 (11): require(string[115] phar://C:/Users/Administrator/Documents/mc servers/MCPE/ApolloMCPE/PocketMine-MP)
The hats do not show up as an option in the menu.
i have disabled to item because people sell it to /ah, i dont want it anyway if i can do /cosmetics but saddly after i disable i crash when trying
Aug 12 19:17 [Server] CRITICAL #23 (11): require(string[91] phar:///PocketMine-MP.phar/src/pocketmine/Poc)
Aug 12 19:17 [Server] CRITICAL #22 src/pocketmine/PocketMine(304): pocketmine\server()
Aug 12 19:17 [Server] CRITICAL #21 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[36] /, string[44] /plugins/)
Aug 12 19:17 [Server] CRITICAL #20 src/pocketmine/Server(1588): pocketmine\Server->start()
Aug 12 19:17 [Server] CRITICAL #19 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
Aug 12 19:17 [Server] CRITICAL #18 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1597274250.1176)
Aug 12 19:17 [Server] CRITICAL #17 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
Aug 12 19:17 [Server] CRITICAL #16 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
Aug 12 19:17 [Server] CRITICAL #15 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
Aug 12 19:17 [Server] CRITICAL #14 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
Aug 12 19:17 [Server] CRITICAL #13 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[20] 24.236.187.184 61407, object raklib\protocol\EncapsulatedPacket, integer 0)
Aug 12 19:17 [Server] CRITICAL #12 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
Aug 12 19:17 [Server] CRITICAL #11 src/pocketmine/Player(3250): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
Aug 12 19:17 [Server] CRITICAL #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
Aug 12 19:17 [Server] CRITICAL #9 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
Aug 12 19:17 [Server] CRITICAL #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
Aug 12 19:17 [Server] CRITICAL #7 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
Aug 12 19:17 [Server] CRITICAL #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(244): pocketmine\Player->chat(string[10] /cosmetics)
Aug 12 19:17 [Server] CRITICAL #5 src/pocketmine/Player(2311): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[9] cosmetics)
Aug 12 19:17 [Server] CRITICAL #4 src/pocketmine/Server(1811): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[9] cosmetics)
Aug 12 19:17 [Server] CRITICAL #3 src/pocketmine/command/SimpleCommandMap(248): pocketmine\command\PluginCommand->execute(object pocketmine\Player, string[9] cosmetics, array[0])
Aug 12 19:17 [Server] CRITICAL #2 src/pocketmine/command/PluginCommand(54): NinjaKnights\CosmeticMenu\Main->onCommand(object pocketmine\Player, object pocketmine\command\PluginCommand, string[9] cosmetics, array[0])
Aug 12 19:17 [Server] CRITICAL #1 plugins/CosmeticMenu_dev-78.phar/src/NinjaKnights/CosmeticMenu/Main(301): NinjaKnights\CosmeticMenu\forms\MainForm->menuForm(object pocketmine\Player)
Aug 12 19:17 [Server] CRITICAL #0 plugins/CosmeticMenu_dev-78.phar/src/NinjaKnights/CosmeticMenu/forms/MainForm(62): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[65] Undefined property: NinjaKnights\CosmeticMenu\Main::$cosmeticName, string[124] phar:///plugins/CosmeticMenu_dev-78.phar/src/, integer 62, array[2])
Aug 12 19:17 [Server] CRITICAL ErrorException: "Undefined property: NinjaKnights\CosmeticMenu\Main::$cosmeticName" (EXCEPTION) in "plugins/CosmeticMenu_dev-78.phar/src/NinjaKnights/CosmeticMenu/forms/MainForm" at line 62
Could you make it so when u click the cosmetics item it saves your inventory before you use it and then after you close the cosmetics it returns your inventory before you used the item? please reply its inportant
Basically, after i updated my PMMP, I excluded the v2.2 and put on the v2.3, the plugin loads normally, but the commands isn't working.
I said my config yml format was outdated, I deleted it and launched the server again, didn't work at all
is #5 being fixed?
Add a scorehud addon where is shows what gadget/particle/trail/suit/whatever else is equiped also a timer for the cooldown in gadgets. Variables would be {cosmetic_item} & {cosmetic_cooldown}
Requester: ZZWILLIAMXX
Add leather armor that will change color every few seconds.. A good idea is to put this with suits & add a sheep head on it!
Requester: ZZWILLIAMXX
This one is self explanatory. Though add a config option like this...
perworldsupport: 0
This video.
[11:45:05] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to pocketmine\network\mcpe\NetworkBinaryStream::putString() must be of the type string, int given, called in phar://C:/Users/Administrator/Documents/mc servers/MCPE/ApolloMCPE/PocketMine-MP.phar/src/pocketmine/network/mcpe/protocol/AddActorPacket.php on line 211" (EXCEPTION) in "src/pocketmine/network/mcpe/NetworkBinaryStream" at line 62
[11:45:05] [Server thread/DEBUG]: #0 src/pocketmine/network/mcpe/protocol/AddActorPacket(211): pocketmine\network\mcpe\NetworkBinaryStream->putString(integer 93)
[11:45:05] [Server thread/DEBUG]: #1 src/pocketmine/network/mcpe/protocol/DataPacket(127): pocketmine\network\mcpe\protocol\AddActorPacket->encodePayload()
[11:45:05] [Server thread/DEBUG]: #2 src/pocketmine/network/mcpe/RakLibInterface(244): pocketmine\network\mcpe\protocol\DataPacket->encode()
[11:45:05] [Server thread/DEBUG]: #3 src/pocketmine/Player(3235): pocketmine\network\mcpe\RakLibInterface->putPacket(object pocketmine\Player, object pocketmine\network\mcpe\protocol\AddActorPacket, boolean , boolean )
[11:45:05] [Server thread/DEBUG]: #4 src/pocketmine/Player(3252): pocketmine\Player->sendDataPacket(object pocketmine\network\mcpe\protocol\AddActorPacket, boolean , boolean )
[11:45:05] [Server thread/DEBUG]: #5 plugins/CosmeticMenu.phar/src/NinjaKnights/CosmeticMenu/cosmetics/Gadgets/GadgetsEvents(124): pocketmine\Player->dataPacket(object pocketmine\network\mcpe\protocol\AddActorPacket)
[11:45:05] [Server thread/DEBUG]: #6 src/pocketmine/plugin/MethodEventExecutor(42): NinjaKnights\CosmeticMenu\cosmetics\Gadgets\GadgetsEvents->onInteract(object pocketmine\event\player\PlayerInteractEvent)
[11:45:05] [Server thread/DEBUG]: #7 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object NinjaKnights\CosmeticMenu\cosmetics\Gadgets\GadgetsEvents, object pocketmine\event\player\PlayerInteractEvent)
[11:45:05] [Server thread/DEBUG]: #8 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerInteractEvent)
[11:45:05] [Server thread/DEBUG]: #9 src/pocketmine/level/Level(1864): pocketmine\event\Event->call()
[11:45:05] [Server thread/DEBUG]: #10 src/pocketmine/Player(2461): pocketmine\level\Level->useItemOn(object pocketmine\math\Vector3, object pocketmine\item\BlazeRod, integer 1, object pocketmine\math\Vector3, object pocketmine\Player, boolean 1)
[11:45:05] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(150): pocketmine\Player->handleInventoryTransaction(object kielking\ApolloMCPE\SubPlugins\VT\network\InventoryTransactionPacket)
[11:45:05] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(178): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(object kielking\ApolloMCPE\SubPlugins\VT\network\InventoryTransactionPacket)
[11:45:05] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[11:45:05] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/protocol/BatchPacket(126): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object kielking\ApolloMCPE\SubPlugins\VT\network\InventoryTransactionPacket)
[11:45:05] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[11:45:05] [Server thread/DEBUG]: #16 src/pocketmine/Player(3187): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[11:45:05] [Server thread/DEBUG]: #17 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[11:45:05] [Server thread/DEBUG]: #18 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[21] 174.112.105.100 51169, object raklib\protocol\EncapsulatedPacket, integer 0)
[11:45:05] [Server thread/DEBUG]: #19 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[11:45:05] [Server thread/DEBUG]: #20 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[11:45:05] [Server thread/DEBUG]: #21 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
[11:45:05] [Server thread/DEBUG]: #22 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[11:45:05] [Server thread/DEBUG]: #23 src/pocketmine/Server(2154): pocketmine\snooze\SleeperHandler->sleepUntil(double 1591548305.6808)
[11:45:05] [Server thread/DEBUG]: #24 src/pocketmine/Server(1991): pocketmine\Server->tickProcessor()
[11:45:05] [Server thread/DEBUG]: #25 src/pocketmine/Server(1585): pocketmine\Server->start()
[11:45:05] [Server thread/DEBUG]: #26 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[60] C:\Users\Administrator\Documents\mc servers\MCPE\ApolloMCPE, string[68] C:\Users\Administrator\Documents\mc servers\MCPE\ApolloMCPE\plugins)
[11:45:05] [Server thread/DEBUG]: #27 src/pocketmine/PocketMine(296): pocketmine\server()
[11:45:05] [Server thread/DEBUG]: #28 (11): require(string[115] phar://C:/Users/Administrator/Documents/mc servers/MCPE/ApolloMCPE/PocketMine-MP)
[11:45:05] [Server thread/INFO]: jaylac2000 [-]
Hello,
Nice plugin, very funny, my child like it !
But i've saw some problems:
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.