[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

    They only work with Permissions 3
     
  3. Offline

    Danjio

    how do i confirm it per email? i write enable but but nothing happens <.<
     
  4. Offline

    Jshreder

    Darn, I have PermissionsEx. Oh well, thanks anyways.
     
  5. Offline

    Kartus

    same problem with 0.8 and #935
    i have GroupManager, is this a problem? can you please help @Codisimus? What do you need from me to help me?
     
  6. Offline

    Codisimus

    I'm sorry it won't work if your email doesn't support imap. Why not use gmail?
     
  7. Offline

    ACStache

    @Kartus it's free to get a gmail account, and you can literally set it and forget it. I made a 2nd gmail account specifically for this plugin so I know why I'm getting texted by an email lol.

    @Codisimus I still randomly (sometimes none for a week, sometimes 2 in a day) get a Timed Out error and I have the check mail interval set to 60. Should I try something higher or is it something else I'm not doing right? or is it just gmail that occasionally times out?
     
  8. Offline

    Codisimus

    Well It makes sense that it would time out... do you know about how long b4 it does? I could have it "refresh" every x minutes so you don't have to worry about it timing out (and even if it did timeout it would eventually reconnect)
     
  9. Offline

    ACStache

    unfortunately like I said, it's random between occurrences. if it times out I'm not sure if it ever reconnects, so a refresh might be handy to make sure it keeps going. As it stands I just reboot the server and it's good to go again lol.
     
  10. Offline

    Codisimus

    like you think 24 hours would be good? 5? 1? I guess I could make it configurable and people can let me know wut works best
     
  11. Offline

    ACStache

    24 would work, but a configurable one would work too, I'd probably personally set it to 6 so it's a few times a day
     
  12. Offline

    Codisimus

    ok I'll default to 24 and see if ppl still get the error

    I'll code this now and update in a few (minutes/hours)
     
    ACStache likes this.
  13. Offline

    ACStache

    cool, thanks :)
     
  14. Offline

    Codisimus

    ok, I added it.
    You'll have to regenerate your config file
     
  15. Offline

    ACStache

    cool thanks. will let you know when it happens again what happens afterwards :)
     
  16. Offline

    Squirrelboy1225

    Well, I am the owner of my server (no permissions or anything) and I use this:

    /text add At&t ###-###-####

    and it won't work! It gives the error message:
    Number sent to ###-###-####
    Sending Confirmation Text...
    Sending Message...
    Send Failed

    Help please?
     
  17. Offline

    ACStache

    I know when I tried setting my number up the first time I did 1 ###-###-####, the 1 threw it out of whack and made it not work. It doesn't look like you did that.
    When you punched the number in did you use dashes? That might be a reason it's not working. I put in the 10 digit number with no dashes and it worked. If that isn't what the issue is I've no idea what could be going wrong.
     
  18. Offline

    DigitalPlunder

    Could you please add orange uk to the carriers list :3 <3
     
  19. Offline

    jasonsj10

    When i add my Phone Number to this Plugin it tells me it is sending Confirmation then it says Text Failed I put the thing in as /text add Sprint 5555555555 (Fake Number)

    Edit: Changed it to a Dif Port thing but it says it sends but i get nothen on my phone?? Please Help me i really need this Plugin
     
  20. Offline

    VEN0MXVI

    I dont want to use my phone.. So is it possible for me to us my email to communicate with my server?? Like send a message onto the server?
     
  21. Offline

    Squirrelboy1225

    Okay, so I tried
    /text add At&t 15555555555

    And again, the same failure.

    Well, that's odd. Now it says 'that is already your current number'
    When I use /text squirrelboy1225 hi
    It says 'User's Number/Email has not been verified'
    I never got any verification on my phone, so....

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

    dannybtw

    o2-uk doesnt work just comes up network not supported

    my own fault sorry but not i did/text add o2uk 07596914***it says its send my code but it hasnt :/
     
  23. Offline

    Codisimus

    @Squirrelboy1225
    You sure you set up your email right? If not make sure you watch the video explaining how to do so
    Also maybe trying changing the port like jasonsj10 did.

    @ACStache
    You need to add 10 digit numbers, perhaps I should support 11 as well...
    Also dashes are supported

    @DigitalPlunder
    Orange is supported, did you try it?

    @jasonsj10
    Can I try to add my number on your server? I can log in but I'll need permissions.
    Sprint should work but I haven't tested it.

    @VEN0MXVI
    Instead of typeing '/text add verizon(or wutever carrier) 876 555 9043'
    simply type ' /text add email [email protected]'
    Emails and phones work the exact same so you could still run commands through email.

    @Squirrelboy1225
    I'll will have to fix that but you could change your number to a fake number and then change it back to resend the confirmation text

    @dannybtw
    Perhaps the sms gateway is wrong...
    In the sms.gateways file try changing o2uk to <number>@mmail.co.uk or <number>@mobile.celloneusa.com
    Please let me know if one of those works
     
  24. Offline

    ACStache

    my number's a 10 digit number and it's working :D lol. "(123) 456 - 7890" format
    what I was saying was I originally tried (since I'm in the US and we do this for some numbers) was: 1 (123) 456-7890 with the beginning "1", and not including the parentheses. that made it not work (11 digits at that point).
     
  25. Offline

    Codisimus

    I meant 11 isn't supported lol. I edited it above.
     
  26. Offline

    jor956

    Don't worry, I realised that we don't really need textings :p
     
  27. Offline

    Squirrelboy1225

    I don't really understand this e-mail thing. But here is what is in my email file (using gmail).

    #Wed Jun 29 21:43:38 EDT 2011
    Username=sqrlminecraft
    SMTPPort=25
    IMAPHost=imap.gmail.com
    Password=
    SMTPHost=smtp.gmail.com
    PasswordEncrypted=b9c6LNJszsPxbtULm18X+Q\=\=
    IMAPPort=993

    Okay Codisimus, you have made my day. I got it to work by changing the port to 587. YES, YES, YES!!

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

    jasonsj10

    Sure Why Not :D
     
  29. Offline

    treymok

    Problem I am having is using Sprint the plugin doesn't accept my "enable" replied back from my phone. I get the txt about enabling just fine just the reply doesn't activate it. Texting to my email acct instead of phone works fine.
     
  30. Offline

    ACStache

    reporting back about the refresh: it seems to be working. I have it set to 6 hours (down from the default 24). I don't get any messages that it happens which is nice. Overnight I got another 'timed out' error, and when I woke up, I tried sending a 'say' message to the server, and it worked. Also tried a 'who' command and it sent back a list of online players (which was none at the time).
    So, it's working! Thanks Codisimus!
     
  31. Offline

    FlamingArmor

    hey, it me again, the guy who asked for canadian providers at the beginning of this plugin =) im finding this very useful and really want to thank you, but theres one thing, when texting somone, can you make it so i can type /t Montasia insted of /text Montasia, you dont have to, but it would be a nice time saver! adn esiers to fit the instructions on a sign for ppl! anyways thank you very mush, i can wait to see this pluggin keep progresssing
     

Share This Page