czechpmdevs / mystats Goto Github PK
View Code? Open in Web Editor NEWThe most customizable HUD and Scoreboard plugin for PocketMine
License: GNU General Public License v3.0
The most customizable HUD and Scoreboard plugin for PocketMine
License: GNU General Public License v3.0
Hi There
I got the below error when installing the MyStats plugin from PHAR
[18:24:04] [Server thread/INFO]: Loading pocketmine.yml...
[18:24:04] [Server thread/INFO]: Loading server properties...
[18:24:04] [Server thread/INFO]: Selected English (eng) as the base language
[18:24:04] [Server thread/INFO]: Starting Minecraft: PE server version v1.2.0.81
...
[18:24:04] [Server thread/INFO]: This server is running PocketMine-MP version 1.7dev-83 "[REDACTED]" (API 3.0.0-ALPHA8)
[18:24:04] [Server thread/INFO]: PocketMine-MP is distributed under the LGPL License
...
[18:24:04] [Server thread/INFO]: Loading MyStats v1.4.2
[18:24:04] [Server thread/INFO]: Loading EconomyAPI v5.7.1-2.alpha8
[18:24:04] [Server thread/INFO]: Loading EconomyJob v2.0.4-1.alpha8
[18:24:04] [Server thread/INFO]: Enabling MyStats v1.4.2
[18:24:04] [Server thread/INFO]: Disabling MyStats v1.4.2
[18:24:04] [Server thread/CRITICAL]: ErrorException: "Invalid argument supplied for foreach()" (EXCEPTION) in "MyStats.phar/src/MyStats/Util/DataManager" at line 99
[18:24:04] [Server thread/DEBUG]: #0 MyStats.phar/src/MyStats/Util/DataManager(99): pocketmine\{closure}(integer 2, string Invalid argument supplied for foreach(), string phar:///var/minecraft/PMMP/plugins/MyStats.phar/src/MyStats/Util/DataManager.php, integer 99, array Array())
[18:24:04] [Server thread/DEBUG]: #1 MyStats.phar/src/MyStats/MyStats(83): MyStats\Util\DataManager->saveData()
[18:24:04] [Server thread/DEBUG]: #2 src/pocketmine/plugin/PluginBase(92): MyStats\MyStats->onDisable()
[18:24:04] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PharPluginLoader(137): pocketmine\plugin\PluginBase->setEnabled(boolean )
[18:24:04] [Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginManager(687): pocketmine\plugin\PharPluginLoader->disablePlugin(MyStats\MyStats object)
[18:24:04] [Server thread/DEBUG]: #5 MyStats.phar/src/MyStats/MyStats(121): pocketmine\plugin\PluginManager->disablePlugin(MyStats\MyStats object)
[18:24:04] [Server thread/DEBUG]: #6 MyStats.phar/src/MyStats/MyStats(63): MyStats\MyStats->check()
[18:24:04] [Server thread/DEBUG]: #7 src/pocketmine/plugin/PluginBase(90): MyStats\MyStats->onEnable()
[18:24:04] [Server thread/DEBUG]: #8 src/pocketmine/plugin/PharPluginLoader(122): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
[18:24:04] [Server thread/DEBUG]: #9 src/pocketmine/plugin/PluginManager(610): pocketmine\plugin\PharPluginLoader->enablePlugin(MyStats\MyStats object)
[18:24:04] [Server thread/DEBUG]: #10 src/pocketmine/Server(1957): pocketmine\plugin\PluginManager->enablePlugin(MyStats\MyStats object)
[18:24:04] [Server thread/DEBUG]: #11 src/pocketmine/Server(1943): pocketmine\Server->enablePlugin(MyStats\MyStats object)
[18:24:04] [Server thread/DEBUG]: #12 src/pocketmine/Server(1652): pocketmine\Server->enablePlugins(integer 0)
[18:24:04] [Server thread/DEBUG]: #13 src/pocketmine/PocketMine(553): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///var/minecraft/PMMP/PocketMine-MP.phar/, string /var/minecraft/PMMP/, string /var/minecraft/PMMP/plugins/)
[18:24:04] [Server thread/DEBUG]: #14 /var/minecraft/PMMP/PocketMine-MP.phar(1): require(string phar:///var/minecraft/PMMP/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[18:24:04] [Server thread/CRITICAL]: [MyStats] Download plugin from github! (https://github.com/CzechPMDevs/MyStats/releases)
[18:24:04] [Server thread/INFO]: [MyStats] &5&l[ &r&2MyStats &l&5]Submit issue to https://github.com/CzechPMDevs/MyStats/issues to fix it.
thanks
"BreakedBlocks" should be "BrokenBlocks"
https://github.com/CzechPMDevs/MyStats/blob/master/MyStats/resources/config.yml#L37
(not a critical one, your plugin has got the status "Checked" now)
Hello. I was just wondering what the popup worlds and tip worlds in the settings did.
is this support multi world like if we go to main world the hud will be displayed if we go to second world it will disappear
Add support for FactionsPE by BlockHorizons
How to set it up after installation??
Kills and deaths are not saving, example when you kill a player and you log out it resets the stats
Hey the Scoreboard feature has some bugs like the K/D and the money it does not wanna update is always on 0
The HUD on Screen does not popup or show in 1.2
There is a Big Blackbox on Players Screen.
Mystats latest
Pocketmine 3.14.0
When i remove Mystats IT works.
Reproduce: Install Mystats
Join youre 1.16 Server
Have fun with a Big Blackbox on screen
Add {ping} in MyStats
Hello the stats still not saving, to reproduce it try to kill or death, restart the server, try to kill or death again, quit and rejoin and your stats won't save, I'm using 1.4.11 version of the plugin
not working with 1.18.0 :(
I get the following error on server startup when using the latest dev version of this plugin. Please note that this is even after you released Dev_117 which supposedly fixed it:
[12:33:29] [Server thread/INFO]: Enabling MyStats v1.5.1
[12:33:29] [Server thread/CRITICAL]: ReflectionException: "Class vixikhd\skywars\event\PlayerArenaWinEvent does not exist" (EXCEPTION) in "src/pocketmine/plugin/PluginManager" at line 733
[12:33:29] [Server thread/DEBUG]: #0 src/pocketmine/plugin/PluginManager(733): ReflectionParameter->getClass()
[12:33:29] [Server thread/DEBUG]: #1 plugins/MyStats_dev-117.phar/src/czechpmdevs/mystats/event/EventListener(54): pocketmine\plugin\PluginManager->registerEvents(object czechpmdevs\mystats\event\EventListener, object czechpmdevs\mystats\MyStats)
[12:33:29] [Server thread/DEBUG]: #2 plugins/MyStats_dev-117.phar/src/czechpmdevs/mystats/MyStats(116): czechpmdevs\mystats\event\EventListener->__construct(object czechpmdevs\mystats\MyStats)
[12:33:29] [Server thread/DEBUG]: #3 plugins/MyStats_dev-117.phar/src/czechpmdevs/mystats/MyStats(67): czechpmdevs\mystats\MyStats->registerListeners()
[12:33:29] [Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginBase(123): czechpmdevs\mystats\MyStats->onEnable()
[12:33:29] [Server thread/DEBUG]: #5 src/pocketmine/plugin/PluginManager(580): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
[12:33:29] [Server thread/DEBUG]: #6 src/pocketmine/Server(2002): pocketmine\plugin\PluginManager->enablePlugin(object czechpmdevs\mystats\MyStats)
[12:33:29] [Server thread/DEBUG]: #7 src/pocketmine/Server(1988): pocketmine\Server->enablePlugin(object czechpmdevs\mystats\MyStats)
[12:33:29] [Server thread/DEBUG]: #8 plugins/PocketMine-DevTools.phar/src/DevTools/DevTools(73): pocketmine\Server->enablePlugins(integer 0)
[12:33:29] [Server thread/DEBUG]: #9 src/pocketmine/plugin/PluginBase(123): DevTools\DevTools->onEnable()
[12:33:29] [Server thread/DEBUG]: #10 src/pocketmine/plugin/PluginManager(580): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
[12:33:29] [Server thread/DEBUG]: #11 src/pocketmine/Server(2002): pocketmine\plugin\PluginManager->enablePlugin(object DevTools\DevTools)
[12:33:29] [Server thread/DEBUG]: #12 src/pocketmine/Server(1988): pocketmine\Server->enablePlugin(object DevTools\DevTools)
[12:33:29] [Server thread/DEBUG]: #13 src/pocketmine/Server(1728): pocketmine\Server->enablePlugins(integer 0)
[12:33:29] [Server thread/DEBUG]: #14 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[44] C:\Users\Zander Maitland\Desktop\Pocketmine\, string[52] C:\Users\Zander Maitland\Desktop\Pocketmine\plugins\)
[12:33:29] [Server thread/DEBUG]: #15 src/pocketmine/PocketMine(299): pocketmine\server()
[12:33:29] [Server thread/DEBUG]: #16 (1): require(string[99] phar://C:/Users/Zander Maitland/Desktop/Pocketmine/PocketMine-MP.phar/src/pocket)
[12:33:29] [Server thread/INFO]: Disabling MyStats v1.5.1
And as before, it trys to start itself a second time throwing this error:
[12:33:29] [Server thread/INFO]: Enabling MyStats v1.5.1
[12:33:29] [Server thread/CRITICAL]: ReflectionException: "Class vixikhd\skywars\event\PlayerArenaWinEvent does not exist" (EXCEPTION) in "src/pocketmine/plugin/PluginManager" at line 733
[12:33:29] [Server thread/DEBUG]: #0 src/pocketmine/plugin/PluginManager(733): ReflectionParameter->getClass()
[12:33:29] [Server thread/DEBUG]: #1 plugins/MyStats_dev-117.phar/src/czechpmdevs/mystats/event/EventListener(54): pocketmine\plugin\PluginManager->registerEvents(object czechpmdevs\mystats\event\EventListener, object czechpmdevs\mystats\MyStats)
[12:33:29] [Server thread/DEBUG]: #2 plugins/MyStats_dev-117.phar/src/czechpmdevs/mystats/MyStats(116): czechpmdevs\mystats\event\EventListener->__construct(object czechpmdevs\mystats\MyStats)
[12:33:29] [Server thread/DEBUG]: #3 plugins/MyStats_dev-117.phar/src/czechpmdevs/mystats/MyStats(67): czechpmdevs\mystats\MyStats->registerListeners()
[12:33:29] [Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginBase(123): czechpmdevs\mystats\MyStats->onEnable()
[12:33:29] [Server thread/DEBUG]: #5 src/pocketmine/plugin/PluginManager(580): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
[12:33:29] [Server thread/DEBUG]: #6 src/pocketmine/Server(2002): pocketmine\plugin\PluginManager->enablePlugin(object czechpmdevs\mystats\MyStats)
[12:33:29] [Server thread/DEBUG]: #7 src/pocketmine/Server(1988): pocketmine\Server->enablePlugin(object czechpmdevs\mystats\MyStats)
[12:33:29] [Server thread/DEBUG]: #8 src/pocketmine/Server(1728): pocketmine\Server->enablePlugins(integer 0)
[12:33:29] [Server thread/DEBUG]: #9 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[44] C:\Users\Zander Maitland\Desktop\Pocketmine\, string[52] C:\Users\Zander Maitland\Desktop\Pocketmine\plugins\)
[12:33:29] [Server thread/DEBUG]: #10 src/pocketmine/PocketMine(299): pocketmine\server()
[12:33:29] [Server thread/DEBUG]: #11 (1): require(string[99] phar://C:/Users/Zander Maitland/Desktop/Pocketmine/PocketMine-MP.phar/src/pocket)
[12:33:29] [Server thread/INFO]: Disabling MyStats v1.5.1
Hopefully you can fix this. Thanks :D
Can you add on /stats command if they type /stats username it gives the stats of the other player? Thank in advance this plugin is great!
Error i get:
Enabling StatsPE v3.6.0
14.10 17:16:27 [Server] Server thread/INFO Selecting JSON data provider ...
14.10 17:16:27 [Server] Server thread/CRITICAL Error: "Call to undefined method pocketmine\Server::getScheduler()" (EXCEPTION) in "plugins/StatsPE-master/src/SalmonDE/StatsPE/Base" at line 57
14.10 17:16:27 [Server] Server thread/DEBUG #0 src/pocketmine/plugin/PluginBase(123): SalmonDE\StatsPE\Base->onEnable()
14.10 17:16:27 [Server] Server thread/DEBUG #1 src/pocketmine/plugin/PluginManager(580): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
14.10 17:16:27 [Server] Server thread/DEBUG #2 src/pocketmine/Server(2002): pocketmine\plugin\PluginManager->enablePlugin(object SalmonDE\StatsPE\Base)
14.10 17:16:27 [Server] Server thread/DEBUG #3 src/pocketmine/Server(1988): pocketmine\Server->enablePlugin(object SalmonDE\StatsPE\Base)
14.10 17:16:27 [Server] Server thread/DEBUG #4 src/pocketmine/Server(1782): pocketmine\Server->enablePlugins(integer 1)
14.10 17:16:27 [Server] Server thread/DEBUG #5 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[47] /, string[55] /plugins/)
14.10 17:16:27 [Server] Server thread/DEBUG #6 src/pocketmine/PocketMine(299): pocketmine\server()
14.10 17:16:27 [Server] Server thread/DEBUG #7 (1): require(string[107] phar:///PMMP-Latest-Stable.phar/sr)
14.10 17:16:27 [Server] Server thread/INFO Disabling StatsPE v3.6.0
Most worked great but %itemid and %itemname are not displayed. Do I need an additional plugin to make it work... %itemid only displays as itemid and %itemname displays itemname instead. I just noticed %money is showing 0 but when I type /mymoney it shows my true balance of 80789. Also coordinates xyz x=y's value and last but most likely least IP shows 0.0.0.0
These are the only problems I found do I need additional plugins... ? I have EconomyAPI plugin and its set to true in config.yml for the money problem...
https://github.com/CzechPMDevs/MyStats/tree/master/MyStats/src/mystats/economy
it says 0 for the new update of economyAPI
I get the following error on server startup when using the latest dev version of this plugin:
[18:49:53] [Server thread/INFO]: Enabling MyStats v1.5.1
[18:49:53] [Server thread/CRITICAL]: ReflectionException: "Class vixikhd\skywars\event\PlayerArenaWinEvent does not exist" (EXCEPTION) in "src/pocketmine/plugin/PluginManager" at line 740
[18:49:53] [Server thread/DEBUG]: #0 src/pocketmine/plugin/PluginManager(740): ReflectionParameter->getClass()
[18:49:53] [Server thread/DEBUG]: #1 plugins/MyStats_dev-116.phar/src/czechpmdevs/mystats/event/EventListener(56): pocketmine\plugin\PluginManager->registerEvents(czechpmdevs\mystats\event\EventListener object, czechpmdevs\mystats\MyStats object)
[18:49:53] [Server thread/DEBUG]: #2 plugins/MyStats_dev-116.phar/src/czechpmdevs/mystats/MyStats(116): czechpmdevs\mystats\event\EventListener->__construct(czechpmdevs\mystats\MyStats object)
[18:49:53] [Server thread/DEBUG]: #3 plugins/MyStats_dev-116.phar/src/czechpmdevs/mystats/MyStats(67): czechpmdevs\mystats\MyStats->registerListeners()
[18:49:53] [Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginBase(123): czechpmdevs\mystats\MyStats->onEnable()
[18:49:53] [Server thread/DEBUG]: #5 src/pocketmine/plugin/PluginManager(587): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
[18:49:53] [Server thread/DEBUG]: #6 src/pocketmine/Server(2002): pocketmine\plugin\PluginManager->enablePlugin(czechpmdevs\mystats\MyStats object)
[18:49:53] [Server thread/DEBUG]: #7 src/pocketmine/Server(1988): pocketmine\Server->enablePlugin(czechpmdevs\mystats\MyStats object)
[18:49:53] [Server thread/DEBUG]: #8 src/pocketmine/Server(1721): pocketmine\Server->enablePlugins(integer 0)
[18:49:53] [Server thread/DEBUG]: #9 src/pocketmine/PocketMine(250): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\Zander Maitland\Desktop\Pocketmine\, string C:\Users\Zander Maitland\Desktop\Pocketmine\plugins\)
[18:49:53] [Server thread/DEBUG]: #10 (1): require(string phar://C:/Users/Zander Maitland/Desktop/Pocketmine/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[18:49:53] [Server thread/INFO]: Disabling MyStats v1.5.1
And then it tries to start the plugin again for some reason and throws this error:
[18:49:53] [Server thread/INFO]: Enabling MyStats v1.5.1
[18:49:53] [Server thread/CRITICAL]: ReflectionException: "Class vixikhd\skywars\event\PlayerArenaWinEvent does not exist" (EXCEPTION) in "src/pocketmine/plugin/PluginManager" at line 740
[18:49:53] [Server thread/DEBUG]: #0 src/pocketmine/plugin/PluginManager(740): ReflectionParameter->getClass()
[18:49:53] [Server thread/DEBUG]: #1 plugins/MyStats_dev-116.phar/src/czechpmdevs/mystats/event/EventListener(56): pocketmine\plugin\PluginManager->registerEvents(czechpmdevs\mystats\event\EventListener object, czechpmdevs\mystats\MyStats object)
[18:49:53] [Server thread/DEBUG]: #2 plugins/MyStats_dev-116.phar/src/czechpmdevs/mystats/MyStats(116): czechpmdevs\mystats\event\EventListener->__construct(czechpmdevs\mystats\MyStats object)
[18:49:53] [Server thread/DEBUG]: #3 plugins/MyStats_dev-116.phar/src/czechpmdevs/mystats/MyStats(67): czechpmdevs\mystats\MyStats->registerListeners()
[18:49:53] [Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginBase(123): czechpmdevs\mystats\MyStats->onEnable()
[18:49:53] [Server thread/DEBUG]: #5 src/pocketmine/plugin/PluginManager(587): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
[18:49:53] [Server thread/DEBUG]: #6 src/pocketmine/Server(2002): pocketmine\plugin\PluginManager->enablePlugin(czechpmdevs\mystats\MyStats object)
[18:49:53] [Server thread/DEBUG]: #7 src/pocketmine/Server(1988): pocketmine\Server->enablePlugin(czechpmdevs\mystats\MyStats object)
[18:49:53] [Server thread/DEBUG]: #8 plugins/PocketMine-DevTools.phar/src/DevTools/DevTools(51): pocketmine\Server->enablePlugins(integer 0)
[18:49:53] [Server thread/DEBUG]: #9 src/pocketmine/plugin/PluginBase(123): DevTools\DevTools->onEnable()
[18:49:53] [Server thread/DEBUG]: #10 src/pocketmine/plugin/PluginManager(587): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
[18:49:53] [Server thread/DEBUG]: #11 src/pocketmine/Server(2002): pocketmine\plugin\PluginManager->enablePlugin(DevTools\DevTools object)
[18:49:53] [Server thread/DEBUG]: #12 src/pocketmine/Server(1988): pocketmine\Server->enablePlugin(DevTools\DevTools object)
[18:49:53] [Server thread/DEBUG]: #13 src/pocketmine/Server(1721): pocketmine\Server->enablePlugins(integer 0)
[18:49:53] [Server thread/DEBUG]: #14 src/pocketmine/PocketMine(250): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\Zander Maitland\Desktop\Pocketmine\, string C:\Users\Zander Maitland\Desktop\Pocketmine\plugins\)
[18:49:53] [Server thread/DEBUG]: #15 (1): require(string phar://C:/Users/Zander Maitland/Desktop/Pocketmine/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[18:49:53] [Server thread/INFO]: Disabling MyStats v1.5.1
Please add support for PiggyFactions by DaPigGuy.
můžete přidat prosím economyapi podporu?
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.