[CHAT] tinyWhisperV1.2 - A simple whisper mod [1185]

Discussion in 'Inactive/Unsupported Plugins' started by Onecup, Sep 23, 2011.

  1. Offline

    Onecup

    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 "<font color="rgb(255, 102, 0)">Yourname whispers:</font> Hey. What's up?"

    FEATURES:

    Users have a unique <font color="rgb(255, 102, 0)">c</font><font color="rgb(255, 0, 0)">o</font><font color="rgb(0, 255, 0)">l<font color="rgb(0, 255, 255)">o</font></font><font color="rgb(255, 0, 255)">u</font>r 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:
    <Edit by Moderator: Redacted mediafire url>

    <font color="rgb(255, 0, 0)">Attention:</font>
    Complete rewrote and tested tinyWhisper. Please upgrade to v1.2

    <Edit by Moderator: Redacted mediafire url>

    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 [email protected]
     
    Last edited by a moderator: Nov 12, 2016
    recon88 likes this.
  2. Offline

    recon88

    Thx man for making this plugin for me <3


    Hope u will get fixed the bugs sooner or later
     
  3. Offline

    Onecup

    I'll fix them sometime this weekend I think. At least the main one. The first one is a rare occurrence.
     
  4. Offline

    Adrenaline

    aaaa dont work :S i type /w nick message and only got "An internal server error...."
     
  5. Offline

    Onecup

    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.
     
  6. Offline

    Adrenaline

    PHP:
    2011-09-24 05:59:11 [SEVEREnull
    org
    .bukkit.command.CommandExceptionUnhandled 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 byjava.lang.StringIndexOutOfBoundsExceptionString index out of range6
        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
     
  7. Offline

    Onecup

    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.
     
  8. Offline

    Adrenaline

    /w Peyer lol - WORK
    /w Medises lol - Dont work..
    -> error log
    PHP:
    2011-09-24 06:58:56 [SEVEREnull
    org
    .bukkit.command.CommandExceptionUnhandled 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 byjava.lang.StringIndexOutOfBoundsExceptionString index out of range7
        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
    Fix: Delete nick length

    When i type

    /w Medi lol <- WORK

    when type:

    /w Medises lol <- dont work

    :)))

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

    recon88

    Error occurs when we try to whisper a name with 7 or more charactes
    /w 1234567 Test
    /w abcdefg Test
     
  10. Offline

    Onecup

    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.
    <Edit by Moderator: Redacted mediafire url>

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 12, 2016
  11. Offline

    recon88

    Still 1 Bug:

    my ingame nick is recon_

    so: /w recon_ - results in "User not online"
    /w rec - results in correct whisper to recon_
     
  12. Offline

    Onecup

    Now I understand your guys' problem. You never said it needed to work with nicknames? What addon are you using that uses nicknames?
     
  13. Offline

    recon88

    No :D
    my minecraft name is recon_
    The name which i use to login in the launcher ;)

    It seems to be only if the other guy u wanna whisper has a uppercase at the beginning

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

    Plague

    title missing description
     
  15. Offline

    Onecup

    Fixed.
     
  16. Offline

    Onecup

    @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.
     
    Adrenaline likes this.
  17. Offline

    Adrenaline

    Works fine.. ;P
     
  18. Offline

    Onecup

    That's so good to hear.
     
  19. Offline

    Tim Visee

    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
     
  20. Offline

    md_5

    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
     
  21. Offline

    zachup100

    Ok I am on my server but when I do '/w SkythekidRS' Doesn't work, When I do '/w zachup100' Works -.-
    Please help.

    Screenshot:
    http://imgur.com/a/BmL2r
     
  22. If Onecup allows me, I Will be glad to revive this plugin (I will do it Saturday, from today untill Friday I am on a survival.)
     

Share This Page