- For PocketMine-MP:
- Alpha_1.4dev build #865
Push for PocketMine is a plugin that utilizes the PushBullet API to send push notifications (cleverly called "bullets" in Push) directly to your channel's subscribers' phone and or computer! Neat!
How it works:
Push sends all notifications asynchronously, so it doesn't really affect performance. Also you may notice the huge size of the plugin! Let me explain, this is because as of cURL deciding to not bundle the list of known root SSL certificates, the only way this plugin would work without bundling it is to have every single server owner download the file and set it up in their php.ini file, that's too much work though.
- Advertise your channel, have users subscribe to it. Make sure they also have the App on their phone or in their web browser.
- Send a push using in-game commands.
- They receive it!
The alternative to bundling or setting anything in your php.ini would be to disable the verification of the SSL certificate, however this leads you exposed to Man In The Middle Attacks, and it would be irresponsible of me to release a plugin so vulnerable.
So there you go, that explains the file-size of this otherwise very lightweight plugin!
For more information on PushBullet, click here. Remember that the App, channel tag and API access token is necessary for Push to work!
Permission node: push.send
Code:/push title <your desired title> - Sets the title of the bullet. /push body <your desired body> - Sets the body of the bullet. /push type <note or link> - Sets the bullet type to note or link. /push link <url when clicking on the push> - Sets the link that will be opened when a user clicks on the notification they get. This option is ONLY valid when the type of the bullet is "link". /push send - Sends the bullet.
- Alternate Categories:
- Chat Related
- Plugin Access:
- Internet Services
- Data Saving