[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

    UPDATE!
    • Improved Security: Thanks @Mikor for helping me with this
    • 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
    Maybe tomorrow I can add allowing sending texts back to server (chatting/running commands)

    The only thing I can find for M1 is Singapore...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  3. Hi,
    What about Vodafone - Greece and COSMOTE - Greece
     
  4. Offline

    jor956

    Telstra - Australia please?
    Thanks :D
     
  5. Offline

    CainFoool

    I attempted to add the three network and got this error in Console
    Code:
    10:30:05 [SEVERE] java.lang.NullPointerException
    10:30:05 [SEVERE]       at TextPlayer.TextPlayerSaveLoad.saveUsers(TextPlayerSaveLoad.java:45)
    10:30:05 [SEVERE]       at TextPlayer.TextPlayerSaveLoad.addUser(TextPlayerSaveLoad.java:77)
    10:30:05 [SEVERE]       at TextPlayer.TextPlayerPlayerListener.onPlayerCommandPreprocess(TextPlayerPlayerListener.java:38)
    10:30:05 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:228)
    10:30:05 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    10:30:05 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    10:30:05 [SEVERE]       at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:618)
    10:30:05 [SEVERE]       at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:589)
    10:30:05 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:583)
    10:30:05 [SEVERE]       at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    10:30:05 [SEVERE]       at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    10:30:05 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    10:30:05 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    10:30:05 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    10:30:05 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    10:30:05 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    >                                           
    And it said it didn't exist in-game.
     
  6. Offline

    inonameguy

    add starhub thanks
     
  7. Offline

    AFakeman

    Will it be possible to reply sms?
     
  8. Offline

    FlamingArmor

  9. Offline

    Codisimus

    All i could find was vodafone italy and cosmote charges extra
    telstra added.
    Fixed, i think...
    added.
    As I said. I'll be working on that tonight
     
  10. Offline

    jor956

    Thanks :D
     
  11. Offline

    DrAgonmoray

    genius plugin is genius

    As soon as I get a few extra bucks, and it updates for 1.5, I'm gonna donate. This is epic!
     
  12. Offline

    Josh Harwood

    Code:
    02:51: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:228)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:629)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:600)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:594)
            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(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
    
     
  13. Offline

    Codisimus

    restart server
     
  14. Offline

    Josh Harwood

    Now Getting this on join

    Code:
    03:13:56 [INFO] Giggaflop [/217.42.46.19:49341] logged in with entity id 332
    03:13:56 [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:204)
            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:98)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:93)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
            at net.minecraft.server.Packet1Login.a(SourceFile:46)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
            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)
    
     
  15. Offline

    Codisimus

    ya don't worry about it for now... I fixed it but am waiting for new bukkit build
     
  16. Offline

    Josh Harwood

    hmm, how long does an O2-UK message take?
     
  17. Offline

    Codisimus

  18. Offline

    Josh Harwood

    you should output into the console when a text is being sent
     
  19. Offline

    Codisimus

    good idea, that new one work?
     
  20. Offline

    Josh Harwood

    not as of yet... it says sent, but i have no idea if it has got that far :p is the default config ready to go? or do i have to edit some stuff first?
     
  21. Offline

    Codisimus

    no its fine
     
  22. Offline

    Josh Harwood

    still no text
     
  23. Offline

    Codisimus

  24. Offline

    Sanity_x

    This is a really nice plugin. It will be very helpfull for me so thank you for making it! Once I get my new phone with a new carrier I'll be sure to post again :D
     
  25. Offline

    sicksurfer123

    Bravo!!! Great Plugin!!!!
    :pno homo...okay maybe homo[cake]
    [cake]Happy Birthday[cake]
     
  26. Offline

    eRko16

    Please add support for www.seznam.cz email. I am from Czech Republic. And please which format of number ? +420731047*** doesn't work, but 731047*** doesn'T work too. I have T-mobile from Czech Republic
     
  27. Offline

    Josh Harwood

    so far none have worked, do you have a bunch of emails email->sms gateways you are using then? if so why not load them all into the plugin, and once a user inputs their number, mesage them via all gateways "test - gatewayid: xyz" then let them specify what gateway worked for them
     
  28. Offline

    Codisimus

    good idea, i have a list of ~200 gateways and some of them contradict each other. ill try to setup sum test for the next update
     
  29. Offline

    Steve Cole

    I second that.
    gonna see if this works with my google voice number.
     
  30. Offline

    Codisimus

    I can tell you right now it doesn't I've been waiting for that feature from Google for about 6 months now
     
  31. Offline

    Steve Cole

    i'm kinda disappointed in google now. well i can still use my real phone number. I'm going to try it with my textnow number too and see if that works but if voice doesn't i don't think it will either.
    again thanks for the plugin.
     

Share This Page