In the future, if users are converting phars into zips via pmt.mcpe.me, developers can require the users to agree with their terms before downloading the extraction.
The terms are composed of two parts, namely "lock" and "key". When a user clicked the Convert
button of the webpage submitting a phar that requires agreeing with terms, he will get a prompt that shows the content of the "lock". To continue and download the zip, he has to enter the "key" into the prompt.
There are currently three simple ways to add lock-and-key into your phar:
If your plugin is compiled with pmt.mcpe.me, you can add this into your plugin.yml: