[INACTIVE]ChatStuff v3 - op chat, mutes, easy color codes, login messages, +more! [Permission][803]

Discussion in 'Inactive/Unsupported Plugins' started by dreadiscool, May 22, 2011.

  1. Offline

    dreadiscool

    CHAT STUFF V3 - a no config chat essential for Bukkit servers! (HeroChat compatible!)

    Is the /tell command too long?
    Do you want op chat, but can't find a good plugin for it?
    Do you like downloading random plugins?

    If you answered yes for the first two questions, and either yes or no for the third, then you've come to the right place! ChatStuff is a totally new (like put together in 15 mins :D) plugin that is easy to use and works without any messy config file! A special thanks to @Taemera for helping me debug/test

    DOWNLOAD
    http://dl.dropbox.com/u/29419562/ChatStuff.jar
    Requests? Just comment them here!


    FEATURES
    • Supports Permissions
    • Mute annoying players globally
    • Broadcast server messages (in cool red text :D) without the annoying [Server] part
    • AdminChat OP/Permission enabled players can chat
    • Easily use /tell, with a confirmation message so you know what you typed.
    SOURCE CODE
    Coming soon!

    Usage (open)

    USAGE
    # To use op-chat type '#' as the first character, then type your message - only other ops will be able to see this message.
    ^ Broadcast a server message, in cool red font, without the annoying [Server] part.
    @<playername> <message> - An alternative to using the redundant /tell command - this is much quicker!
    /mute <playername> - Mutes specified player indefinatley (till server restart or unmute)
    /unmute <playername> - un-mutes a muted player

    Permissions (open)

    PERMISSIONS

    ChangeLog (open)

    CHANGELOG
    VERSION 1:
    Plugin release!
    VERSION 2:
    Added Permissions support
    Fixed plugin.yml file
    VERSION 2:
    Added /mute and /unmute commands
    VERSION 3:
    Fixed /mute and /unmute commands
    Fixed global message not working
    Added simple colors

    Todo (open)

    Todo
    Fix messaging players who are not online glitch
    Add config file for the colorchar
    Find something to put on this line
     
  2. Offline

    Alec Gorge

    Sounds good, but where is the source code?
     
  3. Offline

    Taemera

    RB 803:

    Show Spoiler
    [SEVERE] Could not load 'plugins\ChatStuff.jar' in folder 'plugins':
    java.lang.ClassNotFoundException: me.harm3112.tehGamer.chatstuff
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    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(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:167)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:194)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:117)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:101)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:265)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  4. Offline

    dreadiscool

    Eh, ill put it up soon

    Aww man! I just realized that I messed up the plugin.yml file... I'll fix it when I get home, but if you want, I have a temporary fix - open it with an archive file, and in there, you will see plugin.yml

    Open that, and look for this
    main: me.harm3112.tehGamer.chatstuff

    Change that to
    main: me.harm3112.tehGamer.chatstuff.chatstuff

    Then, save the file to the archive, and it should work. But, in around 4 hours from now, I'll upload the fixed version

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

    Taemera

    That worked! Awesome plugin, but could you please add permissions for this? I don't want to give every admin the /give command.
     
  6. Offline

    captainawesome7

    /give?
     
  7. Offline

    Taemera

    /give <player> <item> <quantity>
    http://www.minecraftwiki.net/wiki/SMP_Server_commands

    Since this plugin is made for OPs, everybody who can use it have access to that command.

    PS: Is it possible to make this plugin compatible with HeroChat? The '#' and '^' work in HeroChat, @ doesn't.
    If you type ^Test, it shows the global message Test,
    but it shows ^Test in the channel as well.
     
  8. Offline

    captainawesome7

  9. Offline

    Pencil

    You got me there :D

    dling it xD
     
  10. Offline

    dreadiscool

    @Taemera
    What do you mean by compatible by HeroChat? So if you type ^Test, then it shows up in red, but HeroChat also registers it and plops it in the channel?

    BTW
    I'm also working on a Permission version of this

    Permissions finished, redownload :D

    @Taemera
    I tried to make this compatible with HeroChat, but I'm not sure if it worked
    Can you please test it out?

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

    Taemera

    Shows this error upon logging in:
    Show Spoiler
    [SEVERE] Could not pass event PLAYER_LOGIN to ChatStuff
    java.lang.NullPointerException
    at org.bukkit.craftbukkit.entity.CraftPlayer.sendRawMessage(CraftPlayer.java:84)
    at org.bukkit.craftbukkit.entity.CraftPlayer.sendMessage(CraftPlayer.java:88)
    at me.harm3112.tehGamer.chatstuff.CSevent.onPlayerLogin(CSevent.java:103)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:313)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:152)
    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:82)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
    at net.minecraft.server.Packet1Login.a(SourceFile:43)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    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:377)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)


    I'm sorry to say this, but now it does not even show the global message, but only in the chat channel.
     
  12. Offline

    Plague

    title is missing the plugin version
    and post is missing a header
     
  13. Offline

    dreadiscool

    @Taemera
    try it now, i think i fixed it

    this is kind of a side question, but how do you get the spoiler tag?

    redownload again, added easy colors and fixed the /mute /unmute commands

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

    Taemera

    For the spoiler tag:
    Code:
    [spoiler]hidden text[/spoiler]
    Testing now
     
  15. Offline

    Lolmewn

    Looks cool :p
    btw, does this have multi-channels? So I can just create channels :p
     
  16. Offline

    Taemera

    You are the man! All the commands work now!

    Though "^Hello" gives ^Hello instead of Hello.
    This command is shown if you try to message somebody who is not online:
    Error (open)
    [SEVERE] Could not pass event PLAYER_CHAT to ChatStuff
    java.lang.NullPointerException
    at me.harm3112.tehGamer.chatstuff.CSeventPerm.onPlayerChat(CSeventPerm.java:99)
    at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:278)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:671)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)



    Btw, you can name your spoiler as well, by using this:
    Code:
    [spoiler="Spoilers name"][/spoiler]
     
  17. Need to add a config for the colours :D! - And, possibly, private channels.
     
  18. Offline

    dreadiscool

    @Taemera
    thanks for your help :)
    I can easily fix the messaging players who are not online error by putting it in a try/catch, but I'll do that when I get home

    @Lolmewn
    Currently there is only an op channel, but I'm working on being able to create other channels and such :D

    @eastonch
    Yea :p I just decided put the colors at the last minute, because I remembered how annoying it was to remember all the color codes. I'll get a config file out soon, as well as the source which I promised to give to @Alec Gorge
     
  19. Offline

    Taemera

    @dreadiscool
    Thanks for this awesome plugin, you did a great job. You should mention in the OP that this is compatible with HeroChat, since it is working fine for me on 803.
     
  20. Offline

    dreadiscool

  21. Offline

    dreadiscool

    Can a mod put this up on the plugin list?
     
  22. Offline

    Taemera

    You should put the version number in the title. ChatStuff v3
     
  23. Offline

    dreadiscool

    Ok, added
     
  24. Offline

    108ricky

    Amazing plugin, will help me out in the future
     
  25. Offline

    Plague

    please update to latest recommended CB
     
  26. Offline

    Plague

    inactive then
     

Share This Page