[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

    eRko16

    Please help me i tryed it 100 times! rr server again rr server again and every time the same error.

    Sending message...
    Sending failed...
     
  3. Offline

    Codisimus

    Do you see "mail.jar" in the "lib" folder?
     
  4. Offline

    eRko16

  5. Offline

    Codisimus

    And you completely restarted the server, not just related it?
     
  6. Offline

    eRko16

    yes i copletely restarted my server.
     
  7. Offline

    Codisimus

    Are you still getting the error you posted above? Did you set up your own email address? For legal reasons I cannot allow you to use the default email address anymore.
     
  8. Offline

    eRko16

  9. Offline

    victor728

    • can you add sonera
     
  10. Offline

    Noskillz77

    Hello, I'm getting these errors:
    Code:
    [SEVERE] Could not pass event PLAYER_JOIN to TextPlayer
    java.util.ConcurrentModificationException
        at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:761)
        at java.util.LinkedList$ListItr.next(LinkedList.java:696)
        at TextPlayer.TextPlayerPlayerListener.onPlayerJoin(TextPlayerPlayerListener.java:160)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:206)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:94)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:95)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    17:07:25 [INFO] First person. Skipping.
    17:07:45 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to TextPlayer
    java.lang.NoClassDefFoundError: javax/mail/Address
        at TextPlayer.TextPlayer.sendMsg(TextPlayer.java:203)
        at TextPlayer.TextPlayerPlayerListener.onPlayerCommandPreprocess(TextPlayerPlayerListener.java:131)
        at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:230)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:667)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:638)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:632)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    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
    
    when I log in and then try to send myself a text message. I think I set up my email address properly in the config file. Looks like this:

    #Wed May 04 17:07:17 EDT 2011
    EmailUser=[email protected]
    EmailPort=465
    EmailPasswordEncrypted= <some kind of encrypted stuff>
    useisOp()=false
    DisableTextWhenOnline=false
    EmailHost=smtp.gmail.com
    EconomyPlugin=iConomy
    EmailPassword= (I put my email password here, it disappeared after I loaded up the server [I assume it was encrypted])

    No idea whats going wrong. Thanks for your help.
     
  11. Offline

    Codisimus

    try restarting the server

    cant find sonera.

    I dont think its supported

    added

    do you mean Swisscom?

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

    Neoinr

    Any chance you could add Vodafone Australia while you are at it? Much appreciated
     
  13. Offline

    Syrena

    i try text add Optus but it says network not supported?
     
  14. Offline

    Neoinr

    have you updated since he posted that?
     
  15. Offline

    Syrena

    yeah i updated i got past that but when i text my self now it says sending message failed
     
  16. Offline

    Neoinr

    A) make sure you have installed plugin, fully shut down and then started up
    B) go into the plugin folder and make sure you have configured the email address
     
  17. Offline

    Codisimus

    Thanks for the help :) I still can't figure out why it requires a restart
     
  18. Offline

    Syrena

    still cant do it and you make a tut for me if possible or a guide step by step that might help?
     
  19. Offline

    Codisimus

    I can do that but I won't be home for a while
     
  20. Offline

    Syrena

    when ever you can is fine.
     
  21. Offline

    Dr_Nick_UK

    I keep getting the Sending message, Sending failed (instantly) error when trying to use email. I have an email address set up for this but I'm wondering if its a problem with the firewall that is built into MineOS (the minecraft server I'm using) that's causing the problem. I've tried editing the iptables-rules and adding the outgoing port 465 (-A OUTPUT -p tcp -m tcp --dport 465 -j ACCEPT) and added it to Output Accept, but not being linux literate, I'm not sure if that is the correct way!?!
     
  22. Offline

    Codisimus

    https://sites.google.com/site/codys...testplugins/TextPlayer.jar?attredirects=0&d=1
    If your try this I turned on debugging
     
  23. Offline

    Dr_Nick_UK

    Thanks for the quick response, I got loads of errors when starting that version but the plugin still seemed to run and gave me the following dug errors

    2011-05-05 23:37:34 [INFO] DEBUG: setDebug: JavaMail version 1.4.4
    2011-05-05 23:37:34 [INFO] DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc]
    2011-05-05 23:37:34 [INFO] DEBUG SMTP: useEhlo true, useAuth true
    2011-05-05 23:37:34 [INFO] DEBUG SMTP: trying to connect to host "smtp.gmail.com", port 465, isSSL true
    2011-05-05 23:37:35 [INFO] Send Failed
     
  24. Offline

    Codisimus

    you sure the send to address is valid?
     
  25. Offline

    N3rd

    can you add texting from the console? thanks. (console number)
     
  26. Offline

    Codisimus

    not sure wut you mean by this
     
  27. Offline

    Dr_Nick_UK

    Yeh, I can log into the gmail account with the username copied out of the config.properties.
    I'm convinced it's a firewall problem, as I'm not very familiar with the method of opening ports.....I need to do more reading on it.
     
  28. Tried to add my own carrier, didnt let me
    Even though you say "Orange" is supported, it just said "Carrier Orange is not supported"

    I'm in the UK, maybe you should add Orange-UK :')

    Edit: - Server restart let me add the number now here is my error:

    i do /text eastonch Hello test test test
    and i tried this a few times...
    CONSOLE: Sending Message...
    CONSOLE: Send Failed
    CONSOLE: Sending Message...
    CONSOLE: Send Failed
    CONSOLE: Sending Message...
    CONSOLE: Send Failed


    Ok, redid the config a bit, got my e-mails setting workin (lol.)
    now when i try to add my number to the ORANGE carrier, it gives me this error in the e-mails.

    Delivery to the following recipient failed permanently:

    ************@orange.net

    Technical details of permanent failure:
    Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 5.7.1 <*********@orange.net>: Recipient address rejected: User unknown (state 14).

    I know the number is correct, unless i need to add a Code?
     
  29. Offline

    Neoinr

    Just to let you know, your Optus Gateway doesn't work. I had seen it listed before, but I've done my research and I can conclusively tell you that no Australian Providers have sms gateways.
     
  30. Offline

    Codisimus

    try adding a zero before your number.
    I thought the same thing but found that gateway listed, of course I can't test any of these.
     
  31. Offline

    greb

    i'm sorry yeah i mean Swisscom from Switzerland that woud be so awsome :)
     

Share This Page