[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

    check your save file maybe it lists you twice
     
  3. Offline

    MiracleM4n

    This is with the one that you just sent the link for. And I am not listed twice, Everything I type it just spews out the unknown command thing
     
  4. Offline

    Codisimus

    can I get on your server and try it out?
     
  5. Offline

    MiracleM4n

    Yep, Same IP, WIP.D3GN.NET.
     
  6. Offline

    MaesterKupo

    I created an account on these forums for the sole purpose of discussing this with you. >.< I downloaded the most recent version and I'm using a remote server hosting but I have full access to my files and etc. However, it does NOT create the Text Folder inside of my plugins. Lib yes, Text folder, no. Any help would be appreciated!

    Weird. =P After like the SEVENTH OR EIGHTH server restart, it worked. Time to test!!!

    WORKS! YOU ARE BEAUTIFUL HUMAN BEING!

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

    jor956

    Code:
    2011-06-15 04:02:30 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to TextPlayer
    java.lang.NoClassDefFoundError: javax/mail/Address
    at TextPlayer.Mailer.sendMsg(Mailer.java:46)
    at TextPlayer.TextPlayerPlayerListener.onPlayerCommandPreprocess(TextPlayerPlayerListener.java:35)
    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:708)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:680)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:673)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:223)
    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:399)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: javax.mail.Address
    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)
    ... 15 more
     
  8. Offline

    Kostronor

    @Codisimus I want to get this to work with my email spezially created for the server, this are all settings (without pass):
    #Wed Jun 15 12:07:15 CEST 2011
    Username=m02020a3
    SMTPPort=587
    IMAPHost=imap.wusebi.de
    Password=
    SMTPHost=smtp.wusebi.de
    PasswordEncrypted=XXX
    IMAPPort=143

    And this is the info provided by my hoster:


    E-Mail-Postfach
    [email protected]

    Benutzername/Kontoname
    m02020a3

    Passwort
    ********

    Posteingangsserver/POP3
    pop3.wusebi.de

    Posteingangsserver/IMAP
    imap.wusebi.de

    Postausgangsserver/SMTP
    smtp.wusebi.de

    Ein-/Ausgangsserver für SSL/TLS
    w00ce737.kasserver.com


    Die Ports lauten wie folgt:
    POP3: 110
    IMAP: 143
    SMTP: 25 (alternativ 587)

    This is german but it should be clear...
    Am i doing something wrong? error is connection refuse:

    2011-06-15 12:07:16 [INFO] Could not read incoming mail!
    2011-06-15 12:07:16 [SEVERE] javax.mail.MessagingException: Connection refused;
    nested exception is:
    java.net.ConnectException: Connection refused
    2011-06-15 12:07:16 [SEVERE] at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:665)
    2011-06-15 12:07:16 [SEVERE] at javax.mail.Service.connect(Service.java:295)
    2011-06-15 12:07:16 [SEVERE] at TextPlayer.Mailer$2.run(Mailer.java:131)
    2011-06-15 12:07:16 [SEVERE] Caused by: java.net.ConnectException: Connection refused
    2011-06-15 12:07:16 [SEVERE] at java.net.PlainSocketImpl.socketConnect(Native Method)
    2011-06-15 12:07:16 [SEVERE] at java.net.PlainSocketImpl.doConnect(Unknown Source)
    2011-06-15 12:07:16 [SEVERE] at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    2011-06-15 12:07:16 [SEVERE] at java.net.PlainSocketImpl.connect(Unknown Source)
    2011-06-15 12:07:16 [SEVERE] at java.net.SocksSocketImpl.connect(Unknown Source)
    2011-06-15 12:07:16 [SEVERE] at java.net.Socket.connect(Unknown Source)
    2011-06-15 12:07:16 [SEVERE] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
    2011-06-15 12:07:16 [SEVERE] at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
    2011-06-15 12:07:16 [SEVERE] at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:288)
    2011-06-15 12:07:16 [SEVERE] at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:231)
    2011-06-15 12:07:16 [SEVERE] at com.sun.mail.iap.Protocol.<init>(Protocol.java:113)
    2011-06-15 12:07:16 [SEVERE] at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:110)
    2011-06-15 12:07:16 [SEVERE] at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:632)
    2011-06-15 12:07:16 [SEVERE] ... 2 more

    Hope you can help me!

    PS:
    I would need this as an administration-plugin, so i am the only one who needs to receive/send mails to/from the server but everyone can contact me with /text <message> or more preferred /adm <message>
    changing command aliases is something i can do, but could you implement a standard email/phone if no user is specified?

    Thanks for this awesome plugin and for the effort to solve this!
     
  9. Offline

    ToastHelmi

    I get this messange
    2011-06-15 12:48:15 [INFO] Sending Message...
    2011-06-15 12:48:15 [INFO] User's Number/Email has not been verified
     
  10. Offline

    NeonAiToruu

    I'm having the same issue as a few people here.

    If I send a command, any command, straight to the email, it's an unknown command.
    Now, if I reply to a text sent to me by the server, it finally recognizes the command, BUT, because it adds the ---original message---, it gives me a too many arguments error, and effectively does nothing. A fix for this very soon would be lovely, fire spreads often on my server, and being able to /ex and /bb rollback environment would make this plugin the most amazing thing EVER.
     
  11. Offline

    Codisimus

    @MaesterKupo
    http://dl.dropbox.com/u/23866327/TextPlayerFiles.zip
    Here is a link of all the need files, if they didn't automatically copy you can place them yourself
    @jor956
    Did you watch the video? If the files didn't copy over see the link above
    @Jellifish
    http://dl.dropbox.com/u/23866327/TextPlayerPermissions2.0/TextPlayer.jar
    Here is a version that works with Permissions 2
    @Kostronor
    For username try [email protected] (or wutever your email address is)
    Don't think it will work but it's worth a try, let me know.
    When you add you email/phonenumber you should receive a confirmation text that you have to reply enable to. If you don't get this then the sms gateway must be wrong. Wut carrier are you using?
    @NeonAiToruu
    Let me guess, you are trying to send it from an email address? Some emails will send it as plain text and html which screws things up (I tried to fix this for about 5 hours last night) for instance when sending an email from my gmail account on the computer it works fine, but from my phone it doesn't work at all. Fixing this is my top priority right now.
     
  12. Offline

    Kostronor

    i've tried [email protected] and the real adress [email protected] and both do not work having the same error.
    Do you think this is something with the settings not rightly set or should i contact my provider?
     
  13. Offline

    DrAgonmoray

    Would it be possible to get TracFone Wireless? ._.
     
  14. Offline

    Codisimus

    there isn't another port for imap?
     
  15. Offline

    Kostronor

    i think not, perhaps i can ask for a custom one but that should not solve our issue...
     
  16. Offline

    Sh00ck

    Hmm
    Can you support A1 in Austria ? (not AUSTRALIA xD)
    That would be really nice :)

    Thanks.
    Sh00ck
     
  17. Offline

    Jesse57

    Can you guys add the carrier Koodo to the list?
     
  18. Offline

    ACStache

    I've been getting the server has come online messages, but I haven't been getting server has gone offline messages. When the server goes off it's because I'm typing 'stop' into the console to make plugin config changes and it never successfully sends a message. Other than that it's working 100%

    On 'stop' I see "[INFO] Sending Message..."
    But never a "[INFO] Message Sent!"
     
  19. Offline

    Codisimus

    this is bc Permissions shuts down b4 TextPlayer does, I'm trying to find a way around this
     
  20. Offline

    ACStache

    oh, ok. good luck!
     
  21. Offline

    Codisimus

    just wondering do ppl really need to know when the server goes offline?
     
  22. Offline

    ACStache

    most likely not. and if it can't really send a message if the server crashes anyways, there isn't really a need for offline message for me anyways. I can understand if someone is renting server space it might be nice, but for me I don't need it. if it's the people that frequent your server it'd be nice to inform them, but that's if they even watch the server status.
     
  23. Offline

    Codisimus

    if they want to know if the server is on they can just send pl and if they get back a player list the server is running
     
  24. Offline

    JacKlink01

    anyway to prevent all the junk that AT&T puts after your message when you send to the server? It prevents almost any command from working and "say" is extremely spammy. Could you make it so it auto-erases everything after and including "-------Original Message-----" Or do you know a better way to disable that message entirely?
     
  25. Offline

    Codisimus

    well I'm working on fixing email support which includes fixing what your talking about
     
  26. Offline

    MiracleM4n

    Yay for Codisimus' continued effort to work out all the kinks :D
     
  27. Offline

    Codisimus

    @JacKlink01
    @MiracleM4n
    And all the kinks worked out they are.
    UPDATE! Check the ChangeLog
    I shouldn't have to update this again for a while.

    Koodo - added
    A1 - not found
    TracFone Wireless - http://freesms.1888usa.com/revcell.htm <- use that to find the carrier
    NetCom - added
    Vodafone - I could only find Vodafone Spain
    TMN - added
    Optimus - added
    3 - not found
    TDC - already supported
    Telenor - maybe already supported, I found Tele but I don't think that is the same thing
    Telia - already supported
    Bibob - not found
    Call Me - not found
    Lebara - not found
    M1 - not found
     
  28. Offline

    jor956

    Yes I did everything exactly right..
     
  29. Offline

    rasmussen_d

    I am able to add myself into the list, however once I try to send myself a message after I have added and confirmed myself I get this...

    Code:
    23:37:01 [SEVERE] java.net.SocketException: Socket closed[/SIZE]
    [SIZE=2]2011-06-15 23:37:01 [SEVERE]     at java.net.SocketOutputStream.socketWrite(Unknown Source)[/SIZE]
    [SIZE=2]2011-06-15 23:37:01 [SEVERE]     at java.net.SocketOutputStream.write(Unknown Source)[/SIZE]
    [SIZE=2]2011-06-15 23:37:01 [SEVERE]     at java.io.BufferedOutputStream.flushBuffer(Unknown Source)[/SIZE]
    [SIZE=2]2011-06-15 23:37:01 [SEVERE]     at java.io.BufferedOutputStream.flush(Unknown Source)[/SIZE]
    [SIZE=2]2011-06-15 23:37:01 [SEVERE]     at java.io.DataOutputStream.flush(Unknown Source)[/SIZE]
    [SIZE=2]2011-06-15 23:37:01 [SEVERE]     at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)[/SIZE]
    [SIZE=2]2011-06-15 23:37:37 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to TextPlayer[/SIZE]
    [SIZE=2]java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getUserObject(Ljava/lang/String;Ljava/lang/String;)Lcom/nijiko/permissions/User;[/SIZE]
    [SIZE=2]    at TextPlayer.User.isAdmin(User.java:48)[/SIZE]
    [SIZE=2]    at TextPlayer.TextPlayerPlayerListener.onPlayerCommandPreprocess(TextPlayerPlayerListener.java:190)[/SIZE]
    [SIZE=2]    at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:271)[/SIZE]
    [SIZE=2]    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)[/SIZE]
    [SIZE=2]    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)[/SIZE]
    [SIZE=2]    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:706)[/SIZE]
    [SIZE=2]    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)[/SIZE]
    [SIZE=2]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:671)[/SIZE]
    [SIZE=2]    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)[/SIZE]
    [SIZE=2]    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)[/SIZE]
    [SIZE=2]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)[/SIZE]
    [SIZE=2]    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)[/SIZE]
    [SIZE=2]    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)[/SIZE]
    [SIZE=2]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)[/SIZE]
    [SIZE=2]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    [/CODE][/SIZE]
     
  30. Offline

    Codisimus

    So are the needed files there or not?
    @rasmussen_d
    Are you using the version I uploaded last night? If so wut version of Permissions are you using?
     
  31. Offline

    ToastHelmi

    ToastHelmi said:
    I get this messange
    2011-06-15 12:48:15 [INFO] Sending Message...
    2011-06-15 12:48:15 [INFO] User's Number/Email has not been verified​

    When you add you email/phonenumber you should receive a confirmation text that you have to reply enable to. If you don't get this then the sms gateway must be wrong. Wut carrier are you using?

    im using google mail i tryed to send an email
     

Share This Page