Code Monkey home page Code Monkey logo

statspe's People

Contributors

aericio avatar aquaminer avatar daniktheboss avatar erkam246 avatar nicugnm avatar robske110 avatar salmonde avatar sleepspace9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

statspe's Issues

Error: "Call to undefined method"

[00:08:00] [Server thread/CRITICAL]: Unhandled exception executing command 'stats' in stats: Call to undefined method pocketmine\command\ConsoleCommandSender::getFirstPlayed()
[00:08:00] [Server thread/CRITICAL]: Error: "Call to undefined method pocketmine\command\ConsoleCommandSender::getFirstPlayed()" (EXCEPTION) in "/StatsPE_v0.0.8.phar/src/StatsPE/StatsPE" at line 46

Console using /stats.

FloatingStats

_General_

Server Software:

  • Pocketmine-MP
  • Genisys // FUCKING USE x NOT * ASSHOLE~ a nycuro hater
  • ClearSky
  • ImagicalMine
  • Other: (Software)

Version of StatsPE:

Do /version StatsPE to check

latest man

Data Provider:

  • MySQL
  • JSON

Steps to Reproduce the Issue

  1. Enter on server
  2. create floatingstats
  3. watch

*Extra Information

Default lang (eng) is set in floatingstats , not lang is set in config.yml if i'm creating /floatingstats add {player}

And sometimes it get bug and killings and more and they look .. @salmonger
For fix need add to floatingstats : Name '{player}' because if you used /floatingstats add {player} is not added name: '{player}'

must be type of enteger

General

when trying to add floating stats. returns "An unknown error occured while performing this command"

Server Software:

PocketMine-MP 1.6.2dev+poggit.1584
link :- https://poggit.pmmp.io/r/11019/PocketMine-MP.phar

Version of StatsPE:

3.6.0

Data Provider:

  • MySQL
  • JSON

Steps to Reproduce the Issue

  1. /statspe floatingtext add name
  2. an known error occured whole performing command.....

Extra Information

Console error:-

[19:43:57] [Server thread/CRITICAL]: Unhandled exception executing command 'statspe floatingtext add opt' in statspe: Argument 1 passed to SalmonDE\StatsPE\Utils::getKD() must be of the type integer, null given, called in D:\Server\pai3alpha7\plugins\StatsPE-master\src\SalmonDE\StatsPE\FloatingTexts\FloatingText.php on line 55
[19:43:57] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to SalmonDE\StatsPE\Utils::getKD() must be of the type integer, null given, called in D:\Server\pai3alpha7\plugins\StatsPE-master\src\SalmonDE\StatsPE\FloatingTexts\FloatingText.php on line 55" (EXCEPTION) in "StatsPE-master/src/SalmonDE/StatsPE/Utils" at line 26
[09:08:29] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerJoinEvent' to 'StatsPE v3.6.0': Undefined index: JoinCount on SalmonDE\StatsPE\EventListener
[09:08:29] [Server thread/CRITICAL]: ErrorException: "Undefined index: JoinCount" (EXCEPTION) in "StatsPE-master/src/SalmonDE/StatsPE/EventListener" at line 24

Saving First and Last Join fields

General

Can you add an option to save the first and last join fields to a MySQL database? They are quite useful to calculate the time when the player was last seen to display on a stats website.

Server Software:

  • PocketMine-MP (PMMP)
  • CSPMMP
  • Genisys
  • Tesseract
  • Other: (Software)

Version of StatsPE:

Latest commit, f81dd19

Data Provider:

  • MySQL
  • JSON

Steps to Reproduce the Issue

Extra Information

Undefined constant in $info array

Perhaps getStats() contains the issue

Notice: Use of undefined constant PlayerName - assumed 'PlayerName' in phar://C:/Users/garre_000/Desktop/Network/plugins/StatsPE_v0.0.9.phar/src/StatsPE/StatsPE.php on line 86

Notice: Use of undefined constant ClientID - assumed 'ClientID' in phar://C:/Users/garre_000/Desktop/Network/plugins/StatsPE_v0.0.9.phar/src/StatsPE/StatsPE.php on line 88

Notice: Use of undefined constant LastIP - assumed 'LastIP' in phar://C:/Users/garre_000/Desktop/Network/plugins/StatsPE_v0.0.9.phar/src/StatsPE/StatsPE.php on line 89

