tebexio / buycraftpm Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
PocketMine-MP Crash Dump Tue Jul 2 14:59:43 UTC 2019
Error: Trying to get property 'account' of non-object
File: plugins/TebexPMMP (2).phar/src/Buycraft/PocketMine/Util/InventoryUtils
Line: 70
Type: ErrorException
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: Tebex-PMMP v2.0.1
Code:
[61] }
[62] }
[63]
[64] if (!$category) {
[65] $p->sendMessage("There was a problem loading the packages for this category");
[66] return false;
[67] }
[68]
[69] $inv = new PackageInventory();
[70] $currency = $this->plugin->getServerInformation()->account->currency->symbol;
[71]
[72] $i = 0;
[73] foreach ($category['packages'] as $package) {
[74] if ($i > 25) {
[75] break;
[76] }
[77]
[78] $item = Item::fromString($package['gui_item'] ?? "PAPER");
[79]
[80] $nbt = $item->getNamedTag() ?? new CompoundTag("", []);
Backtrace:
#0 plugins/TebexPMMP (2).phar/src/Buycraft/PocketMine/Util/InventoryUtils(70): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[46] Trying to get property 'account' of non-object, string[97] phar:///home/container/plugins/TebexPMMP (2).phar/src/Buycraft/PocketMine/Util/I, integer 70, array[5])
#1 plugins/TebexPMMP (2).phar/src/Buycraft/PocketMine/BuycraftListener(113): Buycraft\PocketMine\Util\InventoryUtils->showPackageGui(object pocketmine\Player, integer 1359197)
#2 src/pocketmine/scheduler/TaskHandler(159): class@anonymous phar:///home/container/plugins/TebexPMMP (2).phar/src/Buycraft/PocketMine/BuycraftListener.php0x7f9da3bee00b->onRun(integer 69951)
#3 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 69951)
#4 src/pocketmine/plugin/PluginManager(689): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 69951)
#5 src/pocketmine/Server(2569): pocketmine\plugin\PluginManager->tickSchedulers(integer 69951)
#6 src/pocketmine/Server(2345): pocketmine\Server->tick()
#7 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1784): pocketmine\Server->start()
#9 src/pocketmine/PocketMine(274): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#10 (1): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
PocketMine-MP version: 3.8.5 [Protocol 354]
Git commit: 6b090d653c2b302049e0a90b4c39ea5fd5edea13
uname -a: Linux 701e2e62-18e3-4f8b-bebb-32ee16a44343 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018 x86_64
PHP Version: 7.2.19
Zend version: 3.2.0
OS : Linux, linux
----------------------REPORT THE DATA BELOW THIS LINE-----------------------
===BEGIN CRASH DUMP===
eNrtPAtT20iaf6XXSV3gyjKWbGPsKbJHgGzYhcQLzmSvolSqLbVtLZJao5Ywnqn57/d9X7eeQMIw
zNVV3czWFlY/vvez1covnaVMI559vRGpCmTcmTrdThZEojO1R/tOfzwZHQy6nZCr7DRNZdqZ/tLJ
tglMd+j59NYTSYYbu51IKMVXODVPt0G8YplkK5GxJJWJSLMte8U9T+Zx9orJJYtlbMnFv4WXwdZl
HoZvgxD3JmueTvf29tYyEnuejDMexCLdS8J8FcRqby4W4nZ2cTFjO85uDxfvqdTbe5NvvZQvs72Z
9K5FdgF79j5mQbh3Ft+IOJPpFp8UbEgQnUH1LDABXghTnem4D6JLuQc/P3de9NnzgN8Z93enLKE1
Eaxx3RyHXZdmp1PRUMM7HvuhSHeCOBMrkbKDLlNZCsr4PNz/wn6bXsqtk/EX9txq6bKCRBAb42nK
t59HX3ZBmC/sp0iuGDsPVCaAsh3bHoDcimHXrdZq0bluU87Wa7WWmxn3rsGG/5YHO1oIDcnPQr4V
aUW6PRhN7MmYqHYYklat3lPeWvg5KGNvztV1oRh7NAGyPHAo9V8cZL2NZK7cvA//PZ+I28JAs+/f
jpcTnw8WQvT7C+u1jC/zuLST/clkZBMfg2/zcVU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+JFtf948W+m1ZfVW0BfnQ99HmFxvh5SwHT+WZ
ha+nR/1hH18xvzzDA6TRxPY59x3HF/2DkTN0JiNhL/z+eABGJZZL2xb7o/GEvSRNxFlDHrM1SdQx
n31UWesr1ST0XX7te6BEquC2oVpz7GW+5rbxA/ZuJxUgd7SYVa4lUuy/FEtzeNGwh3UkG4JVRIZq
mJky3/LgQ7BaBDFPt+aGHkoyk9cihjKoocwtpxe7Dn3EAkYWJPr76RE9kniDav2vv/4PvH79pw==
===END CRASH DUMP===
can you update to 3.0.0-ALPHA11
I've recently set up the shop and now im testing if it all works but instead of it executing the command "2020-07-13 [11:49:57] [Server thread/INFO]: [Tebex-PMMP] Checking for existing of player with XUID (number) " gets spammed until i stop the server please help 😞
It says on console I need the Curl extension
Can u provide me a link to get it and what do I do with it?
using "Tebex-PMMP" off of webstore
[17:27:06] [Server thread/INFO]: [Tebex-PMMP] Refreshing category list...
[17:27:06] [Asynchronous Worker #2 thread/CRITICAL]: ErrorException: "Invalid argument supplied for foreach()" (EXCEPTION) in "plugins/ScoreHud.phar/src/JackMD/ScoreHud/libs/JackMD/UpdateNotifier/task/UpdateNotifyTask" at line 67
[17:27:06] [Asynchronous Worker #2 thread/DEBUG]: #0 plugins/ScoreHud.phar/src/JackMD/ScoreHud/libs/JackMD/UpdateNotifier/task/UpdateNotifyTask(67): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[39] Invalid argument supplied for foreach(), string[117] phar:///home/container/plugins/ScoreHud.phar/src/JackMD/ScoreHud/libs/JackMD/Upd, integer 67, array[6])
[17:27:06] [Asynchronous Worker #2 thread/DEBUG]: #1 src/pocketmine/scheduler/AsyncTask(82): JackMD\ScoreHud\libs\JackMD\UpdateNotifier\task\UpdateNotifyTask->onRun()
[17:27:06] [Asynchronous Worker #2 thread/DEBUG]: #2 (): pocketmine\scheduler\AsyncTask->run()
As explained in this comment on php.net, setting CURLOPT_SSL_VERIFYPEER
to false
stops cURL from verifying the peer's certificate. An approach to deal with SSL certificates not being installed in the machine by default would be providing a CA certificate along with the plugin.
References to CURLOPT_SSL_VERIFYPEER => false
:
this plugin not receiving commands the most of times from BuyCraft there is some Async Fails
Error: cURL request has failed: Operation timed out after 10001 milliseconds with 0 bytes received
File: BuycraftPM-master/src/Buycraft/PocketMine/PluginApi
Line: 41
Type: Exception
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: BuycraftPM v1.1.0
Code:
[32] // Do a basic GET request
[33] $ctx = $this->initializeCurl(self::BUYCRAFT_PLUGIN_API_URL . $endpoint, $timeout);
[34] $body = curl_exec($ctx);
[35]
[36] // Did the request fail? If so, return an error.
[37] if ($body === FALSE) {
[38] $err = curl_error($ctx);
[39] curl_close($ctx);
[40]
[41] throw new \Exception("cURL request has failed: " . $err);
[42] }
[43]
[44] curl_close($ctx);
[45]
[46] // Try to deserialize the response as JSON.
[47] $result = json_decode($body, $assoc);
[48]
[49] if ($result === NULL) {
[50] throw new \Exception("Result can't be decoded as JSON.");
[51] }
Backtrace:
#0 BuycraftPM-master/src/Buycraft/PocketMine/Execution/CategoryRefreshTask(25): Buycraft\PocketMine\PluginApi->basicGet(string /listing, boolean 1, integer 10)
#1 src/pocketmine/scheduler/TaskHandler(159): Buycraft\PocketMine\Execution\CategoryRefreshTask->onRun(integer 10801)
#2 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 10801)
#3 src/pocketmine/plugin/PluginManager(665): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 10801)
#4 src/pocketmine/Server(2522): pocketmine\plugin\PluginManager->tickSchedulers(integer 10801)
#5 src/pocketmine/Server(2275): pocketmine\Server->tick()
#6 src/pocketmine/Server(2139): pocketmine\Server->tickProcessor()
#7 src/pocketmine/Server(1715): pocketmine\Server->start()
#8 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/minecraft/multicraft/servers/server19/, string /home/minecraft/multicraft/servers/server19/plugins/)
#9 /home/minecraft/multicraft/servers/server19/PocketMine-MP.phar(1): require(string phar:///home/minecraft/multicraft/servers/server19/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
I can't link my pocketmine server with tebex. When i type tebex secret (key) i get response that its invalid key. I regenerated the key few time restarted the server and replaced plugin with older version, and nothing. Then i put back newest version and still nothing. What should i do
[09:50:07] [Server thread/INFO]: Enabling BuycraftPM v0.5.0-2
[09:50:07] [Server thread/CRITICAL]: ErrorException: "yaml_parse(): end of stream reached without finding document 0" (EXCEPTION) in "src/pocketmine/utils/Config" at line 155
[09:50:07] [Server thread/DEBUG]: #0 (): pocketmine\error_handler(integer 2, string yaml_parse(): end of stream reached without finding document 0, string /home/sky/src/pocketmine/utils/Config.php, integer 155, array Array())
[09:50:07] [Server thread/DEBUG]: #1 src/pocketmine/utils/Config(155): yaml_parse(string )
[09:50:07] [Server thread/DEBUG]: #2 src/pocketmine/utils/Config(86): pocketmine\utils\Config->load(string /home/sky/plugins/BuycraftPM/config.yml, integer -1, array Array())
[09:50:07] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginBase(264): pocketmine\utils\Config->__construct(string /home/sky/plugins/BuycraftPM/config.yml)
[09:50:07] [Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginBase(244): pocketmine\plugin\PluginBase->reloadConfig()
[09:50:07] [Server thread/DEBUG]: #5 plugins/BuycraftPM.phar/src/Buycraft/PocketMine/BuycraftPlugin(45): pocketmine\plugin\PluginBase->getConfig()
[09:50:07] [Server thread/DEBUG]: #6 src/pocketmine/plugin/PluginBase(90): Buycraft\PocketMine\BuycraftPlugin->onEnable()
[09:50:07] [Server thread/DEBUG]: #7 src/pocketmine/plugin/PharPluginLoader(122): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
[09:50:07] [Server thread/DEBUG]: #8 src/pocketmine/plugin/PluginManager(610): pocketmine\plugin\PharPluginLoader->enablePlugin(Buycraft\PocketMine\BuycraftPlugin object)
[09:50:07] [Server thread/DEBUG]: #9 src/pocketmine/Server(1955): pocketmine\plugin\PluginManager->enablePlugin(Buycraft\PocketMine\BuycraftPlugin object)
[09:50:07] [Server thread/DEBUG]: #10 src/pocketmine/Server(1941): pocketmine\Server->enablePlugin(Buycraft\PocketMine\BuycraftPlugin object)
[09:50:07] [Server thread/DEBUG]: #11 src/pocketmine/Server(1735): pocketmine\Server->enablePlugins(integer 1)
[09:50:07] [Server thread/DEBUG]: #12 src/pocketmine/PocketMine(554): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/sky/, string /home/sky/plugins/)
[09:50:07] [Server thread/INFO]: Disabling BuycraftPM v0.5.0-2
[09:50:07] [Server thread/CRITICAL]: ErrorException: "yaml_parse(): end of stream reached without finding document 0" (EXCEPTION) in "src/pocketmine/utils/Config" at line 155
[09:50:07] [Server thread/DEBUG]: #0 (): pocketmine\error_handler(integer 2, string yaml_parse(): end of stream reached without finding document 0, string /home/sky/src/pocketmine/utils/Config.php, integer 155, array Array())
[09:50:07] [Server thread/DEBUG]: #1 src/pocketmine/utils/Config(155): yaml_parse(string )
[09:50:07] [Server thread/DEBUG]: #2 src/pocketmine/utils/Config(86): pocketmine\utils\Config->load(string /home/sky/plugins/BuycraftPM/config.yml, integer -1, array Array())
[09:50:07] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginBase(264): pocketmine\utils\Config->__construct(string /home/sky/plugins/BuycraftPM/config.yml)
[09:50:07] [Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginBase(244): pocketmine\plugin\PluginBase->reloadConfig()
[09:50:07] [Server thread/DEBUG]: #5 src/pocketmine/plugin/PluginBase(251): pocketmine\plugin\PluginBase->getConfig()
[09:50:07] [Server thread/DEBUG]: #6 plugins/BuycraftPM.phar/src/Buycraft/PocketMine/BuycraftPlugin(87): pocketmine\plugin\PluginBase->saveConfig()
[09:50:07] [Server thread/DEBUG]: #7 src/pocketmine/plugin/PluginBase(92): Buycraft\PocketMine\BuycraftPlugin->onDisable()
[09:50:07] [Server thread/DEBUG]: #8 src/pocketmine/plugin/PharPluginLoader(137): pocketmine\plugin\PluginBase->setEnabled(boolean )
[09:50:07] [Server thread/DEBUG]: #9 src/pocketmine/plugin/PluginManager(687): pocketmine\plugin\PharPluginLoader->disablePlugin(Buycraft\PocketMine\BuycraftPlugin object)
[09:50:07] [Server thread/DEBUG]: #10 src/pocketmine/plugin/PluginManager(613): pocketmine\plugin\PluginManager->disablePlugin(Buycraft\PocketMine\BuycraftPlugin object)
[09:50:07] [Server thread/DEBUG]: #11 src/pocketmine/Server(1955): pocketmine\plugin\PluginManager->enablePlugin(Buycraft\PocketMine\BuycraftPlugin object)
[09:50:07] [Server thread/DEBUG]: #12 src/pocketmine/Server(1941): pocketmine\Server->enablePlugin(Buycraft\PocketMine\BuycraftPlugin object)
[09:50:07] [Server thread/DEBUG]: #13 src/pocketmine/Server(1735): pocketmine\Server->enablePlugins(integer 1)
[09:50:07] [Server thread/DEBUG]: #14 src/pocketmine/PocketMine(554): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/sky/, string /home/sky/plugins/)
2017-10-26 [12:45:07] �[Server thread/INFO]: [BuycraftPM] Executing login commands for Ashyboy08boss...�
2017-10-26 [12:45:07] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:07] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:08] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:08] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:08] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:08] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:08] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:08] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:08] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:08] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:08] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:08] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:08] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:08] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:08] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:08] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:08] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:08] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:08] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:08] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:08] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:08] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:09] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:09] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:09] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:09] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:09] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:09] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
2017-10-26 [12:45:09] �[Server thread/INFO]: Unknown command. Try /help for a list of commands�
With version 600 worked fine, after updating to version 633 after a few hours I have this error and plugin crash.
[20:44:57] [Asynchronous Worker #1 thread/CRITICAL]: Exception: "cURL request has failed: Operation timed out after 5001 milliseconds with 0 bytes received" (EXCEPTION) in "BuycraftPM/src/Buycraft/PocketMine/PluginApi" at line 38
[20:44:57] [Asynchronous Worker #1 thread/DEBUG]: #0 BuycraftPM/src/Buycraft/PocketMine/Execution/DuePlayerCheck(45): Buycraft\PocketMine\PluginApi->basicGet(string /queue?limit=250&page=1)
[20:44:57] [Asynchronous Worker #1 thread/DEBUG]: #1 src/pocketmine/scheduler/AsyncTask(67): Buycraft\PocketMine\Execution\DuePlayerCheck->onRun()
[20:44:57] [Asynchronous Worker #1 thread/DEBUG]: #2 (): pocketmine\scheduler\AsyncTask->run()
[21:44:57] [Server thread/CRITICAL]: Could not execute asynchronous task DuePlayerCheck: Task crashed
[16:56:33] [Server thread/INFO]: [Tebex-PMMP] Checking for existing of player with XUID xxx
[16:56:33] [Server thread/INFO]: [Tebex-PMMP] Checking for existing of player with XUID xxx
[16:56:33] [Server thread/INFO]: [Tebex-PMMP] Checking for existing of player with XUID xxx
the plugin keep spaming that every second
Error: Class 'pocketmine\scheduler\PluginTask' not found
File: BuycraftPM-master/src/Buycraft/PocketMine/Execution/CommandExecutor
Line: 10
Type: E_ERROR
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: BuycraftPM v1.0.0
Code:
[1] <?php
[2]
[3] namespace Buycraft\PocketMine\Execution;
[4]
[5] use Buycraft\PocketMine\BuycraftPlugin;
[6] use pocketmine\command\ConsoleCommandSender;
[7] use pocketmine\scheduler\PluginTask;
[8] use pocketmine\Server;
[9]
[10] class CommandExecutor extends PluginTask
[11] {
[12] const MAXIMUM_COMMANDS_TO_RUN = 10;
[13]
[14] /**
[15] * @var array
[16] /
[17] private $commands = array();
[18]
[19] /*
[20] * CommandExecutor constructor.
Buycraft causes my server to crash due to a segmentation fault. I suspect it's caused by Buycraft because it crashes my server while trying to check for due players. This also happens to a couple of my friends so I can safely say that this probably isn't caused by my other plugins. Please look into this, thank you and have a nice day :).
[21:13:45] [Server thread/WARNING]: [BuycraftPM] Unable to verify information
[21:13:45] [Server thread/CRITICAL]: Exception: "cURL request has failed: Operation timed out after 5000 milliseconds with 0 bytes received" (EXCEPTION) in "BuycraftPM-master/src/Buycraft/PocketMine/PluginApi" at line 41
15.12 13:14:20 [Server] Server thread/WARNING Unable to verify information
15.12 13:14:20 [Server] Server thread/CRITICAL Exception: "cURL request has failed: Resolving timed out after 5512 milliseconds" (EXCEPTION) in "BuycraftPM_v1.0.0.phar/src/Buycraft/PocketMine/PluginApi" at line 41
15.12 13:14:20 [Server] Server thread/DEBUG #0 BuycraftPM_v1.0.0.phar/src/Buycraft/PocketMine/BuycraftPlugin(72): Buycraft\PocketMine\PluginApi->basicGet(string /information)
15.12 13:14:20 [Server] Server thread/DEBUG #1 BuycraftPM_v1.0.0.phar/src/Buycraft/PocketMine/BuycraftPlugin(55): Buycraft\PocketMine\BuycraftPlugin->verifyInformation(Buycraft\PocketMine\PluginApi object)
15.12 13:14:20 [Server] Server thread/DEBUG #2 src/pocketmine/plugin/PluginBase(90): Buycraft\PocketMine\BuycraftPlugin->onEnable()
15.12 13:14:20 [Server] Server thread/DEBUG #3 src/pocketmine/plugin/PharPluginLoader(122): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
15.12 13:14:20 [Server] Server thread/DEBUG #4 src/pocketmine/plugin/PluginManager(610): pocketmine\plugin\PharPluginLoader->enablePlugin(Buycraft\PocketMine\BuycraftPlugin object)
15.12 13:14:20 [Server] Server thread/DEBUG #5 src/pocketmine/Server(1955): pocketmine\plugin\PluginManager->enablePlugin(Buycraft\PocketMine\BuycraftPlugin object)
15.12 13:14:20 [Server] Server thread/DEBUG #6 src/pocketmine/Server(1941): pocketmine\Server->enablePlugin(Buycraft\PocketMine\BuycraftPlugin object)
15.12 13:14:20 [Server] Server thread/DEBUG #7 src/pocketmine/Server(1735): pocketmine\Server->enablePlugins(integer 1)
15.12 13:14:20 [Server] Server thread/DEBUG #8 src/pocketmine/PocketMine(554): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /, string /plugins/)
15.12 13:14:20 [Server] Server thread/DEBUG #9 /custom-php7.2.phar(1): require(string phar:///custom-php7.2.phar/src/pocketmine/PocketMine.php)
I try the plugin in my pmmp server 1.2 alpha 9 bit and if I start my server the plugin won't load
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: Tebex-PMMP v2.1.0
Code:
[102] public function __construct($inventoryUtils, $p, $nbt)
[103] {
[104] $this->inventoryUtils = $inventoryUtils;
[105] $this->p = $p;
[106] $this->nbt = $nbt;
[107] }
[108]
[109] function onRun(int $currentTick)
[110] {
[111] $this->inventoryUtils->showPackageGui($this->p, $this->nbt->getInt("categoryId"));
[112] }
[113]
[114] }, 10);
[115]
[116] return true;
[117] }
[118]
[119] private
[120] function handlePackageInventoryClick(InventoryTransactionEvent $event, SlotChangeAction $action)
[121] {
Backtrace:
#0 src/pocketmine/scheduler/TaskHandler(134): class@anonymousphar:///root/server/plugins/TebexPMMP.phar/src/Buycraft/PocketMine/BuycraftListener.php0x7f42b8748ead->onRun(integer 13855)
#1 src/pocketmine/scheduler/TaskScheduler(176): pocketmine\scheduler\TaskHandler->run(integer 13855)
#2 src/pocketmine/plugin/PluginManager(643): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 13855)
#3 src/pocketmine/Server(2380): pocketmine\plugin\PluginManager->tickSchedulers(integer 13855)
#4 src/pocketmine/Server(2143): pocketmine\Server->tick()
#5 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor()
#6 src/pocketmine/Server(1584): pocketmine\Server->start()
#7 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[13] /root/server/, string[21] /root/server/plugins/)
#8 src/pocketmine/PocketMine(296): pocketmine\server()
#9 (11): require(string[68] phar:///root/server/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
Anyone know how to let players with spaces in their names purchase from the buycraft web store? Every time they type their name in it says that it’s not in the right format.
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.