TextPlayer
Version 2.4.0
NOTE: This plugin requires you have Vault enabled on your server
WARNING: When setting up the email address in the email.properties file, use an account that is not used for anything else (such as personal emails) as it will delete all messages after they are read by the plugin.
This plugin allows you to always be connected with your server, You can receive many types of alerts and even execute server commands through text message.
If the default port does not work, try the following to see if one does work.
SMTP Ports
- 25
- 587
- 465
Features:
- Supports all major Economies and Permission Plugins thanks to Vault
- Configurable properties
- Server can send a mass text to all Users
- 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
- Limit which players can text you by using a whitelist
- Anti-spam feature (limit max amount of texts received each day)
- Numbers/email addresses cannot be seen in game (for privacy reasons)
- 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 fire or tnt
- Be alerted when errors are posted to the server log
- Set emails to come from a custom email address
- Encrypted data
Permission Nodes:
- textplayer.text = Needed to send a Text Message
- textplayer.textadmin = Needed to send a Text Message to an admin
- textplayer.use = Needed to set your number and receive texts (/text set, /text list, /text limit, /text enable, /text disable)
- textplayer.watch.server = Needed to receive a text when the Server comes online (/text watch server)
- textplayer.watch.player = Needed to receive a text when a Player comes online (/text watch player)
- textplayer.watch.everyplayer = Needed to receive a text when any other Player comes online (/text watch player *)
- textplayer.watch.item = Needed to receive a text when an itemis placed (/text watch item)
- textplayer.watch.word = Needed to receive a text when a word is spoken (/text watch word)
- textplayer.watch.errors = Needed to receive a text when errors are printed to the server log
- textplayer.listusers = Needed to list all of the Users who can receive texts (/text list users)
- textplayer.listadmins = Needed to list all of the Admins who can receive texts (/text list admins)
- textplayer.free = Send messages free of charge (Minecraft money, not real money. Messages never cost real money to send)
- textplayer.check - Allows the Player to tell the TextPlayer plugin to check for new mail (/text check)
- textplayer.admin = Distinquishes the Player as an admin. Needed to text commands to the Server
Commands:
Both in-game commands and text message commands can be found at the Commands Page
Terms of Use:
The Terms of Use can be read at www.codisimus.com/terms
-
View User Profile
-
Send Message
Posted Apr 15, 2012@Codisimus, I know I dropped out on our little back and forth, but I was getting a bit frustrated. I will try this new version tonight. Thanks!
-
View User Profile
-
Send Message
Posted Apr 15, 2012@Codisimus
Ok thank you!
-
View User Profile
-
Send Message
Posted Apr 14, 2012@Nabakin
@scottjl
@domdomegg
I just released version 1.4.3 which fixes this issue.
-
View User Profile
-
Send Message
Posted Apr 14, 2012@Nabakin
Im using the default ports you have in the config and am using gmail
-
View User Profile
-
Send Message
Posted Apr 14, 2012I'm receiving these three errors:
00:12:02 [INFO] [TextPlayer] Error reading email, Message thrown out 00:12:02 [INFO] [TextPlayer] Could not read incoming mail! 00:12:02 [SEVERE] javax.mail.MessageRemovedException 00:12:02 [SEVERE] at com.sun.mail.imap.IMAPMessage.checkExpunged(IMAPMessage.java:205) 00:12:02 [SEVERE] at com.sun.mail.imap.IMAPMessage.setFlags(IMAPMessage.java:879) 00:12:02 [SEVERE] at javax.mail.Message.setFlag(Message.java:578) 00:12:02 [SEVERE] at com.codisimus.plugins.textplayer.TextPlayerMailer.checkMail(TextPlayerMailer.java:327) 00:12:02 [SEVERE] at com.codisimus.plugins.textplayer.TextPlayerMailer$3.run(TextPlayerMailer.java:448) 00:12:02 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34) 00:12:02 [SEVERE] at java.lang.Thread.run(Unknown Source)
00:14:43 [INFO] [TextPlayer] Could not read incoming mail! 00:14:43 [SEVERE] javax.mail.AuthenticationFailedException: [ALERT] Web login required: http://support.google.com/mail/bin/answer.py?answer=78754 (Failure) 00:14:43 [SEVERE] at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:660) 00:14:43 [SEVERE] at javax.mail.Service.connect(Service.java:317) 00:14:43 [SEVERE] at com.codisimus.plugins.textplayer.TextPlayerMailer.checkMail(TextPlayerMailer.java:169) 00:14:43 [SEVERE] at com.codisimus.plugins.textplayer.TextPlayerMailer$3.run(TextPlayerMailer.java:448) 00:14:43 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34) 00:14:43 [SEVERE] at java.lang.Thread.run(Unknown Source)
00:13:35 [INFO] [TextPlayer] Could not read incoming mail! 00:13:35 [SEVERE] javax.mail.AuthenticationFailedException: [ALERT] Too many simultaneous connections. (Failure) 00:13:35 [SEVERE] at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:660) 00:13:35 [SEVERE] at javax.mail.Service.connect(Service.java:317) 00:13:35 [SEVERE] at com.codisimus.plugins.textplayer.TextPlayerMailer.checkMail(TextPlayerMailer.java:169) 00:13:35 [SEVERE] at com.codisimus.plugins.textplayer.TextPlayerMailer$3.run(TextPlayerMailer.java:448) 00:13:35 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34) 00:13:35 [SEVERE] at java.lang.Thread.run(Unknown Source)
-
View User Profile
-
Send Message
Posted Apr 13, 2012having trouble sending the message to my phone to set it up. Got this error
2012-04-13 13:40:42 [INFO] [TextPlayer] Sending Message... 2012-04-13 13:40:42 [INFO] [TextPlayer] Send Failed 2012-04-13 13:40:42 [SEVERE] java.lang.NullPointerException 2012-04-13 13:40:42 [SEVERE] at com.codisimus.plugins.textplayer.TextPlayerMailer$1.run(TextPlayerMailer.java:122) 2012-04-13 13:40:42 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34) 2012-04-13 13:40:42 [SEVERE] at java.lang.Thread.run(Thread.java:722)
-
View User Profile
-
Send Message
Posted Apr 9, 2012Note to all users of o2-uk, to setup this, you have to send 'On' to 212. Receiving texts costs 10p and sending is costed at normal rate. To send message send text to 212, setup like this:
Myserveremail@gmail.com your message/command
Your email will be 44(your number)@mmail.co.uk
To turn off the service send 'off' to 212.
Please note: domdomegg or/and codisimus take no responsibility for anything that may go wrong in the process of activating this
-
View User Profile
-
Send Message
Posted Apr 5, 2012@domdomegg
@scottjl
I am 90% sure I fixed this but I want to let my server right over night to see if it times out b4 I update. You can run the dev build though, All my testing thus far couldn't break it.
-
View User Profile
-
Send Message
Posted Apr 4, 2012@scottjl
Getting exact same error as you, tested dev build and recommended build.
-
View User Profile
-
Send Message
Posted Apr 4, 2012Getting the following error after the server has been up for a few minutes, isn't working with my gmail account.
-
View User Profile
-
Send Message
Posted Apr 4, 2012@Codisimus
Looks like it, I'll see if I can get it running from source and hook in to exactly what's being grabbed via IMAP/why the message is beautifully blank.
-
View User Profile
-
Send Message
Posted Apr 4, 2012@eatmybiglazer
the latest dev build should fix the null pointer exception, but It may continue to show blank texts. In the debug info that you posted it is showing that the message is blank both before and after the clean up... perhaps it needs to be read a different way.
-
View User Profile
-
Send Message
Posted Apr 4, 2012Decided to just bypass the whole enable thing and set my limit to >1 in the emails.save file. I can receive texts from players which is what I really want. Replying to those texts with anything results in a nullpointerexception:
-04-04 10:33:03 [INFO] [TextPlayer] Error reading email, Message thrown out
-04-04 10:33:03 [SEVERE] java.lang.NullPointerException
-04-04 10:33:03 [SEVERE] at java.lang.String.contains(Unknown Source)
-04-04 10:33:03 [SEVERE] at com.codisimus.plugins.textplayer.TextPlayerMa
.checkMail(TextPlayerMailer.java:185
-04-04 10:33:03 [SEVERE] at com.codisimus.plugins.textplayer.TextPlayerMa
$2.run(TextPlayerMailer.java:439
-04-04 10:33:03 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker
CraftWorker.java:34
-04-04 10:33:03 [SEVERE] at java.lang.Thread.run(Unknown Source)
Last night, however, my texts were being received by the server as me, but showing as blank.
-
View User Profile
-
Send Message
Posted Apr 4, 2012@Codusimus
Yes, still getting error:
18:32:32 [INFO] [TextPlayer] Could not read incoming mail! 18:32:32 [SEVERE] javax.mail.AuthenticationFailedException: [ALERT] Too many simultaneous connections. (Failure) 18:32:32 [SEVERE] at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:665) 18:32:32 [SEVERE] at javax.mail.Service.connect(Service.java:317) 18:32:32 [SEVERE] at com.codisimus.plugins.textplayer.TextPlayerMailer.checkMail(TextPlayerMailer.java:169) 18:32:32 [SEVERE] at com.codisimus.plugins.textplayer.TextPlayerMailer$3.run(TextPlayerMailer.java:448) 18:32:32 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
-
View User Profile
-
Send Message
Posted Apr 3, 2012I am getting Unknown Address: [Ljavax.mail.internet.internetaddress;@469cbc0d when I text the server.
[EDIT] with the newest version grabbed today.
[EDIT2] Noticed my response comes from vzwpix.com. Changed the gateway for verizon and it now recognizes the sender, but it says that the message after cleanup is blank, so it responds witht he "Respond enable to enable" and when I respond it resends the enable message.
Console output:
TextPlayer](Debug): Message received from: eatmybiglazer
TextPlayer](Debug): Message received:
TextPlayer](Debug): Message after clean-up:
-
View User Profile
-
Send Message
Posted Apr 3, 2012@GoldBattle
Make sure the email address in your email.properties file is separate from your email address that you use for anything else. It looks like you are trying to use the same email for both.
@domdomegg
Is that error still showing after a server restart? If you decide to make an updated video I will post it on the Main page. Also thanks for all the sms gateways, I will add them to the next version and figure out a better way to list the supported carries in game.
-
View User Profile
-
Send Message
Posted Apr 3, 2012@GoldBattle
Not sure, try deleting mail.jar in /lib, and letting it generate again...You will have to restart the server 2 times (Once to generate file, Second to load the file)
-
View User Profile
-
Send Message
Posted Apr 3, 2012@domdomegg
Here is my email file. I had to change the SMTP port because it failed on 25
http://dev.bukkit.org/paste/5024/
Thanks so MUCH!! -Patrick
-
View User Profile
-
Send Message
Posted Apr 3, 2012@GoldBattle
What email did you set it up with? (In email.properties)
Gmail is the easiest to set it up with - I can tell you the IMAP and SMTP Host's if its different
-
View User Profile
-
Send Message
Posted Apr 3, 2012@domdomegg
I tried using the recommended build. It did the same thing. I don't have a phone so I am trying to just use my email. Thank you for still helping.
http://dev.bukkit.org/paste/5023/
Thanks -Patrick