Inactive [ADMIN/CHAT/FUN] MelooonCensor v2.1 - Keep bad words away [1.2.5-R5.0 / 1.3.1-R2.0]

Discussion in 'Inactive/Unsupported Plugins' started by Jacob Marshall, Jul 7, 2012.

  1. Offline

    edragy

    what happens if I ban the word "lag" and someone says "la g"? will it censor the word or not?
     
  2. Offline

    Jacob Marshall

    Currently, it will not censor that word... however I am looking into implementing that feature into a version shortly... most likely after v2.1 is released.
     
  3. Offline

    grid21

    Got an error

    2012-07-25 10:04:38 [INFO] [MelooonCensor2] Enabling MelooonCensor2 v2.0.0
    2012-07-25 10:04:38 [SEVERE] java.net.SocketException: Permission denied: connect
    2012-07-25 10:04:38 [SEVERE] at java.net.PlainSocketImpl.socketConnect(Native Method)
    2012-07-25 10:04:38 [SEVERE] at java.net.PlainSocketImpl.doConnect(Unknown Source)
    2012-07-25 10:04:38 [SEVERE] at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    2012-07-25 10:04:38 [SEVERE] at java.net.PlainSocketImpl.connect(Unknown Source)
    2012-07-25 10:04:38 [SEVERE] at java.net.SocksSocketImpl.connect(Unknown Source)
    2012-07-25 10:04:38 [SEVERE] at java.net.Socket.connect(Unknown Source)
    2012-07-25 10:04:38 [SEVERE] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
    2012-07-25 10:04:38 [SEVERE] at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
    2012-07-25 10:04:38 [SEVERE] at sun.net.NetworkClient.doConnect(Unknown Source)
    2012-07-25 10:04:38 [SEVERE] at sun.net.www.http.HttpClient.openServer(Unknown Source)
    2012-07-25 10:04:38 [SEVERE] at sun.net.www.http.HttpClient.openServer(Unknown Source)
    2012-07-25 10:04:38 [SEVERE] at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
    2012-07-25 10:04:38 [SEVERE] at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
    2012-07-25 10:04:38 [SEVERE] at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
    2012-07-25 10:04:38 [SEVERE] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    2012-07-25 10:04:38 [SEVERE] at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    2012-07-25 10:04:38 [SEVERE] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    2012-07-25 10:04:38 [SEVERE] at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    2012-07-25 10:04:38 [SEVERE] at java.net.URL.openStream(Unknown Source)
    2012-07-25 10:04:38 [SEVERE] at me.jacobmarshall.mc2.MelooonCensor.checkUpdate(MelooonCensor.java:71)
    2012-07-25 10:04:38 [SEVERE] at me.jacobmarshall.mc2.MelooonCensor.onEnable(MelooonCensor.java:44)
    2012-07-25 10:04:38 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    2012-07-25 10:04:38 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
    2012-07-25 10:04:38 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    2012-07-25 10:04:38 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:256)
    2012-07-25 10:04:38 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238)
    2012-07-25 10:04:38 [SEVERE] at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:552)
    2012-07-25 10:04:38 [SEVERE] at org.bukkit.Bukkit.reload(Bukkit.java:182)
    2012-07-25 10:04:38 [SEVERE] at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
    2012-07-25 10:04:38 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    2012-07-25 10:04:38 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479)
    2012-07-25 10:04:38 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:475)
    2012-07-25 10:04:38 [SEVERE] at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:612)
    2012-07-25 10:04:38 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:581)
    2012-07-25 10:04:38 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    2012-07-25 10:04:38 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
     
  4. Offline

    Jacob Marshall

    Would you mind trying to enable the plugin again? And tell me if you get the same error. This is the update procedure, and quite possibly you have some sort of blockage.
     
  5. Offline

    grid21

    Sure I guess I can try again and let you know.

    Ok I just tried it out again and I didn't get any errors this time.

    Also this plugin should also work on Opps because they also use language.

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

    clange0808

    Looks great just a few other things if possable could be added..
    instead of a kicking them the first time maybe block the message and send the play a warning much as [MelooonCensor] (Something) Which could be configured in the config.
    Also... As i have seen in some servers if you say a server IP it blocks it and just says the server your on IP.
    Does this plugin do that?
     
  7. Offline

    Volition

    This is great plugin! I love it. Please add a command to reload the config file.
     
  8. Offline

    Jacob Marshall

    Will do, sorry, I forgot to re-implement that :p
     
  9. Offline

    Volition

    Also if you could make the message an on/off option and add the ability to run a command set in config after it censors.

    I use AntiBot plugin and I can add a point against the person for being censored. It also would allow people to set there own disiplin, like if they want them to be banned or just kicked.

    Just some ideas. But the Command part would be really helpful. Thanks for the great work!
     
  10. Offline

    Volition

    I found an error with the current version when you use a period "."

    10:33:54 [INFO] [O]AChop ADigg VolitionEos: .
    10:33:55 [SEVERE] Could not pass event PlayerChatEvent to MelooonCensor2
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:776)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:754)
    at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:246)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:102)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:82)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:559)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:451)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
    at me.jacobmarshall.mc2.MelooonCensor.parseReplaceMessage(MelooonCensor.java:201)
    at me.jacobmarshall.mc2.MelooonCensor.onPlayerChat(MelooonCensor.java:143)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
    ... 12 more

    The plugin does not fail or cause any problems with the server but it does spam the server log with this error stuff...
     
  11. Offline

    Jacob Marshall

    What version are you using? And what version of CraftBukkit?
     
  12. Offline

    Volition

    That was with craftbukkit_1.2.5-R5.0 (Recommended) and your current download version of v2.0.2

    I'm now running the new craftbukkit_1.3.1-R0.1 (Developer).
     
  13. Offline

    Jacob Marshall

    Ill think about making a build for 1.3.1 soon, but however, as there is no 'recommended build' for 1.3.1, it is not one of my main priorities.
     
  14. Offline

    TIMEEEr

    Can you add a feature when a player has a permission node and it will bypass the censor and lets them swear?
     
  15. Offline

    Jacob Marshall

    Coming in 2.1...
     
  16. Offline

    TIMEEEr

    :D cool cant wait for it.
     
  17. Offline

    Jacob Marshall

  18. Offline

    Treyflip

    I've just set this up on my mess around server before my main server drops to test it out, and it's awesome, one thing i would change is it says it's categorized as ADMIN/CHAT. But I've replaced bad words with some hilarious words. I'd put this under the fun section as well. Great plugin, and I look forward to using it.

    -TreyFlip of LSF Craft
     
  19. Offline

    Jacob Marshall

    Thanks for your feedback :)

    The replace feature will be re-implemented in 2.1 shortly, however it is not a part of 2.1pre as of yet.
     
  20. Offline

    TIMEEEr

    Also i also want to say this is an awesome plugin good work!
     
  21. Offline

    Jacob Marshall

    Cheers man, its good that some people like to have a clean chatbox :)

    Although I have been hearing a lot of people using it not just for bad words, so... lol, all I can say is thank you so much for using my plugin :)

    Updated for 1.3.1-R0.1

    Please note that updating to 1.3.1 will remove some features of the plugin, as not all features have been re-implemented for 1.3. MelooonCensor 2.0.2 (last stable release for Minecraft 1.2.5) does not work with Minecraft 1.3.1, as the main 'PlayerOnChatEvent' changed.

    The replace features is coming soon for MelooonCensor 2.1, so do not worry!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  22. I just installed the version you have for 1.2.5 servers (which my server is) and testing it on a user with only member rank (no op and no melooon permissions) it still doesn't censor any words, even in the server log and no errors are generated... no idea what is wrong :/
     
  23. Offline

    Stevensaurus

    Does this still spam your console, or has this been fixed?
     
  24. Offline

    Jacob Marshall

    It's has been fixed, the user was using an outdated version of meloooncensor, please make sure you follow the instructions if upgrading from 2.0.2.
     
  25. Offline

    Stevensaurus

    Alright, thanks. Next time reply to me so it shows up in my notifications, thanks.
     
  26. Offline

    dark2222

    i have some ideas
    1 can you do it self thinking? its just bekos like in runescape (not player it anymore) it do that with noob so some persions say it like n00b i just say this bekos it will be a but irretating shull do for all the bad words
    2 can you do so we can make it remove the hole msg ex:
    dark2222: you ******* noob
    but ensted of that the chat will look like
    (nothing)
    3 if a player say a bad word to many times he will get kicked/banned

    4 (think this will be hard to add) the plugin can selv think ex
    dark2222: you ******* noob
    dark3333: i am not you son of a bitch
    then it shull be so think af so if they are a word a admin not have added so is can think bitch is the bad word and can add it to the bad word list automatic! (this will be a bit hard to add)

    5 (this is a idea that only can be added if 3 get added)
    a log with that show who it have banned

    6 a log that show all player that have used a bad word and what time he used it.

    7 if a person use a bad word he will lose health or get striked! (with config) (just for fun xD)

    8 if a player use a bad word he will lose he good stuff (with config) ex
    dark2222: **** you
    dark2222: wtf i just lose my diamond armor T_T


    9 (can be hard to add to) (only work if 8 get added)
    if a person say a bad word to another player will the other player get he's good stuff (if he's inventory is full it will place he's bad stuff with the good stuff)
    ex
    dark2222: **** you dark3333
    dark2222: wtf i just lose a diamond sword
    dark3333 i just got one:)
    i have more ideas just msg me if you need :)
     
  27. Offline

    Jacob Marshall

    Yah, sorry, I was using my iPhone last night, and it gets a tad confusing when quoting on it.

    I know sort of what you're trying to say, but you made it pretty hard for me to understand. Of course a lot of these features will be added none the less, and thank you for your contributions :)

    The last idea is kind of OP, and probably will not be developed with the same intention as you have. Also (8) will also probably not be added, as you cannot determine that a censored word is actually a bad word, and could easily be abused.

    Ill read over it later, when I get back from school and see what is definitely not going to make the cut :p

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

    edragy

    wheres the version for 1.2?
     
  29. Offline

    Jacob Marshall

    Just incase anybody else wants to know this... all versions stay accessable on Dropbox...

    The URL syntax is either

    or

    The version for 1.2.5 is

    https://dl.dropbox.com/u/38229846/MelooonCensor2/v2.0.2/MelooonCensor2.jar

    Sorry for not providing it in the main thread post :p
     
  30. Offline

    edragy

    Can you please fix the bug where the player just puts a space in the word and it ignores it? please? just see what the playe says, remove all " " from what they say, then check it for swears, because if the word lag is banned, they can't say djnhdbbdbflagdjndb, but they can say djdhbdfbl agdhh. Please fix this
     

Share This Page