[ADMIN/CHAT] TextPlayer v0.9 - Receive text alerts to your phone [953]

Discussion in 'Inactive/Unsupported Plugins' started by Codisimus, Apr 16, 2011.

  1. Offline


    This page will no longer be updated. Please follow this project at the Bukkit Dev Page

    TextPlayer - Receive text alerts to your phone:
    Version: 0.9 (7/18/2011)
    Supports iConomy, BOSEconomy, Essentials, Permissions
    Download Page

    WARNING: When setting up the email address in the email.properties file, use an account that isn't used for anything else (such as personal emails) as it will delete all messages after they are read by the plugin

    If the needed files aren't automatically created they can be found here

    Now you can be contacted at any time from your Server!

    This plugin allows users to type "/text [Name]" to contact you or another player by sending them a text message to their phone (Standard rates apply)

    Alerts can also be sent to you for specific events

    • Use your phone number or email
    • Send texts back to the server to chat or run commands
    • Retrieve player list by texting "pl" to the server
    • Many popular Cell phone providers are supported:
    • List users who added their numbers
    • Anti-spam feature (limit max amount of texts received each day)
    • Numbers/email addresses cannot be seen in game (for privacy issues)
    • Be alerted by text message when a player Logs on
    • Be alerted by text message when the Server comes online/goes offline (also triggered on Server reload)
    • Be alerted when a player places lava, fire, or tnt (Currently not working)
    • Set emails to come from a custom email address
    • Encrypted data
    • Permissions to limit players from texting or being texted and to run server commands through text
    Supported Carriers:
    Show Spoiler

    • At&t
    • Bell
    • BeeLine
    • Bouygues
    • Cricket
    • D1
    • E-Plus
    • Etisalat
    • Fido
    • Koodo
    • LMT
    • MetroPCS
    • Mobistar
    • NetCom
    • nTelos
    • Optimus
    • Optus
    • Orange
    • O2-UK
    • O2-Germany
    • Pc-Mobile
    • Rogers
    • SFR
    • SoftBank
    • Sprint
    • Starhub
    • Sunrise
    • Swisscom
    • TDC
    • Telecom
    • Telenor
    • Tele2
    • Telia
    • Telstra
    • Telus
    • Three
    • T-Mobile
    • T-Mobile-Czech
    • US-Cellular
    • Verizon
    • Virgin-Mobile
    • Vivo
    • Vodafone-Germany
    • Vodafone-Greece
    • Vodafone-Italy
    • Vodafone-UK
    • *Comment below to request support for a carrier

    • /text [Name] [Message] - Sends message to User
    • /text set [Carrier] [Number] - Receive messages to phone
    • /text set email [Address] - Receive messages to email address
    • /text watch user [Name] - Receive message when user logs on
    • /text watch server - Be alerted when Server comes online
    • /text watch item [Name] - Receive message when item is placed
    • /text watch word [Word] - Receive message when word is spoken
    • /text unwatch user [Name] - Unwatch a user
    • /text unwatch server - Unwatch the server
    • /text unwatch item [Name] - Unwatch an item
    • /text disable - Disable texts while logged on
    • /text enable - Enable texts while logged on
    • /text limit [Number] - Limit number of texts received each day
    • /text list carriers - List supported Carriers
    • /text list users - List current Users
    • /text list watch - List who you are watching
    Text Commands:
    • pl - Retrieve a full list of Players currently online
    • find [Player] - See if the specific Player is on (useful for large servers)
    • tell [Player] [Message] - Whisper to an online Player
    • say [Message] - Broadcast a message to the Server
    Permission Nodes:
    • textplayer.text - Needed to message a user
    • textplayer.textadmin - Needed to message user who has textplayer.admin node
    • textplayer.admin - Distinguishes user as an admin (need to run commands through text)
    • textplayer.use - Needed to set your number/email
    • textplayer.watch.user - Needed to watch/unwatch a user
    • textplayer.watch.server - Needed to watch/unwatch the server
    • textplayer.watch.item - Needed to watch/unwatch a user
    • textplayer.listusers
    • textplayer.free - No charge to send texts

    • Add support for many more carriers
    • Add many more events
    • Add list watch command
    Old Versions + ChangeLog can be found at Download Page
    Show Spoiler

    Version 0.9 (7/16/2011)
    • Added watch word
    • Checks for correct email/number format
    • Supports 11 digit numbers
    • Changed "/text add" to "/text set"
    • Added support for messages that start "RE:"
    • Added support for nTelos and Pc-Mobile
    Version 0.8.1 (6/28/2011)
    • Added IMAP Connection refresher
    Version 0.8 (6/26/2011)
    • Improved OP options
    • Updated Economy support
    • Added list watch command
    Version 0.7 (6/15/2011)
    • Cleaned up/decoded emails before reading (now console commands should work fine)
    • Added new gateways which are automatically addded to sms.gateways
    • Added support for Permissions 2
    Version 0.6.1 (6/13/2011)
    • Fixed permissions
    • Fixed email support
    Version 0.6 (6/12/2011)
    • Readded ports
    • Added confirmation text on setting number
    • Added new text commands (tell, find)
    Version 0.5.3 (6/4/2011)
    • Cleaned up errors and added error messages
    Version 0.5.2 (6/4/2011)
    • Fixed log off notifications
    • Disabled /stop command through text
    Version 0.5.1 (6/3/2011)
    • Various fixes and code cleanup
    Version 0.5 (6/3/2011)
    • Added Essentials support
    • Added notification for when user logs off
    • Allow sending texts back to server (chatting/running commands)
    Version 0.4.1 (5/4/2011)
    • Updated to iConomy 5
    • Added a few carriers
    Version 0.4 (4/29/2011)
    • Added griefer alert for tnt, lava, and fire
    • Added anti-spam feature (limit max amount of texts received each day)
    • Added option to charge users to text player or admin
    • Fixed Null Pointer Exception error on player join
    • Fixed error "Network email not supported"
    Version 0.3 (4/19/2011)
    • Improved Security
    • Eliminated Lag
    • Distinguished Admins from normal users (have node textplayer.admin)
    • Must have node textplayer.textadmin to send a msg to an admin
    • Allowed option of setting emails to come from a custom email address (like your servers email)
    • Added various providers
    Version 0.2 (4/18/2011)
    • Encrypted phone numbers and emails
    • Added various providers
    Version 0.1 (4/16/2011)
    • Initial Release
    LimitedWard, ACStache, woodzy and 6 others like this.
  2. Offline

    Cameron Auber

    Thanks, it's working now :D
  3. Offline


    Sunrise and Swisscom added
    Mobistar added

    other ones won't work, look for an update within 24 hours
  4. Offline


  5. Offline



    Could you add Virgin Mobile Canada? (Phone#@vmobile.ca <-- If thats how you set it up in the plugin)

    Also does the most recent version include the texting back feature? If so it is not working for me. Sending out messages but receiving back in-game does not.

    EDIT: If the most recent version does not I would love to be a beta tester if you want.
  6. Offline


    The most recent version does but only for a few carriers and for very short messages, the version that I am releasing tonight will most likely work for all carriers (that are supported of course) Thank you for finding #@vmobile.ca I will add it into the next version (tonight) The versions I am pushing are technically beta for sending texts to server but they are stable enough to release
  7. Offline


    <3 Nuff Said.
  8. Offline


    Why do you request this? I need a reason to add it
  9. Offline


    Could you add Ventelo support? (Norwegian)
  10. Offline


    I cannot find an sms gateway for Ventelo
  11. Offline


    05:46:51 [INFO] Sending Message...
    05:46:52 [SEVERE] javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 25;
    nested exception is:
    java.net.ConnectException: Connection refused
    05:46:52 [SEVERE] at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1934)
    05:46:52 [SEVERE] at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638)
    05:46:52 [SEVERE] at javax.mail.Service.connect(Service.java:295)
    05:46:52 [SEVERE] at javax.mail.Service.connect(Service.java:176)
    05:46:52 [SEVERE] at TextPlayer.TextPlayer$3.run(TextPlayer.java:344)
    05:46:52 [SEVERE] Caused by: java.net.ConnectException: Connection refused
    05:46:52 [SEVERE] at java.net.PlainSocketImpl.socketConnect(Native Method)
    05:46:52 [SEVERE] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    05:46:52 [SEVERE] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    05:46:52 [SEVERE] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    05:46:52 [SEVERE] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
    05:46:52 [SEVERE] at java.net.Socket.connect(Socket.java:529)
    05:46:52 [SEVERE] at java.net.Socket.connect(Socket.java:478)
    05:46:52 [SEVERE] at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:288)
    05:46:52 [SEVERE] at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:231)
    05:46:52 [SEVERE] at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1900)
    05:46:52 [SEVERE] ... 4 more
    05:46:52 [INFO] Send Failed
    SOURCE: http://canyouseeme.org/
    "Error: I could not see your service on on port (25) Reason: Connection refused"

    Most residential ISP's block ports to combat viruses and spam. The most commonly blocked ports are port 80 and port 25.
    Port 80 is the default port for http traffic. With blocked port 80 you will need to run your web server on a non-standard port in conjunction with a port 80/web redirect from No-IP.com.
    Port 25 is the default port for sending and receiving mail. ISPs block this port to reduce the amount of spam generated by worms on infected machines within their network. If you need to send legitimate email and your ISP blocks port 25. Consider the solutions from No-IP.com

  12. Offline


    In my code I don't even put in the port number, It must use 25 by default? I'll add an option for manually setting ports
  13. Offline


    thanks this should fix the problem for me, and anyone else who has it
  14. Offline


    all i get is sending message... send failed
  15. Offline


    ILL TEST!!
  16. Offline


    I'll certainly test...

    but how exactly does it work? (i'm damn curious)

    I have not even downloaded it yet but a cooldown would be great so I dont get spammed 50 times a day by my moderators.
  17. Offline


    make a gmail (e-mail) account for ur server
    2nd add the user name to the file
    3rd add the password to the password line and the passwordencripted line
    so example
    #Sun Jun 12 08:15:33 MSD 2011
    [email protected] <--the e-amil account u made
    IMAPHost=imap.gmail.com <--dont touch
    SMTPHost=smtp.gmail.com <--dont touch
    Password=whatever <--the password u made
    PasswordEncrypted=whatever <--the same as above

    save it upload it add perms nodes /reload and DONE!!!

    my users cant make an account but thay can text me here my prems 2.7 file what am i dotng wrong? i know its .txt file its really a .yml :)

    Attached Files:

    Last edited by a moderator: May 14, 2016
  18. Offline


    The only spam protection so far is a limit of a certain amount of texts per day.
    The next version will allow you to send a text back saying disable to disable retrieving texts
    correct except that you don't need to fill in the Encrypted line (it will automatically be filled in)
    I found a new way to do permissions which will hopefully fix this
  19. Offline


    @Codisimus When will v0.5.4 be out. I am waiting for it with anticipation :D. Thanks for this awesome plugin.
  20. Offline


    I'm working hard to get Version 0.6 out tonight but It might not be till tomorrow night
  21. Offline


    Ok :D. No worries take your time
  22. Offline


    Hey, great idea for a plugin. running into a problem, however. Ingame I cannot send a message to myself. Permissions are set to all, it says it sends the message to my phone (sending message.... message sent!)(verizon), yet I don't actually receive the text. Any idea?
  23. Offline


    At "Download Page" i can find this version informations, please update this, cause your thread and changelog is already 0.6 ;)

    Download     Version 0.5.3      577k     v. 13     Jun 4, 2011 9:56 AM
  24. Offline


    sorry I updated this and then found an error so I was fixing it but I'm uploading no and will tag you when it's available
  25. Offline


    #864 + 0.5.3 at server startup error:
    2011-06-12 09:33:50 [INFO] Could not read incoming mail!
    2011-06-12 09:33:50 [SEVERE] javax.mail.AuthenticationFailedException: Invalid credentials h9if4702521fas.69
    2011-06-12 09:33:50 [SEVERE]     at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:660)
    2011-06-12 09:33:50 [SEVERE]     at javax.mail.Service.connect(Service.java:295)
    2011-06-12 09:33:50 [SEVERE]     at javax.mail.Service.connect(Service.java:176)
    2011-06-12 09:33:50 [SEVERE]     at TextPlayer.Mailer$2.run(Mailer.java:108)
    #Sun Jun 12 09:07:46 CEST 2011
    #Config file for TextPlayer
    #Plugin made by Codisimus
    #Time to wait (in seconds) between checking for new mail
    #If set to true, It will say in the Server Log when a text is sent
    #Supported Economy plugins:
    #BOSEconomy, iConomy (4 or 5), Essentials, None
    #If set to true, Permissions will be overlooked
  26. Offline


    Finally updated, It's rather late so I'm sorry if there are any problems, please post them and I will fix them in the morning

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 13, 2016
  27. Offline


    Having issues "enabling" emails

    Dont have my cell ATM to test that. But It sends the initial message from server to email saying reply 'enable' to activate. I reply enable and enable only. Then go ingame and try to send a message and it says the email is not registered. Any help :p (I hope this works :p)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 13, 2016
  28. Offline


    well iv tested it for telus and bell and i get send failed!
  29. Offline


    if it is succesfully enabled it will send you a confirmation text, if you try texting something besides enable it will proly send you back a message telling you that you need to enable it if you want to use it.
    Do you see any errors on your console?

    did you type in a 10 digit number (like 111-222-3333 or 1112223333) if you add the countries number code thingy at the front it proly won't work

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 13, 2016
  30. Offline


    yes i typed 2508****** and it says sending failed!

    if u want u can join my server and test it on there

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 13, 2016
  31. Offline


    then the sms gateways must be incorrect... They are both Canada right?
    try replacing the gateway for bell to @txt.bellmobility.ca do that by editing the sms.gateways file if you can't figure out how let me know

Share This Page