EvolSoft / CustomAlerts

Customize or hide alerts (join/leave messages, whitelist messages, outdated server/client messages, etc...) plugin for PocketMine-MP
MIT License
19 stars 41 forks source link

Player data not created #26

Closed kabluinc closed 6 years ago

kabluinc commented 7 years ago

since updating to latest PMMP master branch, a player config isnt created in /data. as a result everytime a player joins, it says they joined for the first time.

kabluinc commented 7 years ago

Any possibility of this being looked into?

kabluinc commented 7 years ago

This problem still exsists in the poggit orphanage updated version

Flavius12 commented 6 years ago

No player data file will be created. To check if a player joined for the first time the plugin uses the PocketMine API hasPlayedBefore() function. See: https://github.com/EvolSoft/CustomAlerts/blob/e8cec5a042e32496134f24ae458023250d53e235/CustomAlerts/src/CustomAlerts/EventListener.php#L120