Notice: Use of undefined constant FirstJoin - assumed 'FirstJoin' in phar://C:/Users/garre_000/Desktop/Network/plugins/StatsPE_v0.0.9.phar/src/StatsPE/StatsPE.php on line 91

Notice: Use of undefined constant LastJoin - assumed 'LastJoin' in phar://C:/Users/garre_000/Desktop/Network/plugins/StatsPE_v0.0.9.phar/src/StatsPE/StatsPE.php on line 92

Notice: Use of undefined constant JoinCount - assumed 'JoinCount' in phar://C:/Users/garre_000/Desktop/Network/plugins/StatsPE_v0.0.9.phar/src/StatsPE/StatsPE.php on line 93

Notice: Use of undefined constant KillCount - assumed 'KillCount' in phar://C:/Users/garre_000/Desktop/Network/plugins/StatsPE_v0.0.9.phar/src/StatsPE/StatsPE.php on line 94

Notice: Use of undefined constant DeathCount - assumed 'DeathCount' in phar://C:/Users/garre_000/Desktop/Network/plugins/StatsPE_v0.0.9.phar/src/StatsPE/StatsPE.php on line 95

Notice: Use of undefined constant KickCount - assumed 'KickCount' in phar://C:/Users/garre_000/Desktop/Network/plugins/StatsPE_v0.0.9.phar/src/StatsPE/StatsPE.php on line 96

Notice: Use of undefined constant OnlineTime - assumed 'OnlineTime' in phar://C:/Users/garre_000/Desktop/Network/plugins/StatsPE_v0.0.9.phar/src/StatsPE/StatsPE.php on line 97

Notice: Use of undefined constant BlocksBreaked - assumed 'BlocksBreaked' in phar://C:/Users/garre_000/Desktop/Network/plugins/StatsPE_v0.0.9.phar/src/StatsPE/StatsPE.php on line 98

Notice: Use of undefined constant BlocksPlaced - assumed 'BlocksPlaced' in phar://C:/Users/garre_000/Desktop/Network/plugins/StatsPE_v0.0.9.phar/src/StatsPE/StatsPE.php on line 99

Notice: Use of undefined constant ChatMessages - assumed 'ChatMessages' in phar://C:/Users/garre_000/Desktop/Network/plugins/StatsPE_v0.0.9.phar/src/StatsPE/StatsPE.php on line 100

Notice: Use of undefined constant FishCount - assumed 'FishCount' in phar://C:/Users/garre_000/Desktop/Network/plugins/StatsPE_v0.0.9.phar/src/StatsPE/StatsPE.php on line 101

Notice: Use of undefined constant EnterBedCount - assumed 'EnterBedCount' in phar://C:/Users/garre_000/Desktop/Network/plugins/StatsPE_v0.0.9.phar/src/StatsPE/StatsPE.php on line 102

Notice: Use of undefined constant EatCount - assumed 'EatCount' in phar://C:/Users/garre_000/Desktop/Network/plugins/StatsPE_v0.0.9.phar/src/StatsPE/StatsPE.php on line 103

Notice: Use of undefined constant OnlineTime - assumed 'OnlineTime' in phar://C:/Users/garre_000/Desktop/Network/plugins/StatsPE_v0.0.9.phar/src/StatsPE/StatsPE.php on line 104

