[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

    You need to create an email address and then fill out the setting in the config file for your new email account. I'll be glad to help if you have problems setting it up.
    PS. sorry for suddenly cutting you (and everyone else) off from using the default email
     
  3. Offline

    maveriik

    Its okay I did it.. thanks
     
  4. Offline

    Codisimus

    you would've had to do this eventually if you want to send texts back to the server (once I finish coding it)
     
  5. Offline

    maveriik

    lol so its kind of an okay thing... btw.. if you don't mind my asking... do you have an eta on sending texts/commands back to the server.. I know the command part is probably harder to code..
     
  6. Offline

    Codisimus

    I'm just trying to get it to work without lagging too much. I'll tell you wut, I'll work on this a lot tonight to get a test build running. I also could use suggestions of what commands people will want to run from a phone
     
  7. Offline

    maveriik

    Wow kewl! lets see and for the commands.... (I don't know if you can do these, just throwing out suggestions) heres some that came to my head.

    Code:
    ban
    kick
    say
    reload
    msg
    mail (from essentials)
    teleporting would be sickk ex tp (player1) to (player2)
    time commands
    weather commands
     
  8. Offline

    Codisimus

    I proly won't be doing anything with essentials but the rest I think I can do.
     
  9. Offline

    John2k4

    Ran into a sort of spam error with this today...

    I had been running 0.3 of this plugin, and had set it to watch for and send me a text when my username joins (make sure plugin works). However, when I updated to version 0.4 and logged in, it sent me a flood of texts in quick succession...
    Code:
    2011-04-29 20:14:47 [INFO] John2k4 [/127.0.0.1:57313] logged in with entity id 239
    2011-04-29 20:14:47 [INFO] Sending Message...
    2011-04-29 20:14:47 [INFO] Sending Message...
    2011-04-29 20:14:47 [INFO] Sending Message...
    2011-04-29 20:14:47 [INFO] Sending Message...
    2011-04-29 20:14:47 [INFO] Sending Message...
    2011-04-29 20:14:47 [INFO] Sending Message...
    2011-04-29 20:14:47 [INFO] Sending Message...
    2011-04-29 20:14:47 [INFO] Sending Message...
    2011-04-29 20:14:47 [INFO] Sending Message...
    2011-04-29 20:14:47 [INFO] Sending Message...
    2011-04-29 20:14:47 [INFO] Sending Message...
    2011-04-29 20:14:47 [INFO] Send Failed
    2011-04-29 20:14:48 [INFO] Send Failed
    2011-04-29 20:14:52 [INFO] Message Sent!
    2011-04-29 20:14:53 [INFO] Message Sent!
    2011-04-29 20:14:53 [INFO] Message Sent!
    2011-04-29 20:14:53 [INFO] Message Sent!
    2011-04-29 20:14:53 [INFO] Message Sent!
    2011-04-29 20:14:53 [INFO] Message Sent!
    2011-04-29 20:14:54 [INFO] Message Sent!
    2011-04-29 20:14:54 [INFO] Message Sent!
    2011-04-29 20:14:54 [INFO] Message Sent!
    http://i211.photobucket.com/albums/bb309/roger3245/tm.jpg

    It's doing this each time I log on, and resetting the watch on myself doesn't seem to do anything to fix it...
     
  10. Offline

    Codisimus

    it must be in error in converting the save file. can you paste your save file here?
     
  11. Offline

    John2k4

    Yeah, I'll send it in a PM, just to be safe. ;)
     
  12. Offline

    proscoo

    Codisimus, i tested it without any caps and stuff, and it works :) thanks
     
  13. Offline

    Devian50

    Not to burst your bubble but if you have an Android phone there is a plugin that allows you to monitor your server including chat and pretty much anything you can do through the console. Though I would gladly use this seeing as I am stuck with my Xenon (friggin hate LG phones) so GOOD WORK! BTW for replying to the server you could set up a sort of email forwarding service so when you register your phone number into a server it will go to a kind of webserver that will pair that phone number to your IGN as well as the server IP so when a text it received by the email address it is forwarded to the server. Though that method would require some money to set up a webserver...

    Also are the cellphone numbers and/or email addresses viewable by server admins?
     
  14. Offline

    Wraggzeh

    Great Plugin, But When I Try To Add My Number Is Says "Network Three Not Supported", Yet It Says Its Supported In The Thread.
     
  15. Offline

    Codisimus

    This plugin does more than monitor your server, It allows multiple admins to monitor along with let users text each other and be alerted when someone logs on. Can the android app alert your when some1 places tnt? (well that feature doesnt seem to be working right yet but it will soon) Anyway all the number/email addresses are encrypted

    Still trying to figure out why this is happening, try restarting the server or typing "three" instead of "Three"
     
  16. Offline

    allisgood888

    Whenever I add a number or email, and yes correctly, it shows the help screen again.
     
  17. Offline

    RyanTheLeach

    I'm weary to use this plugin without knowing more details on how it txt's to telstra customers, you mentioned txtjet but they don't list telstra as a provider, any details?
     
  18. Offline

    Mike A

    I can provide you custom emails on my web server if you like (pm me).
    Includes SMTP, IMAP, POP*.
     
  19. Offline

    Devian50

    Oh ok. I wasnt too sure if more than one admin was allowed. if you have a plugin that does so and outputs it to console(which grief alertr does) then yes. Awesome about the encryption.
     
  20. Offline

    maveriik

    ooh and one other thing... if when you watch to see if someone logs on... it would be cool to be able to receive a message when they log off too... if thats possible
     
  21. Offline

    Codisimus

    Does this still occur after a server restart?
    It sends texts by using an sms gateway. So basically it sends an email to your phone. It is free for most carriers, but some make you sign up to use it at an extra cost. If you need more info pm me or google "sms gateway telstra"
    I am going to contact the developers of some grief alerting plugins and see if they want to use this plugin to allow text alerts as well as server log alerts
    I will be adding this along with an anti-spam feature so if they log back on within ~2 minutes you don't get a text saying the logged out. (however you wouldn't know they logged out till 2 minutes later)
     
  22. Offline

    allisgood888

    Yes it does.
     
  23. Offline

    Codisimus

    This issue never happens no matter what I test. mind if I hop on your server to test it out?
     
  24. Offline

    allisgood888

    I'll get back to you on that tomorrow, alright? Gotta go soon.
     
  25. Offline

    Devian50

    lol are you possibly recycling code? because this sounds alot like the problem you have with ButtonWarp! just an idea: @allisgood888 try at the end of the /text add etc. press space then put a random letter or something. that has a small chance of working... IDK I am not a coder but it sure sounds like another problem in ButtonWarp! good luck!
     
  26. Offline

    Simon Smith

    i keep getting an error everytime i run the server with the plugin
    Code:
    16:05:13 [SEVERE] java.io.FileNotFoundException: plugins/TextPlayer/config.properties (No such file or directory)
    16:05:13 [SEVERE]       at java.io.FileOutputStream.open(Native Method)
    16:05:13 [SEVERE]       at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    16:05:13 [SEVERE]       at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    16:05:13 [SEVERE]       at TextPlayer.TextPlayer.loadConfig(TextPlayer.java:193)
    16:05:13 [SEVERE]       at TextPlayer.TextPlayer.onEnable(TextPlayer.java:92)
    16:05:13 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    16:05:13 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
    16:05:13 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
    16:05:13 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    16:05:13 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    16:05:13 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    16:05:13 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    16:05:13 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    16:05:13 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    16:05:13 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    16:05:13 [SEVERE] java.io.FileNotFoundException: plugins/TextPlayer/sms.gateways (No such file or directory)
    16:05:13 [SEVERE]       at java.io.FileOutputStream.open(Native Method)
    16:05:13 [SEVERE]       at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    16:05:13 [SEVERE]       at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    16:05:13 [SEVERE]       at TextPlayer.TextPlayer.loadConfig(TextPlayer.java:216)
    16:05:13 [SEVERE]       at TextPlayer.TextPlayer.onEnable(TextPlayer.java:92)
    16:05:13 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    16:05:13 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
    16:05:13 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
    16:05:13 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    16:05:13 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    16:05:13 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    16:05:13 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    16:05:13 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    16:05:13 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    16:05:13 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    16:05:13 [INFO] TextPlayer 0.4 is enabled!
    16:05:13 [INFO] TextPlayer Successfully linked with Permissions!
    and then this being followed, howeven when i stop the server and rertun it the code above disappears
    Code:
    16:03:48 [SEVERE] Could not pass event PLUGIN_ENABLE to TextPlayer
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
            at TextPlayer.PluginListener.onPluginEnable(PluginListener.java:33)
            at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.java:408)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:633)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy
            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)
            ... 13 more
    another peoblem ive got is its cumming up saying 'Vodafone-UK not supported' and also ive looked at the sms.gateways and you cant email '(number)@vodafone.net' cause u get an email back saying 'not found'
    of cause replacing (number) with my uk number

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

    eRko16

    I type /text add T-Mobile-Czech 731047*** and it says T-Mobile-Czech is not supported.

    Now it works but, i try to send message myself but...
    Sending message...
    Sending failed...

    Please help i have T-Mobile-Czech and HTC Tattoo

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

    Simon Smith

    wat was it that you was doing wrong?
    because i keep getting Vodafone-UK is not supported?...
     
  29. Offline

    eRko16

    2011-04-20 14:20:34 [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:228)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:618)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:589)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:583)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    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
     
  30. Offline

    Codisimus

    restart your server and try again
     
  31. Offline

    CainFoool

    W
    Would it be possible if you could add Vodafone Ireland to your list?
     

Share This Page