[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


    These go in your save folder:
    This goes in your /lib folder:
  3. Offline


    With the new beta, I'm getting:

    12:17:28 [INFO] Could not read incoming mail!
    12:17:28 [SEVERE] java.lang.NullPointerException
    12:17:28 [SEVERE] at TextPlayer.TextPlayer$1.run(TextPlayer.java:256)

    I used the config, mail.jar, and gateways in the post above.
  4. Offline


    do you have the correct email settings?
  5. Offline


    I can receive messages to my phone, but I cannot reply. It works one way only.
  6. Offline


    @ Codisimus when at least "Sunrise-Switzerland" will be avaible?
  7. Offline


    you can only reply with the beta version
  8. Offline


    I have the beta version. That's what I said in my other post. I have the beta version, with the latest configs and mail.jar. Everything works from Minecraft -> GMail -> cell phone, but not the other way around. TextPlayer pops this message up on server start

    12:17:28 [INFO] Could not read incoming mail!
    12:17:28 [SEVERE] java.lang.NullPointerException
    12:17:28 [SEVERE] at TextPlayer.TextPlayer$1.run(TextPlayer.java:256)
    So for some reason, it can't scrape my Gmail account, but it can send messages to it.

    #Mon May 23 12:10:08 EDT 2011
    PasswordEncrypted=##### <-- password censored
    #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
    #Supports iConomy and BOSEconomy
    #If set to true, Permissions will be overlooked
  9. Offline


    same here .... beta version ... CB 803 ... all config files are fresh minus acct info, texting from game works but not TEXTING TO GAME ... please help!
  10. Offline


    can you show me the rest of the error? so I can try to narrow down when it is happening
  11. Offline


    That is the entire error! It's only 3 lines long. If you'd like, I can provide you with a copy of my TextPlayer .jars and configs.
  12. Offline


    that won't be necessary, but it says this after saying "TextPlayer is enabled" right?
  13. Offline


    What ports do you have to foward and can u give me an example of how the config should look with a yahoo email

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


    What format of number should I enter? I enter +7965xxxxxxx, and it fails to send.
  15. Offline


    It says it after the entire server finishes loading... about 3-4 seconds after. Maybe a plugin conflict? I can list you the plugins my server runs.
  16. Offline


    So let's say I use Essentials and I give somebody the admin permission node.
    If they text /time day, will it turn it to daytime even if they don't have permission to do it?
    And if you do have permission to, you can, right?
  17. Offline


    I've created a small logo for your plugin, if you'd like to use it :)

  18. Offline


  19. Offline


    10:22:30 [INFO] Sending Message...
    10:22:30 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to TextPlayer
    java.lang.NoClassDefFoundError: javax/mail/Address
        at TextPlayer.TextPlayer.sendMsg(TextPlayer.java:301)
        at TextPlayer.TextPlayerPlayerListener.onPlayerCommandPreprocess(TextPlayerPlayerListener.java:182)
        at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:271)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:712)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:684)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
        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:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 15 more
    It wont send the message but I think I have everything set up right.
  20. Offline


    Updated to support essentials econ and sending text commands to server. please repost any problems that are still occuring
  21. Offline


    Hey, i am getting this error:
    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
  22. Offline


    i get this.
    2011-06-03 07:33:35 [INFO] Starting minecraft server version Beta 1.6.6
    2011-06-03 07:33:35 [INFO] Loading properties
    2011-06-03 07:33:35 [INFO] Starting Minecraft server on
    2011-06-03 07:33:35 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-g3fc0460-b818jnks (MC: 1.6.6)
    2011-06-03 07:33:35 [INFO] Preparing level "world"
    2011-06-03 07:33:35 [INFO] Preparing start region for level 0
    2011-06-03 07:33:35 [INFO] Preparing start region for level 1
    2011-06-03 07:33:36 [INFO] Preparing spawn area: 52%
    2011-06-03 07:33:36 [INFO] [Permissions] (Yeti) was initialized.
    2011-06-03 07:33:36 [INFO] [AdminChat] Connected to Permissions.
    2011-06-03 07:33:36 [INFO] [AdminChat] Version 0.4.0 enabled successfully.
    2011-06-03 07:33:36 [INFO] iChat (v2.3.0) enabled
    2011-06-03 07:33:36 [INFO] [MineMail] v 1.3 is initializing
    2011-06-03 07:33:36 [INFO] iConomy = false
    2011-06-03 07:33:36 [INFO] [Permissions] version [3.1.2] (Yeti)  loaded
    2011-06-03 07:33:36 [INFO] [AdminChat] Connected to Permissions.
    2011-06-03 07:33:36 [INFO] [iChat] Found Permissions (v3.1.2)
    2011-06-03 07:33:36 [INFO] [MineMail]  Hooked into Permissions version 3.1.2.
    2011-06-03 07:33:36 [INFO] [MineMail] v 1.3 is initialized
    2011-06-03 07:33:36 [SEVERE] java.io.FileNotFoundException: lib\mail.jar (The system cannot find the path specified)
    2011-06-03 07:33:36 [SEVERE]     at java.io.FileOutputStream.open(Native Method)
    2011-06-03 07:33:36 [SEVERE]     at java.io.FileOutputStream.<init>(Unknown Source)
    2011-06-03 07:33:36 [SEVERE]     at java.io.FileOutputStream.<init>(Unknown Source)
    2011-06-03 07:33:36 [SEVERE]     at TextPlayer.TextPlayer.moveFile(TextPlayer.java:119)
    2011-06-03 07:33:36 [SEVERE]     at TextPlayer.TextPlayer.checkFiles(TextPlayer.java:84)
    2011-06-03 07:33:36 [SEVERE]     at TextPlayer.TextPlayer.onEnable(TextPlayer.java:66)
    2011-06-03 07:33:36 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    2011-06-03 07:33:36 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    2011-06-03 07:33:37 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    2011-06-03 07:33:37 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
    2011-06-03 07:33:37 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    2011-06-03 07:33:37 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    2011-06-03 07:33:37 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    2011-06-03 07:33:37 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    2011-06-03 07:33:37 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-06-03 07:33:37 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-03 07:33:37 [SEVERE] Exception in thread "Thread-6"
    2011-06-03 07:33:37 [SEVERE] java.lang.NoClassDefFoundError: javax/mail/Session
    2011-06-03 07:33:37 [SEVERE] Error occurred while enabling TextPlayer v0.5 (Is it up to date?): com/nijikokun/register/payment/Methods
    java.lang.NoClassDefFoundError: com/nijikokun/register/payment/Methods
        at TextPlayer.PluginListener.<init>(PluginListener.java:15)
        at TextPlayer.TextPlayer.onEnable(TextPlayer.java:73)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.nijikokun.register.payment.Methods
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        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(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        ... 12 more
    2011-06-03 07:33:37 [SEVERE]     at TextPlayer.TextPlayer$1.run(TextPlayer.java:207)
    2011-06-03 07:33:37 [SEVERE] Caused by: java.lang.ClassNotFoundException: javax.mail.Session
    2011-06-03 07:33:37 [INFO] Done (0.182s)! For help, type "help" or "?"
    2011-06-03 07:33:37 [SEVERE]     at java.net.URLClassLoader$1.run(Unknown Source)
    2011-06-03 07:33:37 [SEVERE]     at java.security.AccessController.doPrivileged(Native Method)
    2011-06-03 07:33:37 [SEVERE]     at java.net.URLClassLoader.findClass(Unknown Source)
    2011-06-03 07:33:37 [SEVERE]     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    2011-06-03 07:33:37 [SEVERE]     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    2011-06-03 07:33:37 [SEVERE]     at java.lang.ClassLoader.loadClass(Unknown Source)
    2011-06-03 07:33:37 [SEVERE]     at java.lang.ClassLoader.loadClass(Unknown Source)
    2011-06-03 07:33:37 [SEVERE]     at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    2011-06-03 07:33:37 [SEVERE]     ... 1 more
    2011-06-03 07:33:56 [INFO] Stopping the server..
    2011-06-03 07:33:56 [INFO] Stopping server
    2011-06-03 07:33:56 [INFO] [AdminChat] Version 0.4.0 disabled successfully.
    2011-06-03 07:33:56 [INFO] [iChat] iChat Disabled
    2011-06-03 07:33:56 [INFO] [MineMail] v 1.3is disabled
    2011-06-03 07:33:56 [INFO] [Permissions] (Yeti) saved all data.
    2011-06-03 07:33:56 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-06-03 07:33:56 [INFO] [AdminChat] Connected to Permissions.
    2011-06-03 07:33:56 [INFO] [iChat] Permissions plugin lost.
    2011-06-03 07:33:56 [INFO] Saving chunks
    2011-06-03 07:33:56 [INFO] Saving chunks
    2011-06-03 07:33:56 [INFO] Stopping server
  23. Offline


    You should add an option to change the ports used to receive and send mail in the email.properties file
  24. Offline


    Is the plugin supposed to create the lib and save folders? If so, mine isn't; all it creates is these four files- config.properties, email.properties, emails.save, and sms.gateways. All of these files are located in the TextPlayer folder that is created when you start the jar. Also what is this mail.jar that keeps showing up in the errors?
    09:23:13 [SEVERE] java.io.FileNotFoundException: lib/mail.jar (No such file or directory)
    09:23:13 [SEVERE]     at java.io.FileOutputStream.open(Native Method)
    09:23:13 [SEVERE]     at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    09:23:13 [SEVERE]     at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    09:23:13 [SEVERE]     at TextPlayer.TextPlayer.moveFile(TextPlayer.java:121)
    09:23:13 [SEVERE]     at TextPlayer.TextPlayer.checkFiles(TextPlayer.java:86)
    09:23:13 [SEVERE]     at TextPlayer.TextPlayer.onEnable(TextPlayer.java:76)
    09:23:13 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    09:23:13 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    09:23:13 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    09:23:13 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
    09:23:13 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    09:23:13 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    09:23:13 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    09:23:13 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    09:23:13 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    09:23:13 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    09:23:13 [INFO] TextPlayer 0.4.1 is enabled!
    09:23:13 [SEVERE] Exception in thread "Thread-6"
    09:23:13 [INFO] TextPlayer Successfully linked with Permissions!
    09:23:13 [SEVERE] java.lang.NoClassDefFoundError: javax/mail/Session
    09:23:13 [SEVERE]     at TextPlayer.TextPlayer$1.run(TextPlayer.java:221)
    09:23:13 [SEVERE] Caused by: java.lang.ClassNotFoundException: javax.mail.Session
    09:23:13 [SEVERE]     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    09:23:13 [SEVERE]     at java.security.AccessController.doPrivileged(Native Method)
    09:23:13 [SEVERE]     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    09:23:13 [SEVERE]     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    09:23:13 [SEVERE]     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    09:23:13 [SEVERE]     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    09:23:13 [SEVERE]     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    09:23:13 [SEVERE]     ... 1 more
    09:23:13 [INFO] Done (0.461s)! For help, type "help" or "?"
    Please help, I am REALLY interested in this plugin.
  25. Offline


    mail.jar is wut is used to send and receive messages, It gets put in the /lib folder. If there is no /lib folder then you have to create it yourself. You can also manually move the mail.jar from inside the TextPlayer.jar file to the /lib folder.
  26. Offline


    its not working for me
    it gives me error
    send failed
  27. Offline


    if you set up your email settings right I could give you a debug version to find out why it is not working
  28. Offline


    Thank you for the help, one more thing though is there a separate mail.jar I can download because I can't find a mail.jar anywhere on my computer (in any folder).

    wait... disregard that, I opened the jar separately and it showed up. Once again THANK YOU!

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


    I'm not sure why it doesn't properly copy these files for some users. I think I will add links on the download page later today. Let me know of any other issues
  30. Offline


    Can you please answer?
  31. Offline



    So.. it seems if the mailbox isn't completely empty when the plugin initializes it gets the NPE error found earlier in the thread...

    12:17:28 [INFO] Could not read incoming mail!
    12:17:28 [SEVERE] java.lang.NullPointerException
    12:17:28 [SEVERE] at TextPlayer.TextPlayer$1.run(TextPlayer.java:256)
    This may have to be dealt with in a better manner by the plugin.. what if the address receives a spam message?

    Ok.. my second observation was that once I fixed that issue, and responded to the text with my iPhone.. the response that came back in the game only reads ...


    Nothing else...

    This seems to be the subject of the message, and not the actual message.. I'm not sure why this happens.. maybe its a difference in the way different carriers convert SMS -> E-mails... ? Anyway.. if it helps shed any light, my carrier is AT&T, and the phone I am using is an iPhone....

    Maybe you can somehow test for a subject that only contains RE:, and then parse the message?

    Also.. if its helps... here is what the sms reply contained before it got picked up by the server.

    From: 2155551212@txt.att.net
    Sent:    Saturday, June 04, 2011 11:23 PM
    To:    sms@thenameofmyserver.com
    Subject:    RE:
    This is another test
      -----Original Message-----
      From: sms@thenameofmyserver.com
      Sent: Sat, 4 Jun 2011 22:09:57 -0500
      To: 2155551212@txt.att.net
    >RchGrav: hello
    This mobile text message is brought to you by AT&T

Share This Page