Muqsit / PlayerVaults

Per-player GUI-based vaults plugin for PocketMine-MP
https://poggit.pmmp.io/p/PlayerVaults
GNU Lesser General Public License v2.1
41 stars 33 forks source link

Using .phar gives out error during fetching contents from resources/config.yml #16

Closed BrianZP closed 7 years ago

BrianZP commented 7 years ago

I recently updated to PocketMine-MP v1.1.0.55. And ever since then im getting this error on console.

2017-06-03 [17:56:51] [Server thread/NOTICE]: [PlayerVaults] Loaded PlayerVaults by Muqsit (Twitter: @muqsitrayyan)  / _ \ | _ /\ /_ | | |_  / /)/ |/ " | | | |/ \ "\ \ / / _" | | | | | / | / /| | (| | |_| | / | \ V / (| | || | | |_ \  \/ ||_,_|\, |_|| _/ _,|_,||__|/ |/   GitHub: http://github.com/Muqsit/PlayerVaults 2017-06-03 [17:56:51] [Server thread/CRITICAL]: ErrorException: "yaml_parse_file(phar:///home/gs/gs/data/servers/5786641/plugins/PlayerVaults.phar/resources/config.yml): failed to open stream: No such file or directory" (EXCEPTION) in "/PlayerVaults.phar/src/PlayerVaults/PlayerVaults" at line 83 2017-06-03 [17:56:51] [Server thread/INFO]: Disabling PlayerVaults v1

Muqsit commented 7 years ago

Okay, this one was somewhat hard to fix. You can download the new .phar file here and it should work this time.

BrianZP commented 7 years ago

Okay so now whenever someone types /pv 1 the server crashes.

https://gist.github.com/brianzp/da43ca78d5b7e5acf8ccce824d468912

Muqsit commented 7 years ago

That is due to @dktapps's strict types commit. You can open a new issue on this very repo. I'll get it fixed in a few.

BrianZP commented 7 years ago

Okay I will make a new issue.