Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

BuddyNotify v1.1.1

Send notifications or a chat to a player's email account

  1. h2oskier
    Offline

    h2oskier New Member Plugin Developer

    Joined:
    Jun 10, 2015
    Posts:
    21
    Plugins:
    2
    h2oskier submitted a new plugin:

    BuddyNotify - Send notifications to a player's email account

    Read more about this plugin...
  2. Legoboy0215
    Offline

    Legoboy0215 Notable Member

    Joined:
    Nov 1, 2014
    Posts:
    1,747
    Minecraft User:
    Legoboy0215
    You register with your email address? I though Name and password only in simpleauth.
  3. h2oskier
    Offline

    h2oskier New Member Plugin Developer

    Joined:
    Jun 10, 2015
    Posts:
    21
    Plugins:
    2
    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.
    Last edited: Aug 4, 2015
    Legoboy0215 likes this.
  4. Legoboy0215
    Offline

    Legoboy0215 Notable Member

    Joined:
    Nov 1, 2014
    Posts:
    1,747
    Minecraft User:
    Legoboy0215
    Thanks!
  5. h2oskier
    Offline

    h2oskier New Member Plugin Developer

    Joined:
    Jun 10, 2015
    Posts:
    21
    Plugins:
    2
    h2oskier updated BuddyNotify with a new update entry:

    BuddyNotify v1.1 - Release Notes

    Read the rest of this update entry...
  6. h2oskier
    Offline

    h2oskier New Member Plugin Developer

    Joined:
    Jun 10, 2015
    Posts:
    21
    Plugins:
    2
  7. HyPixelWorld
    Offline

    HyPixelWorld New Member

    Joined:
    May 26, 2015
    Posts:
    2
    Minecraft User:
    ReyviGamerProYTe
    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.
  8. h2oskier
    Offline

    h2oskier New Member Plugin Developer

    Joined:
    Jun 10, 2015
    Posts:
    21
    Plugins:
    2
    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"
  9. da123rrell
    Offline

    da123rrell Active Member

    Joined:
    Feb 11, 2015
    Posts:
    136
    Minecraft User:
    da123rrell
    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_WARNINGin "/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_WARNINGin "/BuddyNotify_v1.1.1.phar/src/BuddyNotify/BuddyNotify" at line 556
  10. h2oskier
    Offline

    h2oskier New Member Plugin Developer

    Joined:
    Jun 10, 2015
    Posts:
    21
    Plugins:
    2
    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!
  11. da123rrell
    Offline

    da123rrell Active Member

    Joined:
    Feb 11, 2015
    Posts:
    136
    Minecraft User:
    da123rrell
    Where is php5 i cant find it on bin
  12. h2oskier
    Offline

    h2oskier New Member Plugin Developer

    Joined:
    Jun 10, 2015
    Posts:
    21
    Plugins:
    2
    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
  13. da123rrell
    Offline

    da123rrell Active Member

    Joined:
    Feb 11, 2015
    Posts:
    136
    Minecraft User:
    da123rrell
    Im on windows
  14. da123rrell
    Offline

    da123rrell Active Member

    Joined:
    Feb 11, 2015
    Posts:
    136
    Minecraft User:
    da123rrell
    nvm. I found it. btw on the sendmail_path= what do I type next
  15. h2oskier
    Offline

    h2oskier New Member Plugin Developer

    Joined:
    Jun 10, 2015
    Posts:
    21
    Plugins:
    2
    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

Share This Page

Advertisement