`

error

[StatsPE] Unexpected datatype "integer" given for entry "LastJoin" in "SalmonDE\StatsPE\Providers\JSONProvider" by "saveData"!

@SalmonDE

statspe still crash

Notice: Undefined property: StatsPE\StatsPE::$server in C:\Users\Wesleyvanneck\Desktop\Apollo-master\plugins\StatsPE-master\src\StatsPE\StatsPE.php on line 125
[07:53:11] [Server thread/CRITICAL]: Error: "Call to a member function getScheduler() on null" (EXCEPTION) in "/plugins/StatsPE-master/src/StatsPE/StatsPE" at line 125

cannot create a floating text

General

CRITICAL> Unhandled exception executing command 'statspe floatingtext add henk' in statspe: Argument 1 passed to SalmonDE\StatsPE\Utils::getKD() must be of the type integer, null given, called in phar:///Users/Ronny/Desktop/GameCraft PE 1.0.3!/Hub/plugins/StatsPE.phar/src/SalmonDE/StatsPE/FloatingTexts/FloatingText.php on line 55
[Tesseract] [14:07:05] CRITICAL> TypeError: "Argument 1 passed to SalmonDE\StatsPE\Utils::getKD() must be of the type integer, null given, called in phar:///Users/Ronny/Desktop/GameCraft PE 1.0.3!/Hub/plugins/StatsPE.phar/src/SalmonDE/StatsPE/FloatingTexts/FloatingText.php on line 55" (EXCEPTION) in "/plugins/StatsPE.phar/src/SalmonDE/StatsPE/Utils" at line 26

Server Software:

Tesseract

Version of StatsPE:

latest build

Data Provider:

  • MySQL
  • JSON

Steps to Reproduce the Issue

1.create a floating text

Extra Information

CRITICAL> Unhandled exception executing command 'statspe floatingtext add henk' in statspe: Argument 1 passed to SalmonDE\StatsPE\Utils::getKD() must be of the type integer, null given, called in phar:///Users/Ronny/Desktop/GameCraft PE 1.0.3!/Hub/plugins/StatsPE.phar/src/SalmonDE/StatsPE/FloatingTexts/FloatingText.php on line 55
[Tesseract] [14:07:05] CRITICAL> TypeError: "Argument 1 passed to SalmonDE\StatsPE\Utils::getKD() must be of the type integer, null given, called in phar:///Users/Ronny/Desktop/GameCraft PE 1.0.3!/Hub/plugins/StatsPE.phar/src/SalmonDE/StatsPE/FloatingTexts/FloatingText.php on line 55" (EXCEPTION) in "/plugins/StatsPE.phar/src/SalmonDE/StatsPE/Utils" at line 26

Error

General

Username Error

Server Software:

Tesseract

Version of StatsPE:

3.5.2

Data Provider:

  • MySQL
  • JSON

Steps to Reproduce the Issue

  1. just do /stats ingame

Extra Information

28.06 00:54:00 [Server] INFO /04:54:00 [CRITICAL] ErrorException: "Undefined index: Username" (EXCEPTION) in "/StatsPE-master/src/SalmonDE/StatsPE/Commands/StatsCmd" at line 27 28.06 00:54:00 [Server] INFO /04:54:00 [CRITICAL] Unhandled exception executing command 'stats BajanAmerican' in stats: Undefined index: Username

error

General

when i do /stats (player) i get this error and the stats don't show up

Server Software:

GenisysPro

Version of StatsPE:

3.4.4

Data Provider:

  • MySQL
  • [. ] JSON <--

Steps to Reproduce the Issue

  1. no idea

Extra Information

Server thread/ERROR]: [StatsPE] Unexpected datatype returned "NULL" for entry "ChatCount" in "SalmonDE\StatsPE\Providers\JSONProvider" by "getData"!


and this one occurred for no reason:

Notice: Undefined index: JoinCount in phar:///plugins/StatsPE (1).phar/src/SalmonDE/StatsPE/EventListener.php on line 14

error enter player

General

Server Software I use: Apollo akka Genisys

Version of StatsPE I use: latest

Data Provider I use: [] MySQL, [] JSON
JSON

Steps to reproduce the issue

Enter one player in server ( new player config to StatsPE ) and get error:

Warning: file_get_contents(/root/temp/plugins/StatsPE/Stats/ianismegapvp.json): failed to open stream: No such file or directory in /root/temp/plugins/StatsPE-master CODE/src/SalmonDE/StatsPE.php on line 340

Extra information

Logs names that are invalid.

_General_

Logs names that are considered "Invalid Names" in MySQL DB

Server Software:

  • Pocketmine-MP
  • Ungeniunisys
  • ClearSky
  • ImagicalMine
  • Other: (Software)

Version of StatsPE:

Do /version StatsPE to check

I hate auto-updater.

Data Provider:

  • MySQL
  • JSON

Steps to Reproduce the Issue

  1. Login with special characters in your name, spaces, etc. Console should say Invalid Name or whatever.

Extra Information

Why does it save that? ITS USELESS INFORMATION.

Floatingtext add Command

General

When i use the command /statspe floatingtext add (myname) it dosent do anything it just says the error command message... But when i use other commands from statspe plugin it works

Server Software:

Clearsky 1.0.7

Version of StatsPE:

3.4.4

Data Provider:

  • MySQL
  • JSON

MySQL Optimization

To prevent blocking the main thread, I'd like to send queries with an async task.

Edit:
@SleepSpace9's suggestion to add a "cache" for changes and a configuration to set the limit of changes in memory is going to be implemented, too.

How to use the MySQL?

General

How can I use the MySQL in StatsPE? I know that you can set it in the Config. but what do I have to fill in correctly? I am useing Debian 8

Server Software:

Tesseract / Debian 8

Version of StatsPE:

Newest Version

Update? API?

This plugin have Api?

Can you update for pmmp alpha9?

Thx salami :3 @SalmonDE

btw, how are you?

OnlineTime

_General_

Server Software:

  • Pocketmine-MP
  • Genisys
  • ClearSky
  • ImagicalMine
  • Other: (Software)

Version of StatsPE:

Do /version StatsPE to check

Latest man .

Data Provider:

  • MySQL
  • JSON

Steps to Reproduce the Issue

  1. Enter on server
  2. Watch floatingstats

Extra Information

All have OnlineTime 21h 23 min and 9 seconds. Why? Please create task for floatingstats for fix this problem.

The flying text is automatically deleted.

General

Server Software:

  • Pocketmine-MP
  • Tesseract
  • ClearSky
  • ImagicalMine
  • Other: (Software)

Version of StatsPE:

Data Provider:

  • MySQL
  • JSON

Steps to Reproduce the Issue

  1. The flying text is automatically deleted.

Extra Information

Online data field?

General

Before the rewrite there was an 'Online' field which displayed whether the player was online or not. As far as I know, it was removed in the rewrite? Can this be reimplemented?

Server Software:

  • PocketMine-MP (PMMP)
  • CSPMMP
  • Genisys
  • Tesseract
  • Other: (Software)
    Custom, fork of Tesseract

Version of StatsPE:

Latest as of aaf1479

Data Provider:

  • MySQL
  • JSON

MySQL

Hello ist's me xD Also ich habe gesehen du hast ziemlich viel an der MySQL geschraubt die Dateien werden auch erstellt auf dem MySQL aber wenn ich ingame /stats mache passiert leider nichts

API?

This plugin have API?

How can i get Kills, Deaths, etc?

Floating stats show up in all worlds, but only set in one.

General

Server Software:

  • PocketMine-MP (PMMP)
  • CSPMMP
  • Genisys
  • Tesseract
  • Other: (Software)

Version of StatsPE:

2.4.7

Data Provider:

  • MySQL (I can't even figure this out on my website...)
  • JSON

Steps to Reproduce the Issue

Use Tesseract. setup a floating stat

Extra Information

Error in MySQLProvider

General

There's a mistake in the MySQLProvider which blocked the correct work of the ALTER TABLE.
The mistake is at the end of line 76, you use the $entry which is the variable from the previous foreach (so it's only add the last entry added). The current is $column.
But, even with this correction, I still got an error :
Syntax error in query to database: "ALTER TABLE StatsPE ADD Something VARCHAR(255) NOT NULL DEFAULT ?"
So I kept searching, and it seems that the alter table doesn't like the '?' for prepare. As the default value is the only thing that you "prepare", I recommend using this (line 76) :

$this->queryDb('ALTER TABLE StatsPE ADD `' . $this->db->real_escape_string($column->getName()) . '` ' . Utils::getMySQLDatatype($column->getExpectedType()) . ' NOT NULL DEFAULT \'' . $this->db->real_escape_string(Utils::convertValueSave($column, $column->getDefault()))."'", []);

I added some back quotes around the field's name to permit more flexibility in the naming (but it's not handle elsewhere, so not really useful, but it could be a good idea to handle this ^^)

Server Software:

PMMP

Version of StatsPE:

3.6.0

Data Provider:

MySQL

Steps to Reproduce the Issue

Modify the code to add at least 2 entries/columns for the first part, at least 1 for the second

Extra Information

Sorry if I don't make a pull request but I change many things, including the code formatting...

Thanks for your work

Error + Question

[16:06:09] [Server thread/CRITICAL]: ArgumentCountError: "Too few arguments to function pocketmine\event\player\PlayerQuitEvent::__construct(), 2 passed in /home/opfactions/plugins/StatsPE-master/src/SalmonDE/StatsPE/Base.php on line 72 and exactly 3 expected" (EXCEPTION) in "src/pocketmine/event/player/PlayerQuitEvent" at line 45

And where the fuck can i change messages?

OnlineTime

General

https://github.com/SalmonGER/StatsPE/blob/master/src/SalmonDE/StatsPE.php#L53-L76
There isn't an onlinetime one.
https://github.com/SalmonGER/StatsPE/blob/master/src/SalmonDE/StatsPE.php#L200-L204
Online time is added.
https://github.com/SalmonGER/StatsPE/blob/master/src/SalmonDE/StatsPE.php#L520-L555
There also isn't onlinetime in json.

Server Software:

  • Pocketmine-MP
  • Genisys
  • ClearSky
  • ImagicalMine
  • Other: (Software)

Version of StatsPE:

latest

Data Provider:

  • MySQL
  • JSON

Steps to Reproduce the Issue

  1. mysql server
  2. json

Extra Information

Ganzer server Crasht

Genisys Crash Dump Wed Aug 24 21:39:34 UTC 2016

Error: Argument 1 passed to pocketmine\Server::getPlayerExact() must be of the type string, null given, called in /home/minecraft/multicraft/servers/server1566/plugins/StatsPE-master/src/StatsPE/Tasks/ShowStatsTask.php on line 41
File: /src/pocketmine/Server
Line: 1084
Type: notice

Code:
[1075]
[1076] return $found;
[1077] }
[1078]
[1079] /**
[1080] * @param string $name
[1081] *
[1082] * @return Player
[1083] */
[1084] public function getPlayerExact(string $name){
[1085] $name = strtolower($name);
[1086] foreach($this->getOnlinePlayers() as $player){
[1087] if(strtolower($player->getName()) === $name){
[1088] return $player;
[1089] }
[1090] }
[1091]
[1092] return null;
[1093] }
[1094]

Backtrace:
#0 /src/pocketmine/scheduler/AsyncPool(151): StatsPE\Tasks\ShowStatsTask->onCompletion(pocketmine\Server object)
#1 /src/pocketmine/scheduler/ServerScheduler(268): pocketmine\scheduler\AsyncPool->collectTasks(boolean)
#2 /src/pocketmine/Server(2970): pocketmine\scheduler\ServerScheduler->mainThreadHeartbeat(integer 1063)
#3 /src/pocketmine/Server(2668): pocketmine\Server->tick(boolean)
#4 /src/pocketmine/Server(2546): pocketmine\Server->tickProcessor(boolean)
#5 /src/pocketmine/Server(2111): pocketmine\Server->start(boolean)
#6 /src/pocketmine/PocketMine(467): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/minecraft/multicraft/jar/genisys_PHP7.phar/, string /home/minecraft/multicraft/servers/server1566/, string /home/minecraft/multicraft/servers/server1566/plugins/, string unknown)
#7 (1): require_once(string phar:///home/minecraft/multicraft/jar/genisys_PHP7.phar/src/pocketmine/PocketMine.php)

Genisys version: 0000000000000000000000000000000000000000 [Protocol 82; API 2.0.0]
uname -a: Linux mc12 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64
PHP version: 7.0.3
Zend version: 3.0.0
OS : Linux, linux

Server uptime: 54 seconds
Number of loaded worlds: 1
Players online: 1/50

Loaded plugins:
AdvancedMOTD 1.0.1 by Philip Shilling for API(s) 1.12.0
Broadcaster 1.16 by EvolSoft for API(s) 1.12.0
ChatCensor 1.4 by EvolSoft for API(s) 1.9.0
ClearLagg 1.1.0 by LegendOfMCPE for API(s) 1.0.0
DevTools 1.10.0 by PocketMine Team for API(s) 1.3.1
EmptyWorld 1.0.0 by aliuly for API(s) 1.12.0
Friends 1 by Bluplayz for API(s) 1.14.0
ManyWorlds 2.0.3 by aliuly for API(s) 2.0.0
MSpawns 1.5 by EvolSoft for API(s) 1.11.0
RandomNick 1 by UltimateDevs for API(s) 2.0.0
RestartMe 1.2.0 by Gamecrafter for API(s) 1.10.0
ServerAuth 2.13 by EvolSoft for API(s) 1.11.0
Slapper 1.2.9.7 by jojoe77777 for API(s) 2.0.0
TapToDo 2.2.1 by Falk for API(s) 1.0.0
VersionModifier 1.0.0 by applqpak, keithkfng for API(s) 1.0.0, 2.0.0
WorldProtect 2.2.0 by aliuly for API(s) 1.10.0, 1.12.0
BasicHUD 1.0.6 by aliuly for API(s) 1.12.0
AMHD 1.0.0 by AppleMinerHD for API(s) 1.10.0
ZMusicBox 1 by ondraczsk for API(s) 1.0.0
SynapseTransfer 1.0.0 by iTX Technologies for API(s) 2.0.0
Server 1.0.0 by AppleMinerHD for API(s) 1.10.0
PurePerms 1.3.7 by 64FF00 & ProjectInfinity for API(s) 1.13.0, 2.0.0
StatsPE 2.0.0 by SalmonDE, SalmonDE, Aericio for API(s) 2.0.0
PureChat 1.4.0 by 64FF00 for API(s) 1.13.0, 2.0.0

Advanced Info & Question

English (Really Bad English):
Why i can't see the advanced Stats of a Player i added the advanced stats Perm to my Rank but it doesen't work. Can you help me?

Question:
Is MySQL supported knwo cause i saw this in the config..?

German:
Ich habe mir die Advanced Stats Permission gegeben aber sehe Trotzdem nicht mehr als mit der Permission. Wissen sie woran das liegen könnte?
Frage: Ist MySQL schon in dieses Plugin mit eingebunden oder steht es einfach nur in der Config weil es kommen wird?

Tutorial Request

No errors yet, just want to know how to make a stats page with MySQL on this.

Database

image
Diese meldung kommt wenn ich /stats mache in der MySQL kommen zwar alle Infos aber auf dem Server nur diese Fehlermeldung...

Error that stops Server!

General

When I begin my server it all goes well until it loads StatsPE then it crashes instantly!

Server Software:

Currently, I am using Tesseract

Version of StatsPE:

My StatsPE vesison is 3.2.6

Data Provider:

Currently I am saving my Data with JSON

Steps to Reproduce the Issue

  1. Install Tesseract
  2. Inside tesseract.yml make sue folder plugin loading is set to true
  3. Insert the Plugin into the /plugins folder (not a phar)
  4. Bump the API to 3.0.1
  5. Run the Server
  6. Watch the errors come
  7. The server will crash!

Extra Information

CRITICAL> Error: "Call to undefined method SalmonDE\StatsPE\Base::runUpdateManager()" (EXCEPTION) in "/StatsPE-master/src/SalmonDE/StatsPE/Base" at line 27

This is the Tesseract phar that I am using!

https://47-73522113-gh.circle-artifacts.com/0/tmp/circle-artifacts.MgukxFu/Tesseract_1.2.0.phar

command error on /stats

General

error when /stats command is performend

Server Software:

PocketMine-MP 1.6.2dev+poggit.1469

Version of StatsPE:

3.5.2

Data Provider:

  • MySQL
  • [yes ] JSON

Steps to Reproduce the Issue

  1. type /stats
  2. error while performing command

Extra Information

[04:02:09] [Server thread/CRITICAL]: Unhandled exception executing command 'stats' in stats: Undefined index: XBoxAuthenticated
[04:02:09] [Server thread/CRITICAL]: ErrorException: "Undefined index: XBoxAuthenticated" (EXCEPTION) in "231-StatsPE-35483/src/SalmonDE/StatsPE/Commands/StatsCmd" at line 59
[04:02:09] [Server thread/DEBUG]: #0 231-StatsPE-35483/src/SalmonDE/StatsPE/Commands/StatsCmd(59): pocketmine\{closure}(integer 8, string Undefined index: XBoxAuthenticated, string D:\Server\PocketMine-MP\plugins\231-StatsPE-35483\src\SalmonDE\StatsPE\Commands\StatsCmd.php, integer 59, array Array())
[04:02:09] [Server thread/DEBUG]: #1 src/pocketmine/command/PluginCommand(58): SalmonDE\StatsPE\Commands\StatsCmd->onCommand(pocketmine\Player object, SalmonDE\StatsPE\Commands\StatsCmd object, string stats, array Array())
[04:02:09] [Server thread/DEBUG]: #2 src/pocketmine/command/SimpleCommandMap(237): pocketmine\command\PluginCommand->execute(pocketmine\Player object, string stats, array Array())
[04:02:09] [Server thread/DEBUG]: #3 src/pocketmine/Server(1935): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string stats)
[04:02:09] [Server thread/DEBUG]: #4 src/pocketmine/Player(3161): pocketmine\Server->dispatchCommand(pocketmine\Player object, string stats)
[04:02:09] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(222): pocketmine\Player->handleCommandStep(pocketmine\network\mcpe\protocol\CommandStepPacket object)
[04:02:09] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/CommandStepPacket(69): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandStep(pocketmine\network\mcpe\protocol\CommandStepPacket object)
[04:02:09] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(94): pocketmine\network\mcpe\protocol\CommandStepPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
[04:02:09] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(109): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandStepPacket object)
[04:02:09] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(94): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
[04:02:09] [Server thread/DEBUG]: #10 src/pocketmine/Player(3197): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
[04:02:09] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(139): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
[04:02:09] [Server thread/DEBUG]: #12 src/raklib/server/ServerHandler(97): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 192.168.137.1:65258, raklib\protocol\EncapsulatedPacket object, integer 0)
[04:02:09] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(82): raklib\server\ServerHandler->handlePacket()
[04:02:09] [Server thread/DEBUG]: #14 src/pocketmine/network/Network(86): pocketmine\network\mcpe\RakLibInterface->process()
[04:02:09] [Server thread/DEBUG]: #15 src/pocketmine/Server(2447): pocketmine\network\Network->processInterfaces()
[04:02:09] [Server thread/DEBUG]: #16 src/pocketmine/Server(2221): pocketmine\Server->tick()
[04:02:09] [Server thread/DEBUG]: #17 src/pocketmine/Server(2100): pocketmine\Server->tickProcessor()
[04:02:09] [Server thread/DEBUG]: #18 src/pocketmine/Server(1682): pocketmine\Server->start()
[04:02:09] [Server thread/DEBUG]: #19 src/pocketmine/PocketMine(511): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar://D:/Server/PocketMine-MP/PocketMine-MP.phar/, string D:\Server\PocketMine-MP\, string D:\Server\PocketMine-MP\plugins\)
[04:02:09] [Server thread/DEBUG]: #20 D:/Server/PocketMine-MP/PocketMine-MP.phar(1): require_once(string phar://D:/Server/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

MySQL

Version 2.4.11
Server Software: Genisys
Data provider Mysql
Issue:
Mysql data provider is not working properly whenever I try to /stats playerName it says to check my spelling

ToDo

HIGH PRIORITY

  • /fixtable
  • Add an API (Status: Assignee: @robske110, Progress: Concept making...)
  • Async Update Check
  • Configurable messages

General:

  • JSON Support
  • MySQL Support
  • Make some statistics not show on /stats (according to config.yml)
  • Create an updater
  • FloatingStats
  • Fix FloatingStats being in every level (Status: Asignee: @robske110, Progress: WIP (25%))

What the plugin should save:

  • Playername
  • Online
  • ClientID
  • Client Secret
  • XBoxAuthenticated
  • LastIP
  • FirstJoin
  • LastJoin
  • Joincount
  • Killcount
  • Deathcount
  • K/D
  • Kickcount
  • Onlinetime
  • BlocksBreaked
  • BlocksPlaced
  • ChatMessages
  • Fishcatchcount
  • Bedcount (When player enters a bed)
  • Eatcount
  • Craftcount
  • Items dropped

Additional:

  • "/stats [Player]" command
  • /statstop (/top is a command already used by EssentialsPE)

TODO, Features?

image

image

  • 1) Can you add modals?
  • 2) Can you add API for change default language of server? (And option)
  • 3) Profile?
  • 4) FloatingStats uses one function with name "CENTER" ,like that?

image

This is superBar by poggit-ortography.

(Uses CENTER function, if you don't watch. (Don't start any line from start, and it's arranged according to how long the writing is).

If you don't like to add to StatsPE, just use ProfilePE (Create new Plugin) 👍

[REWRITE] Undefined Property

General

Notice: Undefined property: SalmonDE\StatsPE\Providers\JSONProvider::$dataProvider in phar:///home/gmplus/Factions/plugins/StatsPE_REWRITE.phar/src/SalmonDE/StatsPE/Providers/JSONProvider.php on line 21
[23:32:52] <CRITICAL> "Could not pass event 'pocketmine\event\player\PlayerJoinEvent' to 'StatsPE v3.2.1': Call to a member function getEntries() on null on SalmonDE\StatsPE\EventListener
[23:32:52] <CRITICAL> Error: "Call to a member function getEntries() on null" (EXCEPTION) in "/StatsPE_REWRITE.phar/src/SalmonDE/StatsPE/Providers/JSONProvider" at line 21

Server Software:

  • PocketMine-MP (PMMP)
  • CSPMMP
  • Genisys
  • Tesseract
  • Other: (Software)

Version of StatsPE:

REWRITE branch.

Data Provider:

  • MySQL
  • JSON

Steps to Reproduce the Issue

  1. Join the server

Extra Information

Floatingstats

Bei mir ist da nur ein T in der Luft is das normal? xD

MD5 hash was incorrect

_General_

Server Software:

  • Pocketmine-MP
  • Genisys
  • ClearSky
  • ImagicalMine
  • Other: (Software)

Version of StatsPE:

  • 2.3.7

Data Provider:

  • MySQL
  • JSON

Steps to Reproduce the Issue

  1. Start the server
  2. Wait or the statsPE to update himself
  3. MD5 hash was incorrect

Extra Information

Possibly broken online time

General

Onlinetime could be broken, I didn't test it for sure yet

Server Software:

PMMP master branch

Version of StatsPE:

3.5.2

Data Provider:

MySQL

Steps to Reproduce the Issue

Cannot provide steps yet

Extra Information

It seems like online time stays at around 4 minutes. But it could be the old online time which couldn't be increased after an update.

uhm....

Getting all this info, wouldn't it cause a lot of lag ??

Ability to edit entry names which are shown

General

Server Software:

PMMP

Version of StatsPE:

StatsPE version 3.5.2

Data Provider:

  • MySQL
  • JSON

Steps to Reproduce the Issue

  1. I tried changing "KillCount" and DeathCount to Kills and Deaths because they sound better and everyone use it instead of KillCount and DeathCount but im getting this error:

[08:26:29] [Server thread/CRITICAL]: ErrorException: "Undefined index: Kills" (EXCEPTION) in "plugins/StatsPE_v3.5.2/src/SalmonDE/StatsPE/FloatingTexts/FloatingText" at line 55

SUGGESTION: Maybe add in messages.yml an option where we can edit texts? Like KillCount to Kills

Extra Information

ERROR:

[08:26:29] [Server thread/CRITICAL]: ErrorException: "Undefined index: Kills" (EXCEPTION) in "plugins/StatsPE_v3.5.2/src/SalmonDE/StatsPE/FloatingTexts/FloatingText" at line 55

3.4.5 update

General

i just downloaded the last src from master and this error showed up on server start

Server Software:

GenisysPro

Version of StatsPE:

3.4.5

Data Provider:

  • MySQL
  • [ ] JSON <----

Steps to Reproduce the Issue

  1. download the last src and start the server

Extra Information

Server thread/INFO]: Enabling StatsPE v3.4.5 17.05 18:51:30 [Server] INFO [Server thread/INFO]: [StatsPE] Selecting JSON data provider ... 17.05 18:51:30 [Server] INFO [Server thread/CRITICAL]: ClassNotFoundException: "Class SalmonDE\Updater\UpdateManager not found" (EXCEPTION) in "/src/spl/BaseClassLoader" at line 144 17.05 18:51:30 [Server] INFO [Server thread/INFO]: Disabling StatsPE v3.4.5

THIS ISNT AN ISSUE !

Hello, Amazing Plugin !!

I'm looking for compatibility with Tesseract.

Thank You.

PLS UPDATE

General

PLS UPDATE

Server Software:

To the newest Pocketmine-MP 3.15.1

Version of StatsPE:

Latest

Data Provider:

  • [ x] MySQL
  • [x ] JSON

Steps to Reproduce the Issue

No steps

Extra Information

Thx man

Typo in every language file

_General_

CreateTableSucces should be CreateTableSuccess (A "s" is missing)

Server Software:

  • Pocketmine-MP
  • Genisys
  • ClearSky
  • ImagicalMine
  • Other: (Software)
  • not related

Version of StatsPE:

2.4.4

Data Provider:

  • MySQL
  • JSON

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.