[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

    @jasonsj10
    pm me your ip?

    @treymok
    can you show me wut the email looks like coming from sprint? To do this either text me at [email protected] or text yourself and copy and paste it here. have the message say 'enable'

    @ACStache
    Great! those were the two things I wanted to know :) I'll proly set it to 6 by default then. Thanks a lot!

    @FlamingArmor
    I think there is a new feature in bukkit to allow admins to set aliases for plugin commands. If this isn't the case (or it's difficult to setup) let me know and I'll add /t as an alias command.
     
  3. Offline

    ACStache

    hmm... got this error this afternoon. No one was on at the time, so I've no idea what caused it.
    Code:
    2011-06-30 12:48:14 [INFO] Could not read incoming mail!
    2011-06-30 12:48:14 [SEVERE] javax.mail.AuthenticationFailedException: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
    2011-06-30 12:48:14 [SEVERE]     at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:660)
    2011-06-30 12:48:14 [SEVERE]     at javax.mail.Service.connect(Service.java:295)
    2011-06-30 12:48:14 [SEVERE]     at TextPlayer.Mailer$2$1.run(Mailer.java:140)
    
    rebooted the server and currently no errors. Can still send and receive stuff from the phone to the server.

    edit: just happened again a minute ago, again no one on, it just happened. (6:17pm EST)
     
  4. Offline

    treymok

    @Codisimus - Ok in sending you that text to your email I realized that when my droid sends a text via email even if it's only text it makes it a multimedia message MMS instead of a SMS... The problem with this is it comes from a different address then the one the plugin sent it to ie {nameonsprintaccount}{phoneonacct}@pm.sprint.com
     
  5. Offline

    Codisimus

    I got the message and I will try to figure out how to support it

    @ACStache
    Try this,
    http://dl.dropbox.com/u/23866327/Plugins/Test Jars/TextPlayer.jar
    I've added an Authenticator.

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

    nobodyshome

  7. Offline

    treymok

    Only way I think you could support it is by maybe adding instead of just enable maybe the username ie 'enable treymok' so that it knows where the enable request is coming from because it's not coming from the same place it was sent to... eh but further thought that would fix enabling but not work with sending messages back would it?
     
  8. Offline

    chaseoes Retired Staff

    I'm getting this:

    Code:
    2011-07-02 04:04:34 [SEVERE] javax.mail.internet.AddressException: Illegal address in string ``''
    2011-07-02 04:04:34 [SEVERE] at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:114)
    2011-07-02 04:04:34 [SEVERE] at TextPlayer.Mailer$1.run(Mailer.java:101)
    
    Happens after I try to add my phone number, it says "Send Failed" ingame. Bukkit build #953.
     
  9. Offline

    Chris Lewis

    I am getting the same error with CB #953 using most recent version of this (0.8.1)
     
  10. Offline

    jasonsj10

    I am getting this error
    Code:
    13:50:09 [SEVERE] javax.mail.AuthenticationFailedException: [AUTHENTICATIONFAILE
    D] Invalid credentials (Failure)
    13:50:09 [SEVERE]       at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore
    .java:660)
    13:50:09 [SEVERE]       at javax.mail.Service.connect(Service.java:295)
    13:50:09 [SEVERE]       at TextPlayer.Mailer$2.run(Mailer.java:131)
     
  11. Offline

    ACStache

    @jasonsj10 try the updated version on the previous page (23)
     
  12. Offline

    Squirrelboy1225

    I will occassionally get this error message (which will stop me from receiving any texts)!

    09:54:33 [INFO] Could not read incoming mail!
    09:54:33 [SEVERE] javax.mail.StoreClosedException: * BYE JavaMail Exce
    a.net.SocketException: Software caused connection abort: recv failed
    09:54:33 [SEVERE] at com.sun.mail.imap.IMAPFolder.getMessageCoun
    er.java:1209)
    09:54:33 [SEVERE] at TextPlayer.Mailer$2$1.run(Mailer.java:146)

    Help, please? Thanks!
     
  13. Offline

    HappySnacks

    can you please add three uk in the next update and also I keep getting something like 'sending failed' can anyone help??
     
  14. Offline

    Andrew1431

    Okay: I added my own carrier because I knew the email it uses:

    pcmobile=<number>@mobiletxt.ca

    I get the message successfully on my phone that says reply 'enable' to enable this to andrew1431.

    I reply JUST 'enable' (without quotes) and nothing happens server side. The problem here definately is:

    [INFO] Could not read incoming mail!

    but it also might be this:

    When I replied to the message this is what my phone replied back:

    enable
    You can contact me at <my number>
    Vous pouvez me joindre au <my number>.

    It is adding the You can contact me at <my number> it self. Could this be interfering with whatever interprets the text message?
    only assuming this because its not just enable that gets replied. Also: how do you fix the [INFO] Could not read incoming mail! Many people seem to be having trouble with this.

    Now I'm getting a reply that says its linked to Andrew1431, but its not linking in game it seems. It still says they're not linked when I try to text even though I get a confirmation in text.

    And after a long 3 hours of frustration I have finally gotten the plugin to work like a charm! I am now willing to answer anybody's questions because I have figured out how everything works!

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

    zorky

    Using [953], and your most updated version of TextSend.
    I've tried all three ports, 25, 587, 465... no dice. I've tried cell/email, no dice, so definitly SMTP problem.
    Help? :)

    *note, was just thinking, I'm going to update java on the pc I'm running my server on and see if that helps*

    Server: zork.myftp.org:8010

    Error:
    Code was here, but not needed, redundant, java environment just needed updated.

    Config:

    Code:
    #Mon Jul 04 04:33:06 EDT 2011
    Username=icyzorkmc
    SMTPPort=587
    IMAPHost=imap.gmail.com
    Password=
    SMTPHost=smtp.gmail.com
    PasswordEncrypted=--Set--
    IMAPPort=993


    Why is it that the last thing you think of after you've already asked for help, always works!

    anyway, this may be OBVIOUS, but you may want to make a minor note for people to make sure their JAVA environment files are completely up to date. Just updated it as an "i wonder if this will help..." and sure enough it works now.

    Make sure java is updated on the server your running! :)

    otherwise, now this issue.

    all things up to date(last post)

    Code:
    05:11:27 [INFO] Could not read incoming mail!
    05:11:27 [SEVERE] javax.mail.AuthenticationFailedException: [ALERT] Web login required: http://mail.google.com/support/bin/answer.py?answer=78754 (Failure)
    05:11:27 [SEVERE]       at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:660)
    05:11:27 [SEVERE]       at javax.mail.Service.connect(Service.java:295)
    05:11:27 [SEVERE]       at TextPlayer.Mailer$2$1.run(Mailer.java:140)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  16. Offline

    DenDimi

    Hey!

    Just a question but can you also add carriers from other countrys like Belgium, The Netherlands, France, etc... (Europe)
    If so, maby you could ad: Proximus, Base, Mobistar, jim mobile, TMF moblile.
    Tanks in advance :)

    GreetZ
     
  17. Offline

    zorky

    Any carrier can easily be added. If you want it added more quickly, contact your phone providers and ask for their SMS gateways, otherwise, your just creating work for Codismus. If you find it, and want to use it, open up the gateways config file format it according to his scheme, and vala should work! Or at least Cod will appreciate you finding it, as it'll take him two seconds to add into his mod.

    Cheers!
     
    Codisimus likes this.
  18. Offline

    Andrew1431

    This is what frustrated me to no end. What I did to fix it was after I got everything working, (after I messed around with the ports and stuff in the email config) I deleted that file, made a new gmail account(just so my normal isn't spammed), reloaded server so it regenerated it with everthing at the very defaultest, entered this new gmail information in, including for username: <name>'@gmail.com' (I see you put just icyzorkmc try [email protected]) Make sure also that if you have a virus scanner that its not blocking email servers as it did this for me, and caused a bit of frustration!

    This should fix all yar problems if not, I can be of no other assistance!
     
  19. Offline

    Codisimus

    @Andrew1431
    @zorky
    just to clarify, are you guys all set? or still having problems. I'm working on adding an authentication but couldn't work much on the holiday weekend
     
  20. Offline

    Lupus

    when i try to put in my phone number, i type this: /text add at&t 1916425**** and it returns with:
    Sending confirmation text...
    Sending message...
    send failed

    any help please?
     
  21. Offline

    Pim1234

    are you going to add
    Hi from the Netherlands?
     
  22. Offline

    killergee100

    hello, i get an error when i try and test it with my self. i am typing "/text add At&t {my number} (should it be like xxx-xxx-xxxx or what format?) and then it says succesfull. but when i try an d text my phone it says failed
     
  23. Offline

    KuroSnow

    I've noticed this requires SQL Lite, any chance of making it MySQL compatible? I already have MySQL installed for other things.
     
  24. Offline

    JacKlink01

    This plugin wont load.. says "is this plugin up to date". ive downloaded multiple times and still get the same error when i run it on 953
     
  25. Offline

    Codisimus

    its not SQL Lite...
     
  26. Offline

    treymok

    Any news yet?
     
  27. Offline

    Codisimus

    no sorry, very busy weekend and I have a lot to work on for all my plugins
     
  28. Offline

    treymok

    No problem. I completely understand.
     
  29. Offline

    imerej

    Can you add support for T-Mobile.pl (from Poland)?
     
  30. Offline

    KuroSnow

    My bad. Swore it was. =)

    Keep on =)
     
  31. Offline

    insanj

    Not working. Got this message, running the most current CB build.

    Code:
    >23:18:50 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to TextPlayer
    java.lang.NoClassDefFoundError: javax/mail/Address
    at TextPlayer.Mailer.sendMsg(Mailer.java:48)
    at TextPlayer.TextPlayerPlayerListener.onPlayerCommandPreprocess(TextPlayerPlayerListener.java:35)
    at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:272)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:704)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: javax.mail.Address
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    ... 15 more
     

Share This Page