[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


    I could proly make a version for permissions 2 but you won't be able to use the admin node
  3. Offline


    Its ok I just have to switch from IZone to WG Regions and fix FlatEarth and another plugins which I seem to have forgotten the name of...
  4. Offline


    I cant get this thing to work for the life of me. i tried the 2 different gmail ports like you said. none work. port 25 was the only one that that even gave an error and its the same error as ssddttaa had on the last page... :/
  5. Offline


    where do you host?
  6. Offline


    you mean what hosting service do i use? if so its my home ^_^
  7. Offline


    maybe check to see if your ports are open
  8. Offline


    that could help [skeleton]
    so what, would i do? just forward to port 25? or completely open it or what
  9. Offline


    it's just an idea I'm not sure if it would be closed for some reason
  10. Offline


    hmm well if it didnt open would email even work in general? :p

    ok well thre is this thing called port triggering. it sais,

    Trigger opening of ports for incoming data.

    so im guessing i should add port 25 to that maybe?

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


    SMTP is for outgoing data
  12. Offline


    hmm well idk I just rlly want to get this working >.<
  13. Offline


    Still having epic difficulties adding Emails. (Fixed the Errors with 3.x BTW)

    It got oddly quiet :p. As I stated above Texting works splendidly with 3.x but when I try with email it keeps spamming enable message.

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


    I was just wondering, I am with Koodo Mobile, Its a Canadian Company started by Telus.
    Being a subsidiary of Telus, Would that mean this mod would work for me, despite Koodo not being on the "supported" list?

    Im not 100% sure on how the relationship between the 2 company's works, and figure with the work you have done on this app if anyone will know the answer to a question of this nature it would be you.

    P.S. Love the concept of this mod, Hope I will be able to use it.
    I am currently the only person running my server (small population), having this kind of power to remotely access/communicate/troubleshoot issues will give my small server the kind of quick acting, always there support people love about large servers.
  15. Offline


    It will work as long as you provider has email to phone support (Koodo does). Ill look up the number for it

    Koodo = #@msg.koodomobile.com

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


    I've got this pretty much working on bukkit #860 and by setting my e-mail address. It's vital that when you reply back with "enable" the same e-mail address is used in the From header as the one that was sent to.

    It would actually be preferable if this wasn't the case (could the plugin not set a mail header like x-verification-code with a cookie, and just look for that rather than care what e-mail address the reply comes from?)

    For example, some people might want to set [email protected] but this is actually forwarded to [email protected] so when they replay with "enable" it comes from [email protected] and the plugin doesn't accept it at the moment.

    Permissions seem to be broken for me unfortunately. I use essentials group manager which emulates permissions 2.7.2 and this seems to work with all the other 67 plugins I use. Right now I'm overriding permissions and only ops can use the text thing which is a shame.

    I also couldn't get Orange UK texting working, although I'm not clear if I should be adding numbers as 07870 or 447870 or 7870 or +447870. I don't even know that Orange UK is supported?

    Keep up the good work, it's still useful for me as it is right now alerting me via e-mail (I use my own e-mail to SMS gateway that then texts me anyway) when people log on and off etc. and for allowing at least ops to text/email each other.
  17. Offline


    3 - Denmark
    TDC - Denmark
    Telenor - Denmark
    Telia - Denmark
    Bibob - Denmark
    Call Me - Denmark? Other countries too? :p
    Lebara - Same as Call Me, might be other countries too.

    And M1 is danish too, using TDC's net.
  18. Offline


    Good Work.. but i need more.
    Vodafone - PT (Portugal)
    TMN - PT (Portugal)
    Optimus - PT (Portugal)
    .... Tks!
  19. Offline


    Did you update to the newest version? i fixed email support...
    Thanks for finding this, big help.
    I'll add this in the next version but if you don't want to wait add it to the email.properties yourself
    How would the plugin know which account to link [email protected] to?
    I can offer you a version that supports permission 2 but you won't be able to use the textplayer.admin node
    Orange is supported but I am unable to test any of these, you should add a 10 digit number (111-222-3333 or 1112223333)
    I will add as many of these as I can
  20. Offline


    Please, could you do; NetCom (from norway?) Please! :)
  21. Offline


  22. Offline


    To anyone having problems setting this up, getting errors etc...
  23. Offline


    Thanks :D

    EDIT: I added "Koodo=<number>@msg.koodomobile.com" to the sms.gateways list, But it still tells me "Network Koodo not supported"

    that is the right format correct?
    (FIX: apparently It does not work when i put it in the format the rest are in, but agnowledges it is there when i use the "Koodo=#@" format.)
  24. Offline


    Well, I was thinking, when it sends the request to be enabled it could store a random string in a file (a cookie). This random string could be embedded in the message or maybe even the mail headers. Then it doesn't matter who replies to it, as long as they include the original random string the system can verify. This is how most e-mail verification systems works.

    Yes I'd be interested in the permissions 2 version please, I don't think I mind about textplayer.admin node as I will allow only certain groups to be able to text at all.

    Thank you.
  25. Offline


  26. Offline


  27. Offline


    Getting this when attempting to reply to the enable email (From my email).

    Show Spoiler

    21:20:39 [INFO] Error reading email, Message thrown out
    21:20:39 [INFO] Error reading email, Message thrown out
    21:20:39 [INFO] Could not read incoming mail!
    21:20:39 [SEVERE] javax.mail.MessageRemovedException
    21:20:39 [SEVERE] at com.sun.mail.imap.IMAPMessage.checkExpunged(IMAPMessage.java:205)
    21:20:39 [SEVERE] at com.sun.mail.imap.IMAPMessage.setFlags(IMAPMessage.java:879)
    21:20:39 [SEVERE] at javax.mail.Message.setFlag(Message.java:578)
    21:20:39 [SEVERE] at TextPlayer.Mailer$2.run(Mailer.java:211)

    I am not touching the Gmail account TextPlayer is linked to (Using v0.6.1).
  28. Offline


    from a gmail account?
  29. Offline



    [email protected] <-- That email

    I tried enable 'enable' "enable" /enable !enable None worked :/. I then tried /text limit 0 in-game now I can recieve emails from IG to Email but not from Email to IG (Sending a message back to server that says only say Hello? )

    CheckMailInterval=0 BTW

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


  31. Offline


    Sends this back to me for every command

    Show Spoiler

    Unknown console command. Type "help" for help.

    Also when I use /text Whatever Whatever it sends the sending and sent messages twice to player.

Share This Page