tinyWhisper - A simple whisper mod(by request): Version: v1.2 Usage is simple: Type the code above to send your friends a message. For example: This sends Onecup the message "Yourname whispers: Hey. What's up?" FEATURES: Users have a unique colour assigned to their name to easily keep track of who is whispering you. Additionally, you only have to type the first couple letters of the player's name you want to send the message to. For example: If Onecup, Testing, and Tester are online the commmand "/w o" would be sufficient to send Onecup a message. However, to send Testing a message, you would have to type /w Testi (up to the letter that makes the player's name different than the similar name, Tester.) DOWNLOAD: tinyWhisper v1.2 Attention: Complete rewrote and tested tinyWhisper. Please upgrade to v1.2 Changelog: Version 1.2.0 Completely rewrote and tested tinyWhisper to address a significant bug that existed in previous versions. Version 1.1.2 Fixed an error that occurred when you tried to whisper a name that had more characters in it than any player currently online. Version 1.1 Added colours to player whispers - unique to player name. Added simple messaging. Version 1.0 Release Known bugs: There is no way to message John if there is a Johnny online, or Onecup if Onecupper is online(examples). Priority - High: Error when /w is followed by more than one space. Please post any bugs you find, or any features you would like to see added to the forum thread or email OnecupBukkit@gmail.com
I'll fix them sometime this weekend I think. At least the main one. The first one is a rare occurrence.
Can you provide any more information than that? I have had to program it fairly blindly because I don't have any players on my server with names that share the same first letter.
PHP: 2011-09-24 05:59:11 [SEVERE] nullorg.bukkit.command.CommandException: Unhandled exception executing command 'w' in plugin tinyWhisper v1.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714) at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 6 at java.lang.String.substring(String.java:1955) at me.onecup.tinyWhisper.tinyWhisper.onCommand(tinyWhisper.java:52) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39) ... 12 more
I understand that there was a null error, there are two bugs causing this at the moment that I know of and I will attend to them shortly. The first happens when you enter too many spaces after /w, the second happens when you try to whisper a name that is longer than anyone who is online. What I'm asking is, how many times did this error occur, and what instances were surrounding it. Is there a player named Nick online? Are there any other players sharing a similar name, ie starting w/ N or Ni or Nic.. etc etc. Thank you very much in advance.
/w Peyer lol - WORK /w Medises lol - Dont work.. -> error log PHP: 2011-09-24 06:58:56 [SEVERE] nullorg.bukkit.command.CommandException: Unhandled exception executing command 'w' in plugin tinyWhisper v1.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714) at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 7 at java.lang.String.substring(String.java:1955) at me.onecup.tinyWhisper.tinyWhisper.onCommand(tinyWhisper.java:52) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39) ... 12 more
Alright guys, I'm going to fix the bugs I know exist right now and I think that will solve your problems.
@recon88 @Adrenaline Try this one out. I fixed the bug Recon, I think, was talking about. Version 1.1.2
Still 1 Bug: my ingame nick is recon_ so: /w recon_ - results in "User not online" /w rec - results in correct whisper to recon_
Now I understand your guys' problem. You never said it needed to work with nicknames? What addon are you using that uses nicknames?
@recon88 @Adrenaline If either of you are still wanting to use this plugin I have completely rewritten it and tested it on my server. If you still get an error let me know, it might be due to a conflict with another plugin.
Hi, it would be great if you could update the plugin to minecraft 1.2.3 since this is the newest version. If you are busy or anything and you could send me the source I'll write a temporary patch for minecraft 1.2.3. Thanks in advance. Tim Visée
Long time no see @Onecup. You will notice that this thread has now been placed into the Inactive Plugin subforum. If you wish to revive this plugin, please ensure that you update and test compatibility with the latest recommended Bukkit build before reporting your original post, asking for it to be moved back to the release forum. Thanks for your time. md_5