NiekertDev / Discord-MCPE

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

Support for PurePerm Ranks + Small Performance Improvement #34

Closed Aericio closed 6 years ago

Aericio commented 6 years ago

Adds support for PurePerm ranks. (commits are done) It was ALPHA7 which :bool was required for onCommand(), so you shouldn't allow APIs below that. I've removed APIs below ALPHA10 just to be safe, but you can add them back if you want.

Also changed double quotations to single apostrophe. It will just print whatever is inside ' ', instead of PHP checking for any variables inside with " ".

PurePerms Enabled:

image image

PurePerms Missing, but Enabled:

image

I've found an issue while testing:

If you use the ! prefix with chat: true, it will send both the messages, one with ! and one without !. Occurs in version 1.0.1, so before my modifications. I won't fix this.