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. @S4h4rk I yet have to implement that, it will probably be a * in front of the word
    I will look into that issue with the words not being loaded. When you stop it, the list exists as yaml? It only disappears when you restart it?

    EDIT: Found the error, fixed it, added literal matching. Beta_3 is up, see changelog for more information
     
  3. Offline

    tmad40blue

    I believe that this is what I requested in my previous post when I asked for word exceptions.
     
  4. @tmad40blue You might want to try Beta_3 on devbukkit, which now can do exactly that
     
    tmad40blue likes this.
  5. Offline

    tmad40blue

    AAAAAWWWWWWWW YEEEEEAAAAAHHHHH

    Thank you so much. This is exactly the plugin I've been looking for for months.
     
  6. Offline

    S4h4rk

    I put it on my server and it works great. Thank you!

    S4h4rk
     
  7. Great! Glad you like it. If there are no more bug reports, then the official release will be made tomorrow.
     
  8. Offline

    nodice

    Can someone point out or make sense to me what Parent and Children nodes are and how they work in simple terms? Thanks a lot! :D
     
  9. @nodice Basically, each permission you get (for example, one for each command) has it's own name. For /cb set kick [message] the name would be "kick".
    Since there a multiple /cb set commands, let's group them together:
    set.kick
    set.value
    ...
    Now "set" would be the parent node of "kick" and "value" and vice versa they are child nodesof "set".
    We can group them again, with other commands mainly used by admins:
    admin.set.kick
    admin.add <- They do't all need to be the same length
    ...
    And, to prevent conflicts with other plugins, we add the same of the plugin in front of that:
    cb.admin.set.kick
    cb.admin.add
    cb.list
    ...

    If a player has a node, he can use that and every permission given by it's child nodes.
     
  10. Offline

    Helikon

    Hello,
    I must say that this plugin is by far the best and easiest to use out there. I am having 1 issue atm. Players are getting kicked for letters associated with curse words ie, Grass. I have tried to edit the YML in the ftp to show literal match as true, but when i reset the server it goes back to false. How to i make it stay set to true. What command is needed when inputting a word into the curse file to have its literal match set as true?


    Thanks so much.
     
  11. @Helikon Did you shut down the server before you modified it? You add literal-matching ingame by adding a '*' infront of the word when doing /add
     
  12. Offline

    Helikon

    So the command string to do that would be /cb add *ass correct?
     
  13. @Helikon Exactly. If you edit the yml file, you have to remove the '*' and at "literal-match: true" to the options. Make sure you shut down the server first, though, or all changes will be removed when the plugin saves the ingame data.
     
  14. Offline

    tmad40blue

    Any progress on Jail integration?
     
  15. @tmad40blue I can't add support for every plugin, that's why I added the custom command support. Just decide at what point you'd like to jail the players, and add the command to the config file:
    <points>: /jail %name%
     
  16. Offline

    8Keep

    The plugin is failing to load since 1.2.3. Its a null pointer exception on enable.
     
  17. @8Keep: Can you post the error message (from the terminal), please?
     
  18. Offline

    meebiio

    could you change it so it isn't case sensitive?
     
  19. Offline

    mario00037

    Code:
    2011-12-29 13:21:51 [SEVERE] Could not pass event PLAYER_CHAT to Curseban
    java.lang.NullPointerException
        at de.boreeas.curseban.listeners.CBChatListener.onPlayerChat(CBChatListener.java:33)
        at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:300)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:727)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:180)
        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:93)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     
  20. Offline

    mario00037

    HELP!

    Code:
    2011-12-30 20:17:45 [SEVERE] Could not pass event PLAYER_CHAT to Curseban
    java.lang.NullPointerException
        at de.boreeas.curseban.listeners.CBChatListener.onPlayerChat(CBChatListener.java:33)
        at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:300)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:727)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:180)
        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:93)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     
  21. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

    @Boreeas links in OP removed. Check your PM box.
     
  22. Offline

    EarthBoundNess

    What the heck? you don't capitilize every word in a sentence

    Oh and can you add the feature to "whitelist" words? For instance I want to ban the h word, but then people can't say "hello". Can you add that?

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

    SAMDAN

  24. Dammit, Bukkit, why don't you alert me on new posts <.<
    Anyways, for future reference, please see the dev-bukkit page - This one will no longer be updated
    CurseBan - Bukkit
     
  25. Offline

    zodeoo

    Just what I need

    I hope it works

    Oh it dosnt show up but it dosnt kick or ban

    On the pail window it sais it couldnt pass the event to curseban

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  26. zodeoo
    I need a stacktrace, please (the error log)
     
  27. Updated to R6, also compiled against the MC-1.2.3-R01 Beta Build
     

Share This Page