Inactive [CHAT] Applet Chat [1.2.5-R4.0]

Discussion in 'Inactive/Unsupported Plugins' started by wacossusca34, Jun 9, 2012.

  1. Offline

    wacossusca34

    [​IMG]
    What is AppletChat?
    AppletChat is a plugin that hosts a separate server as a chat server. Users can talk with other people using the chat client, and with players who are on the hosted minecraft server. The client can be embedded into a webpage, and downloaded as a easily executable .jar file. It supports a few emoticons (which work in-game!), can disconnect and reconnect to different servers, and has support for font colours.

    This plugin will later be expanded to have a login system for administrators to easily manage their server through a different version of the client, making banning, kicking, a browsing through user information much quicker since it can be done though a graphical environment. An android version of this client may also be possible as well!

    If you found this plugin useful, please donate! It will motivate me to work on my plugins.

    [​IMG]


    * Fixed my sentence fragments in the post, and reformatted.

    If any moderator is reading this submission, can you also take note that the editor is very difficult to use due to a large amount of errors. Every time I edit the post, my line breaks multiply, both in IE and Google Chrome. It doesn't do this in Linux though.

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

    wacossusca34

    I don't see how this isn't getting accepted. This plugin is unique, and quite advanced.
     
  3. Offline

    Jacob Marshall

    Plugins dont get accepted so fast... just be patient. I like the idea, good job!
     
  4. Offline

    wacossusca34

    Thanks. I'm going to make a port of the client for the android, hopefully. I've decided to learn the Android API, since I already know Java pretty well.

    Sorry, I've been a little out of date with the whole bukkit site setup. I just noticed that bukkit forums and bukkit dev are separate, and that there is a much more convenient section for posting plugins on bukkit dev.

    Should I post there as well, remove this post and post there, or just keep this one?

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

    Jacob Marshall

    It's a good idea to create a BukkitDev page too, it's good for hosting updates and files you want/need people to download.
     
  6. This is awesome. Can't wait to try it out. :)

    How does this connect to mc? If I use other plugins for connecting to the chat like through teamspeak or dynmap, does the messages through these show up in the chat?
     
  7. Offline

    wacossusca34

    Yes, you use the client to speak directly to minecraft players and other people using the client. In the minecraft chat, all the players in the server can see the messages from AppletChat clients, and everyone using the client receives all the messages sent from the users in game.

    Is there confusion on how this works or something?

    I have a video explaining the plugin a little, but I have a slow internet connection and it takes hours to upload, even after it's converted to MP4. Is there something I should add on the post to make the functionality of the plugin clearer, or something else?

    I did, after I noticed that the accounts for bukkit dev and the forums are somewhat separate. Sort of confusing from a consumer point of view.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  8. Tell me about it. The devpage is connected to curse which I already have a different account on since the days I played wow. Lovely...
     
  9. Offline

    MAXOFLIFE

    It needs a scroll wheel for the chat, If 100 people are talking and you need to to see what someone said it's gone before you know it. Oh, and maybe a pause and play for incoming chat :)!
     
  10. Offline

    wacossusca34

    A scroll wheel is a good idea, I may implement that. A pause and play for incoming chat is plain retarded though.
     
  11. Offline

    Frontgunner

    Dude i vouch for you all the way. This thing is amazing. I will use it all the time. :)
    I hope you will continue to work on this as it is really amazing and should be on all servers.
    I especially like the fact i dont need to use sql or any other bs like that. It so simple, and i thank you for that.
    Keep up the good work!
     
  12. Offline

    wacossusca34

    Thanks! I'm hoping more people will notice the significance of this plugin.
     
  13. Offline

    XScizzor

    This is very good, VERY GOOD for your first released plugin. I vouch, and this is something I've never seen before. It is sort of like IRC, but not close at all. I look forward to see all the other plugins you make and would like to see your popularity grow. Maybe you can post a video, a tutorial. (Althought there probably isnt much to show.)
    This is amazing and look forward to amazing plugins by you. :D
     
  14. Offline

    wacossusca34

    I would post a video, but I don't like the sound of my own voice. I'l get someone else to blab about the plugin.
     
    Sketaful likes this.
  15. Offline

    zhuowei

    I've looked into the protocol that this uses.
    Code:
    0000000: 0035 0033 0066 006c 0036 0075 0073 0065  .5.3.f.l.6.u.s.e
    0000010: 0072 0035 0030 0037 3001 00a7 0066 0054  .r.5.0.70....f.T
    0000020: 0068 0069 0073 0020 0069 0073 0020 0074  .h.i.s. .i.s. .t
    0000030: 0068 0065 0020 0066 0069 0072 0073 0074  .h.e. .f.i.r.s.t
    0000040: 0020 006d 0065 0073 0073 0061 0067 0065  . .m.e.s.s.a.g.e
    0000050: 3000 00a7 0066 0054 0068 0069 0073 0020  0....f.T.h.i.s. 
    0000060: 0069 0073 0020 0074 0068 0065 0020 0073  .i.s. .t.h.e. .s
    0000070: 0065 0063 006f 006e 0064 0020 006d 0065  .e.c.o.n.d. .m.e
    0000080: 0073 0073 0061 0067 0065 3000 00a7 0066  .s.s.a.g.e0....f
    0000090: 0054 0068 0069 0072 0064 0020 006f 006e  .T.h.i.r.d. .o.n
    00000a0: 0065 0020 0069 0073 0020 0068 0065 0072  .e. .i.s. .h.e.r
    00000b0: 0065 3000                                .e0.
    All characters are 2 bytes long, big endian.
    Special characters begin with 0x30. known commands are 0x3000 to send a message and 0x3001 to change username.
    At the beginning of the connection, the string 53fl6 is sent, then a change username message.
    As long as the server sends something non-zero when the connection is opened, the client display "Connected".
    The client sends messages by writing the color first, then the message, then finally 0x3000 to send the print command.
    The client changes username by writing the username, then 0x3001 to change the username.
    Usernames can contain color.
    The colors are the same as the Minecraft ones; i.e, they use a § and then a letter from 1 to f for colors - 1 is blue, f is white; I don't know the others.

    The server response to that fragment:
    Code:
    0000000: 0100 3e00 3e00 2000 a700 6600 5400 6800  ..>.>. ...f.T.h.
    0000010: 6900 7300 2000 6900 7300 2000 7400 6800  i.s. .i.s. .t.h.
    0000020: 6500 2000 6600 6900 7200 7300 7400 2000  e. .f.i.r.s.t. .
    0000030: 6d00 6500 7300 7300 6100 6700 6530 0000  m.e.s.s.a.g.e0..
    0000040: 3e00 3e00 2000 a700 6600 5400 6800 6900  >.>. ...f.T.h.i.
    0000050: 7300 2000 6900 7300 2000 7400 6800 6500  s. .i.s. .t.h.e.
    0000060: 2000 7300 6500 6300 6f00 6e00 6400 2000   .s.e.c.o.n.d. .
    0000070: 6d00 6500 7300 7300 6100 6700 6530 0000  m.e.s.s.a.g.e0..
    0000080: 3e00 3e00 2000 a700 6600 5400 6800 6900  >.>. ...f.T.h.i.
    0000090: 7200 6400 2000 6f00 6e00 6500 2000 6900  r.d. .o.n.e. .i.
    00000a0: 7300 2000 6800 6500 7200 6530 00         s. .h.e.r.e0.
    The server responds with one byte, 0x01, to signify that authentication succeeded. As far as I can tell, any non-zero value would work. From then on, the protocol it uses is the same as the client chat protocol - color, >> or player nickname, color, player message. (Your messages are echoed back with >>, other players' messages gets their nickname prepended.)

    Also, the chat color is printed in the console.
     
  16. good, very usefull and easy to setup ! but can you kick spammer ? or add a link with permission and username...
     
  17. Offline

    UltiNaruto

    may you add some notifications on login and logout? please
    Anyway nice work and very useful when we can't go on the server.
     
  18. Offline

    wacossusca34

    Thank you for your insightful analysis of my protocol. I'm surprised you haven't assumed this is text IO, I used it not for for simplicity for constructing a protocol, but for compatibly with minecraft chat. However, I don't know why the colour code is being printed in your console. It shouldn't.

    I will remove the ">> " string before the received messages just for the sake of professionally, but it's not on my priority list.

    Any ways, was there a point of deciphering my protocol? Do you have some suggestions for it?

    That's the idea of the next update. I'm also going to add a /list command, and a MOTD in the server config to display on user connection.

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

    zhuowei

    Mostly for fun; I might try to make a client to see if I can interact with your app, or a different server binding for a custom server like Spout.
    Server console log prints out the colour code before messages.

    I've got a question: Why is the key "53fl6"? Is there special significance to that?
     
  20. Offline

    wacossusca34

    No reason. It was a random string.

    I know the server console prints out the colors, however if you use some Linux terminals the colors actually work (Like ROXterm and Lxterm).

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

    md_5

    This is very very nice, approved.
     
    zhuowei likes this.
  22. Offline

    wacossusca34

    I have a question. Is the approved plugin going to appear on the bukkit plugin list of the forums, or in bukkit dev?

    If this is going to appear in bukkit dev, I already have an accepted submission there.
     
  23. Offline

    md_5

    Both.
     
  24. Offline

    Frontgunner

    I donated. Nice work. :)
    I also have a suggestion. I would like to see a login function added. So people cant just join and make their nick to a staff members and make people think they are staff. Then the staff will end up opping a griefer. So a Login function would be awesome! :)
     
  25. Offline

    wacossusca34

    In the next update I will have your name appear on startup, with your donation amount.
     
  26. This doesn't work for me. ;( It kinda worked the first time (chat window looked bugged) but know I just get java errors. So I'm quite sad atm. I would guess it's something wrong on my end thought but can't figure out what. Tried it in opera, ff, chrome and even ie. :(

    No error messages from the server so really doesn't have any logs to post.
     
  27. Offline

    Uncharmer

    I'm trying to get the plugin to work on my website..
    and I get this in my java console:
    Code:
    at java.lang.Thread.run(Thread.java:680)
    Exception: java.lang.SecurityException: Permission denied: http://djvinchimusic.com/AppletChatClient.jar

    what permissions do I need to set the client jar to? its at 777 right now.

    (Server IP: 216.19.17.38)
    -Default settings
     
  28. Offline

    wacossusca34

    There should be a window that pops up asking for permission to run. This is required because a standard Java applet has to comply with certain restrictions when running, so if permission is not given by the user to remove these restrictions, the applet cannot open a socket to the server.

    If there is not window, try re-downloading the plugin. You may have been unlucky and have downloaded it while I was updating (There was like a 3 minute moment when I forgot to add the security certificate to the client).

    You do have to open port 25560 (or a different port if configured to do so), and I have noticed some issues with the chat box on older versions of IE, and Windows XP - I don't know why some of these graphical bugs are caused.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  29. All ports are open, Using Windows 7 and tried every browser. :S
    The strange thing is it worked once only then the chatwindow was quite messed up. :(
     
  30. Offline

    wacossusca34

    That's odd. Does this issue only occur in a webpage, and what exactly is happening?
     

Share This Page