Inactive [ADMN/CHAT] CurseBan 2.3.4-Stop swearing[Fully Customizable][1.2.5-R01, older Versions available]

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

  1. Current Version: 2.3.2
    Recommended Build: R6/1.2.3-R01

    WE MOVED TO DEVBUKKIT; PLEASE UPDATE YOU BOOKMARKS (Forums will no longer be updated): http://dev.bukkit.org/server-mods/curseban/

    Outdated information:
    Show Spoiler

    What this does:
    Ever had a player flaming constantly? Or maybe you want to have a family-friendly server? Or you want to stop people from asking for diamonds? Now you don't have to worry about that anymore: CurseBan allows you to add "stalk words" - Whenever a player mentions one of them, he gets kicked. At the same time, the plugin keeps track of how often a player has been kicked. If s/he gets kicked again, and the word s/he used has a lower ban-threshold than the word s/he used, s/he will be banned.

    Commands:
    • /cb - Displays help
    • /cb list - Lists the current stalk words
    • /cb add [word] <threshold> - Adds the word with that ban threshold to the list. If no threshold is given, 5 is used
    • /cb remove [word] - Removes that word from the list
    • /cb pardon [player] - Sets that player's kick count to 0 (Note: Will not unban if he has been banned)
    • /cb pardon-all - Sets the kick count of all players to 0( Note: Will not unban if they have been banned)
    • /cb set-threshold [word] [threshold] - Sets that word's ban threshold to that number
    Permission nodes:
    (Note that any node can be represented by its parent node - You can use cb.admin.* instead of typing in every node one by one)
    • cb.admin.ignore - You won't get kicked for cursing
    • cb.admin.pardon.all - Will set the kick count of all players back to zero. Will not unban them
    • cb.admin.pardon.single - Will pardon single player. Also no unban
    • cb.admin.add - Add curses to the list
    • cd.admin.remove - D'uh
    • cb.admin.set.threshold - Allows to set ban threshold for a curse
    • cb.list - Allows to see a list of all stalked curses
    Examples:
    /cb add diamonds - The list now contains the word diamonds
    /cb list -> "[diamonds]"
    /cb add fukc 2 - The list now contains the word fukc, with a threshold of 2
    /cb list -> "[diamonds, fukc]"
    Player A joins...
    Player B joins...
    B: I can haz diamonds pl0x? - B gets kicked
    A: what the fukc happened? - A gets kicked
    A: The fukc? - A gets kicked and, since fukc has a threshold of 2, banned

    ToDo:
    -Fix issue with PermissionsEx

    -Other commands executed instead of mute
    -Custom kick message
    -Notice when player joins that they have been kicked for swearing, and that repeated swearing may lead to ban.

    Download:
    Show Spoiler

    Version 1.1.2
    • Mod edit - REMOVED
    Version 1.1.0
    • Mod edit - REMOVED
    Version 1.0.0
    • Mod edit - REMOVED



    Changelog:
    Show Spoiler

    v1.1.2:
    • Updated to RB 1317
    • Fixed PermissionsEx issue (hopefully)
    • Skipped v1.1.1 because derp.
    v1.1.0:
    • Updated to RB 1240
    v1.0.0:
    • First release


    Contact:
    Write a post in here or contact me on IRC: irc://irc.esper.net:6667/arcticraft
     
  2. Offline

    TheReachFreaks

    This Looks Nice, Seen So Many Of These Types Of Plugins... I Would Probably Choose A Different One To Be Honest...
     
  3. Offline

    semibreve42

    I like the look of this, exactly what I need - dropbox link is broken :)
     
  4. Offline

    Vision

    Then don't reply at all. As an addition, please learn to type correctly "Not Lyek This Main".
     
  5. @semibreve42
    Fixed.

    @TheReachFreaks
    If you are going to criticize my plugin, please also tell me how to improve it. Don't just say "Dis suks", tell me why.
     
  6. Offline

    Xenon808

    And how i can unban Users?
     
  7. Offline

    goldseed

    there are methods to give penalty ..

    How about ... mute .

    If someone say fukc.. then He would be muted for a few mins..
     
  8. Just as you would unban users normally:
    Code:
    /pardon [Username]
    I'll try to do that!
     
  9. Offline

    Xenon808

    Permission notes dosent work for me.

    I'm using PermissionsEX
     
  10. Offline

    tombik

    Thx for great plugin. Customizable message should be great!!
     
  11. Up to date with v1.1.0 - RB 1240
     
  12. Offline

    sleite

    A private message to the player upon logging in (after being kicked), warning the player that continued infractions could result a temporary or a permanent ban would be a nice added feature.
     
  13. Offline

    Gandalf_911

    It's not working for me either, I'm also using PermissionsEX. Fix? :)
     
  14. Offline

    JohnPulse

    For some reason my config files are not being created, so, on server restart every config resets of your plugin. Did this happened before with you?

    Full story:
    - Tried your plugin, found the config files on the CurseBan folder.
    - On edit with Notepad++, the files were corrupted, only some weird chars showed.
    - I deleted the files.
    - They were never created again.

    Tried:
    - Moved the server to another folder.
    - Re-Download your plugin.
    - Deleted the folder CurseBan.

    BK1125
    Show Spoiler
    23:33:18 [INFO] Plugins: AutoMessage, AutoShutdown, CommandBook, Curseban, GeoIP
    Tools, HeroicDeath, iConomy, MultiInv, Multiverse-Core, Multiverse-Portals, NoCh
    eat, NoFloatingTrees, RawcriticsOreObfuscationPlugin, SimpleChestLock, Simple Pr
    efix, WorldEdit, WorldGuard, xAuth, EasyBan, ChestShop, dynmap, LogBlock, Permis
    sionsBukkit


    On server start:
    2011-10-07 16:42:28 [INFO] [CurseBan] enabled - be a good kid now

    Regards,
    John
     
  15. For everyone having problems with PermissionsEx: I am looking into that right now.
    All other suggestions are noted, too, and will be made as soon as possible.

    @JohnPulse The config files are program data and should not be modified (as a matter of fact, any program will only display garbage if you try to open them). Did you delete all of the file? Does the plugin still work, or are you getting any error logs in the console?
     
  16. Offline

    JohnPulse

    As of today, the files were automatically created again.
    Somehow this only happened after almost 24h, even with server restarts in between.

    So it must have been my fault as I tried to edit the files with Notepad++.

    All is running rock solid at this time.
    Thank you for your work!

    Regards,
    John
     
  17. Offline

    8Keep

    Amazing work. I use this on my server, the one you play on. Any possibility to add in commandbook banning? Because I use commandbook for bans and that plugin overrides the default banning system. Therefore i can only unban someone if i edit their name out of the banned players file and restart the server.
     
  18. @JohnPulse Glad to hear it works again. I have no idea why it took so long for the file to be recreated, they should've reappeared with the next server shutdown. I'll see if I can get some empty files and upload them, if something like that ever happens again

    @8Keep Goes hand in hand with being able to mute the player or execute other commands. I'll work on that as soon as I fix the PermissionsEx issue.
     
  19. The latest 1317 build isn't stable right now, but the 1240 version should work for 1317 as well.
     
  20. Offline

    JohnPulse

    Hi again,
    I got a small request, don't know if it's possible.
    My server works with EasyBan plugin, because it's an offline server. Is it possible to call for "/eban [nick]" when someone get's banned on your plugin?
    Currently the ban is done by your plugin and the [nick] goes to the "banned-players.txt" file, that I don't use in my server.
    Regards,
    John
     
  21. Offline

    Dan4rescue

    How do you use the thresholds properly?
     
  22. @Dan4rescue It is a bit complicated right now, I am planning on changing it soon. Basically, every time a player gets kicked, his count is upped by 1. If the word he got kicked for has a lower threshold than his count, he gets banned.
     
  23. The latest version should be stable for RB 1317 and the PermissionsEx issue is hopefully fixed. Also, this project is going to move to dev.bukkit.org, please prepare to update your bookmarks.Moved: http://dev.bukkit.org/server-mods/curseban/ Please excuse the horrible formatting, devbukkit's parsers is buggy at best right now.

    @JohnPulse Sorry, I missed your comment earlier. Yes, I am working on integrating custom commands atm.
     
  24. Offline

    tmad40blue

    Great plugin; I have two feature requests though.

    1. Is a link-in with Jail possible? I would rather not resort to kicking for certain words, and already have a nice jail system setup. It would be super nice if I could auto-jail players who chat certain words.

    2. I have been searching for months (to no avail) for a censor plugin that allows WORD EXCEPTIONS. For example I want my members to be able to say "grass", but not "ass". However, every censor plugin I've tried cannot distinguish between the two, and punishes the member regardless. Is it at all possible to add a feature where I can add exceptions, such as the word "grass"?

    These two features would have me using your plugin in the blink of an eye.
     
  25. tmad40blue likes this.
  26. Offline

    JohnPulse

    Thanks Boreeas!
    Regards,
    John
     
  27. To everyone interested: There is a beta release of v1.2.2 on the devbukkit page, including custom commands and a yaml configuration.
     
  28. Offline

    S4h4rk

    Thank you for the great plugin. I'm having a problem with the beta build. Here's my relevant server output:
    Code:
    20:05:04 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1131-g86b7fa8-b1337jnks (MC: 1.8.1)
    ...
    20:05:07 [INFO] Spout 1.0.6.449 has been initialized
    ...
    20:05:11 [SEVERE] Error occurred while enabling Curseban v1.1.2 (Is it up to date?): null
    java.lang.NullPointerException
            at de.boreeas.curseban.main.CurseBan.onEnable(CurseBan.java:83)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    ...
    20:05:41 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'cb' in plugin Curseban v1.1.2
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
            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 org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
            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.NullPointerException
            at de.boreeas.curseban.main.CurseBan.onCommand(CurseBan.java:246)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 13 more
    
    The first error occurs on start up of the server. The second error occurs when I type "/cb list".


    It's a fresh install of CurseBan; there's no leftover files in its config folder ("plugins/Curseban") from a previous version.

    Best regards,
    S4h4rk
     
  29. @S4h4rk Thanks for mentioning that, it should be fixed now, and the Beta_2 file is uploaded. Tell me if there are any more errors. Glad you like the plugin.
     
  30. Offline

    S4h4rk

    The errors / exceptions it was throwing are fixed! Thank you. When I stop the server is saves the curse words as it should. When I start the server again, CurseBan has a empty list of curse words ("/cb list"). There's no server console errors indicating a failure to read back in curse words from the config file. It just says "17:21:59 [INFO] [CurseBan] enabled - be a good kid now"

    What is the syntax for preventing sub-words being matched? For example I don't want people to get kicked for saying "grass".

    Thank you,
    S4h4rk
     

Share This Page