[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

    Codisimus

    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

    Features:
    • 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

    Commands:
    • /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
    Tutorial:


    ToDo:
    • Add support for many more carriers
    • Add many more events
    • Add list watch command
    Changelog:
    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

    Codisimus

    I tested this several times and I don't think that is the issue.
    You're right it currently displays the subject line, I will switch it to the actual message but I'm having trouble accessing it.
     
  3. Offline

    Collin Moore

    same dang error...

    2011-06-05 01:29:28 [INFO] TextPlayer 0.4.1 is enabled!
    2011-06-05 01:29:28 [INFO] TextPlayer Successfully linked with Permissions!
    2011-06-05 01:29:28 [INFO] TextPlayer Successfully linked with iConomy!
    2011-06-05 01:29:28 [INFO] Done (0.404s)! For help, type "help" or "?"
    2011-06-05 01:29:29 [INFO] Could not read incoming mail!
    2011-06-05 01:29:29 [SEVERE] java.lang.NullPointerException
    2011-06-05 01:29:29 [SEVERE] at TextPlayer.TextPlayer$1.run(TextPlayer.java:243)

    mail.jar is in /lib. everything else works. Sending is fine.
     
  4. Offline

    i542

    Hey, I am not sure if you're aware of this, but anyway, Wikipedia has a nice list of all mail to SMS gateways here: http://en.wikipedia.org/wiki/List_of_SMS_gateways
    Nice plugin, but unfortunately I am unable to use it since my provider doesn't support mail to sms :(
     
  5. Offline

    Codisimus

    I have about 5 lists bookmarked, most of which have providers that aren't on any other list. I just don't have time to go hunting around for all of them.
     
    i542 likes this.
  6. Offline

    fletchmanjr

    its for texts
     
  7. Offline

    Codisimus

    you must set up an email address to send and receive texts
     
  8. Offline

    jesper

    when me and my members tries to send me a message it say sending message.. and then message failed
    plz can someone help me plz... :,)

    ok i think i know the problem now... can u plz add telia. tele2. 3. in sweden... plz

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

    ACStache

    Hey there Codisimus,
    Tried to play around with your plugin, but every time I do I get bogged down with a bunch of [SEVERE]'s.
    The first line of which says:
    "[SEVERE] java.io.FileNotFoundException: lib\Register.jar (The system cannot find the path specified)"

    Am I missing something blatantly obvious or is this an actual issue?

    if you'd like the rest of the errors that accompany it I'd be more than happy to share them.
     
  10. Offline

    fletchmanjr

    how do i do that
     
  11. Offline

    Austin sapp

    Just so you are aware this plugin appears to have compatibility issues with the "MyWarp" and "MyHome" plugins. I've tested this by removing TextPlayer and running server, and receiving no errors, but when TextPlayer is active, I get a "there was an error while executing command" error in game using /home and /warp. I've replaced these plugins because TextPlayer is just so awesome, but I thought you should be aware :)
     
  12. Offline

    kkidd5

    Please add!!!
     
  13. Offline

    ACStache

    I looked into this a little bit. I looked on my computer for a folder called "lib" and the only one I found was in the java install folder (in Program Files). Is there supposed to be a file there called Register.jar that I'm missing or is it something the plugin itself is supposed to come with/install?
     
  14. Offline

    HiPPiE1337

    Plz add kpn support
     
  15. Offline

    Codisimus

    look for /lib in the server folder. (like where /plugins is there should also be /lib). if there isn't then this plugin won't work so you need to create it
     
  16. Offline

    ACStache

    The only folders in my server are backup, plugins, world, and world_nether. You're saying make the /lib path and it should create the rest of the files it needs?

    edit: running it after making the /lib path did something, it made a mail and Register jar, but now it's giving different errors after a couple server reloads.

    Code:
    2011-06-07 16:50:08 [INFO] Could not read incoming mail!
    2011-06-07 16:50:08 [SEVERE] javax.mail.AuthenticationFailedException: Invalid credentials by8if1369850vcb.23
    2011-06-07 16:50:08 [SEVERE]     at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:660)
    2011-06-07 16:50:08 [SEVERE]     at javax.mail.Service.connect(Service.java:295)
    2011-06-07 16:50:08 [SEVERE]     at javax.mail.Service.connect(Service.java:176)
    2011-06-07 16:50:08 [SEVERE]     at TextPlayer.Mailer$2.run(Mailer.java:108)
    
    do I have to make a gmail account and fill in the information in the email config file?
     
  17. Offline

    Jallenator

    Events wise, can it send you one when the server goes down? If not, can you add that?
     
  18. Offline

    Codisimus

    @ACStache
    yes you do have to make an account, and in future version I will have it automatically create the /lib folder

    @Jallenator
    If the server goes down there is no way for this plugin to run... so I don't see how that would be possible sorry
     
  19. Offline

    ACStache

    cool, thanks for the help. will let you know how it goes :)
     
  20. Offline

    Jallenator

    @Codisimus
    you could run the script in the onDisable() bit couldn't you? (sorry if that is just completely stupid)
     
  21. Offline

    ACStache

    got everything squared away, awesome plugin with alot of room for expansion!

    new issue cropped up:
    sent a message back to the server and got:
    [INFO] Could not read incoming mail!
    [SEVERE] java.lang.NullPointerException
    [SEVERE] at TextPlayer.Mailer$2.run(Mailer.java:128)

    are the only commands currently available the ones listed in the first post? I tried changing the time to see what would happen and got that error.
     
  22. Offline

    Codisimus

    that could work but if the server is shutdown due to a loss of power or anything besides /stop you would not be notified. (also the server being reloaded would trigger this too)
     
  23. Offline

    Jallenator

    @Codisimus
    Then you could add a message with something like: "This is an alert that one of the following things could have happened: 1.) server reload 2.) server has been stopped... etc"

    The reason I would like this is to tell me when the server randomly shuts down due to a plugin error or something

    Edit: also, could you not add some kind of listener in the onDisable() that would test to see if a reload had just been done and if so it would not send a message?
     
  24. Offline

    Codisimus

    If that happens, I'm not sure that it would activate onDisable()
    I'll have to check to see if there is a way to check the reason onDisable() was activated
    I would proly add an option for when the server starts too. (perhaps its a server hosted from home so you want to know as soon as you can play on it)
     
  25. Offline

    Jallenator

    @Codisimus
    It is a dedicated box, the plugin errors and stuff I was thinking of would be coming from another plugins like Citizens or Factions and stuff. If you did this, it would be really great and I would be incredibly grateful
     
  26. Offline

    kkidd5

    Wth, why you dont see my messages?

    Can you add this carriers?:

    Telenet; Telenet.be
    Mobistar; Mobistar.be
     
  27. Offline

    Kartus

    yes, why you also don't see/ignore my messages?

    Can you please add?:
    Sunrise Switzerland; sunrise.ch
    Swisscom Switzerland; swisscom.ch
    Orange Switzerland; orange.ch
     
  28. Offline

    nala3

    can you add support for CommandBook? or is it just all commands supported
    ohh and i get this error.. i made an email adress but when i try to send it fails and thorws this
    Code:
    01:31:39 [INFO] Could not read incoming mail!
    01:31:39 [SEVERE] java.lang.NullPointerException
    01:31:39 [SEVERE]       at TextPlayer.Mailer$2.run(Mailer.java:140)
    01:31:40 [INFO] [BBROTHER] Removed 0 old records because of age in 0h00m00s.
    01:31:51 [INFO] [xAuth] Player 'nala3' has authenticated
    01:32:00 [SEVERE] javax.mail.MessagingException: Could not connect to SMTP host:
     smtp.gmail.com, port: 25;
      nested exception is:
            java.net.ConnectException: Connection timed out: connect
    01:32:00 [SEVERE]       at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransp
    ort.java:1934)
    01:32:00 [SEVERE]       at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPT
    ransport.java:638)
    01:32:00 [SEVERE]       at javax.mail.Service.connect(Service.java:295)
    01:32:00 [SEVERE]       at javax.mail.Service.connect(Service.java:176)
    01:32:00 [SEVERE]       at TextPlayer.Mailer$1.run(Mailer.java:80)
    01:32:00 [SEVERE] Caused by: java.net.ConnectException: Connection timed out: co
    nnect
    01:32:00 [SEVERE]       at java.net.PlainSocketImpl.socketConnect(Native Method)
    
    01:32:00 [SEVERE]       at java.net.PlainSocketImpl.doConnect(Unknown Source)
    01:32:00 [SEVERE]       at java.net.PlainSocketImpl.connectToAddress(Unknown Sou
    rce)
    01:32:00 [SEVERE]       at java.net.PlainSocketImpl.connect(Unknown Source)
    01:32:00 [SEVERE]       at java.net.SocksSocketImpl.connect(Unknown Source)
    01:32:00 [SEVERE]       at java.net.Socket.connect(Unknown Source)
    01:32:00 [SEVERE]       at java.net.Socket.connect(Unknown Source)
    01:32:00 [SEVERE]       at com.sun.mail.util.SocketFetcher.createSocket(SocketFe
    tcher.java:288)
    01:32:00 [SEVERE]       at com.sun.mail.util.SocketFetcher.getSocket(SocketFetch
    er.java:231)
    01:32:00 [SEVERE]       at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransp
    ort.java:1900)
    01:32:00 [SEVERE]       ... 4 more
    01:32:22 [SEVERE] javax.mail.MessagingException: Could not connect to SMTP host:
     smtp.gmail.com, port: 25;
      nested exception is:
            java.net.ConnectException: Connection timed out: connect
    01:32:26 [SEVERE]       at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransp
    ort.java:1934)
    01:32:26 [SEVERE]       at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPT
    ransport.java:638)
    01:32:26 [SEVERE]       at javax.mail.Service.connect(Service.java:295)
    01:32:26 [SEVERE]       at javax.mail.Service.connect(Service.java:176)
    01:32:26 [SEVERE]       at TextPlayer.Mailer$1.run(Mailer.java:80)
    01:32:26 [SEVERE] Caused by: java.net.ConnectException: Connection timed out: co
    nnect
    01:32:26 [SEVERE]       at java.net.PlainSocketImpl.socketConnect(Native Method)
    
    01:32:26 [SEVERE]       at java.net.PlainSocketImpl.doConnect(Unknown Source)
    01:32:26 [SEVERE]       at java.net.PlainSocketImpl.connectToAddress(Unknown Sou
    rce)
    01:32:26 [SEVERE]       at java.net.PlainSocketImpl.connect(Unknown Source)
    01:32:26 [SEVERE]       at java.net.SocksSocketImpl.connect(Unknown Source)
    01:32:26 [SEVERE]       at java.net.Socket.connect(Unknown Source)
    01:32:26 [SEVERE]       at java.net.Socket.connect(Unknown Source)
    01:32:26 [SEVERE]       at com.sun.mail.util.SocketFetcher.createSocket(SocketFe
    tcher.java:288)
    01:32:26 [SEVERE]       at com.sun.mail.util.SocketFetcher.getSocket(SocketFetch
    er.java:231)
    01:32:26 [SEVERE]       at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransp
    ort.java:1900)
    01:32:26 [SEVERE]       ... 4 more
    01:32:31 [INFO] /95.211.33.147:56350 lost connection
    >
     
  29. Offline

    Cameron Auber

    Hi, I am unable to send text messages to myself and in my server log on boot i get this error:
    Code:
    2011-06-09 06:39:32 [INFO] Could not read incoming mail! 
    2011-06-09 06:39:32 [SEVERE] javax.mail.AuthenticationFailedException: Invalid credentials j32if1571060qck.61 
    2011-06-09 06:39:32 [SEVERE] 	at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:660) 
    2011-06-09 06:39:32 [SEVERE] 	at javax.mail.Service.connect(Service.java:295) 
    2011-06-09 06:39:32 [SEVERE] 	at javax.mail.Service.connect(Service.java:176) 
    2011-06-09 06:39:32 [SEVERE] 	at TextPlayer.Mailer$2.run(Mailer.java:108)
    
    Please Help, I think this could be a very powerful plugin
     
  30. Offline

    Codisimus

    you need to set up an email address for it to use
     
  31. Offline

    kkidd5

    @Codisimus
    + These:
    Telenet; Telenet.be
    Mobistar; Mobistar.be (Thanks for adding this one!)
     

Share This Page