h2oskier submitted a new plugin: BuddyNotify - Send notifications to a player's email account Read more about this plugin...
Hi Legoboy0215, Correct. Players who want to receive email system alerts and email chats from other players need to provide (register) their email address. This is not to be confused with the SimpleAuth registration. Once a player has entered their email address, it is assigned to their player name and they will be eligible for receiving email notifications. For example: "/email reg [email protected]". After a player registers an email address, the player should add buddies that will receive login/quit game play notifications only if they are offline. Buddies do not need to have an email registered to be assigned; however, they won't receive emails until they add their email. For example: "/email add buddyname" where "buddyname" is the buddy's player name. Example for "Steve" - Address: [email protected] Buddies: alex (online), notch (offline), herobrine (offline) In this example, "Steve" has three buddies : "Alex," "Notch," and "Herobrine". Only "Notch" and "Herobrine" will be notified when "Steve" logs in/quits game play; "Alex" is online so she does not need any notification. "Steve" will also receive server alerts on start/stop events. This assumes that "Alex," "Notch," and "Herobrine" have registered their emails too. You can inform users to register an email with SimpleAuth's message configuration as well. An server administrators can perform these activities on player's behalf as well.
h2oskier updated BuddyNotify with a new update entry: BuddyNotify v1.1 - Release Notes Read the rest of this update entry...
h2oskier updated BuddyNotify with a new update entry: BuddyNotify v1.1.1 - Release Notes Read the rest of this update entry...
HELP ME PLEASE I have Problem in the plugin!!! exactly I have a problem installing the plugin because according to the installation method you show us by the example of installation says we pocketmine.php edit the file in a part that says "sendmail_host" or something similar but not as edit ye sought this text in the file but could not locate. if you could give me the file download or edited and taught me that part is what devemos edit would be helpful.
Hi HyPixelWorld, The "php.ini" is located in the PHP packaged with PocketMine: <pocketmine>/bin/php5/bin . Add an equivalent path to your mail program (Example is on Unix using sendmail) [mail function] sendmail_path="/usr/sbin/sendmail -t"
there is an error PHP: [18:47:37] [Server thread/WARNING]: RuntimeException: "mail(): "sendmail_from" not set in php.ini or custom "From:" header missing" (E_WARNING) in "/BuddyNotify_v1.1.1.phar/src/BuddyNotify/BuddyNotify" at line 556[18:47:37] [Server thread/INFO]: Disabling BuddyNotify v1.1.1[18:47:37] [Server thread/WARNING]: RuntimeException: "mail(): "sendmail_from" not set in php.ini or custom "From:" header missing" (E_WARNING) in "/BuddyNotify_v1.1.1.phar/src/BuddyNotify/BuddyNotify" at line 556
Hi da123rrell, Did you configure your "php.ini" located in the PHP packaged with PocketMine: <pocketmine>/bin/php5/bin for sending email? (Example is on Unix using sendmail) [mail function] sendmail_path="/usr/sbin/sendmail -t" Have you tried sending mail from the command line to verify mail is working from the "sendmail_path" you've configured? If yes to the above, please provide more details on operating system, mail app, php settings, and if you modified the l10n.yml. Thanks!
Here is where it is located on my CentOS installation - installed by the setup: [pocket]$ ls -alt total 6228 -rw-rw-r--. 1 ec2-user ec2-user 2748988 Aug 25 19:24 server.log -rw-rw-r--. 1 ec2-user ec2-user 515 Aug 16 19:24 server.properties -rw-rw-r--. 1 ec2-user ec2-user 0 Aug 16 19:23 banned-ips.txt -rw-rw-r--. 1 ec2-user ec2-user 0 Aug 16 19:23 banned-players.txt drwxr-xr-x. 30 ec2-user ec2-user 4096 Aug 16 18:53 plugins drwxrwxr-x. 6 ec2-user ec2-user 4096 Aug 16 18:48 . -rw-rw-r--. 1 ec2-user ec2-user 0 Aug 16 14:54 ops.txt drwxrwxr-x. 12 ec2-user ec2-user 4096 Aug 14 23:56 .. drwxrwxr-x. 2 ec2-user ec2-user 4096 Aug 14 21:47 players -rw-r--r--. 1 ec2-user ec2-user 282 Aug 14 21:46 white-list.txt -rw-rw-r--. 1 ec2-user ec2-user 5652 Aug 6 11:57 pocketmine.yml -rw-rw-r--. 1 ec2-user ec2-user 7984 Aug 6 11:54 CONTRIBUTING.md -rw-rw-r--. 1 ec2-user ec2-user 2736 Aug 6 11:54 README.md -rw-rw-r--. 1 ec2-user ec2-user 7650 Aug 6 11:54 LICENSE -rwxrwxr-x. 1 ec2-user ec2-user 1153 Aug 6 11:54 start.sh -rw-rw-r--. 1 ec2-user ec2-user 3555801 Aug 6 11:54 PocketMine-MP.phar drwxrwxr-x. 6 ec2-user ec2-user 54 Aug 5 18:51 worlds drwxr-xr-x. 3 ec2-user ec2-user 17 Jun 14 07:06 bin -rw-r--r--. 1 ec2-user ec2-user 175 Jun 7 20:56 ops.txt.bck [pocket]$ ls -alt bin total 4 drwxrwxr-x. 6 ec2-user ec2-user 4096 Aug 16 18:48 .. drwxr-xr-x. 6 ec2-user ec2-user 52 Jun 14 07:22 php5 drwxr-xr-x. 3 ec2-user ec2-user 17 Jun 14 07:06 . [pocket]$ ls -alt bin/php5/ total 12 drwxr-xr-x. 2 ec2-user ec2-user 4096 Aug 6 11:59 bin drwxr-xr-x. 6 ec2-user ec2-user 52 Jun 14 07:22 . drwxr-xr-x. 8 ec2-user ec2-user 4096 Jun 14 07:21 include drwxr-xr-x. 5 ec2-user ec2-user 4096 Jun 14 07:21 lib drwxr-xr-x. 5 ec2-user ec2-user 41 Jun 14 07:10 share drwxr-xr-x. 3 ec2-user ec2-user 17 Jun 14 07:06 .. [pocket]$ ls -alt bin/php5/bin/ total 9752 drwxr-xr-x. 2 ec2-user ec2-user 4096 Aug 6 11:59 . -rwxr-xr-x. 1 ec2-user ec2-user 359 Aug 6 11:59 php.ini drwxr-xr-x. 6 ec2-user ec2-user 52 Jun 14 07:22 .. -rwxr-xr-x. 1 ec2-user ec2-user 5341 Jun 14 07:22 php-config -rwxr-xr-x. 1 ec2-user ec2-user 4807 Jun 14 07:22 phpize -rwxr-xr-x. 1 ec2-user ec2-user 9886259 Jun 14 07:21 php -rwxr-xr-x. 1 ec2-user ec2-user 2398 Jun 14 07:14 libpng16-config lrwxrwxrwx. 1 ec2-user ec2-user 15 Jun 14 07:14 libpng-config -> libpng16-config -rwxr-xr-x. 1 ec2-user ec2-user 52103 Jun 14 07:14 pngfix -rwxr-xr-x. 1 ec2-user ec2-user 10245 Jun 14 07:14 png-fix-itxt -rwxr-xr-x. 1 ec2-user ec2-user 1532 Jun 14 07:08 libmcrypt-config
You enter the full path to the mail server you are running on your PC (for instance a ported version of sendmail). Here is the documentation for PHP configuration: http://php.net/manual/en/mail.configuration.php