NiekertDev / Discord-MCPE

Connect your PMMP server with Discord!
Other
28 stars 17 forks source link

main needs updating #29

Open brexmania123 opened 6 years ago

brexmania123 commented 6 years ago

so i tried your latest build and it wasnt working so i was looking at the code and in main it still said 1.0.0 so i updated that on my side (can pull from me since you own the plugin) but it does say this Error: Error reading ca cert file /etc/ssl/certs/ca-certificates.crt - mbedTLS: (-0x3E00) PK - Read/write of file failed and Discord message wasn't send! while it still does send the messages.

brexmania123 commented 6 years ago

and it says the players pureperm rank in discord chat when they leave the server

NiekertDev commented 6 years ago

@brexmania123 Do you have in php settings ssl disabled?

NiekertDev commented 6 years ago

@brexmania123 It doens't show pureperms rank when someone joins?

brexmania123 commented 6 years ago

i mean when someone leaves only image

plus where do you find php settings ssl? @NiekertDev

NiekertDev commented 6 years ago

May I see your leave message in config?

Have you compiled php from source or did you download it from PMMP?

NiekertDev commented 6 years ago

Try running sudo apt-get install ca-certificates and paste the output here

brexmania123 commented 6 years ago

i downloaded PMMP and the leave message is

quit_message: "{player} left Chaotic"

Message sent when player leaves. {player} can be used.

and i cant do sudo apt-get install ca-certificates since i am running from a host

NiekertDev commented 6 years ago

Which host are you using?

brexmania123 commented 6 years ago

I am running on envious host server

NiekertDev commented 6 years ago

Does it work when running it at home?

Aericio commented 6 years ago

Error is caused by the plugin requiring an HTTPS connection with Discord's API. Sadly, managed mcpe hosting services usually do not allow you to edit the bin folder for PocketMine-MP.

You should try contacting your host server to change the php.ini configuration. Other than that, this plugin cannot do anything to resolve your problem.