Inactive [CHAT] bAntiCaps 1.2.0 - No Capslock! Kick, Warn, Convert to lowercase (configurable) [1000]

Discussion in 'Inactive/Unsupported Plugins' started by beecub, Apr 27, 2011.

  1. Offline

    beecub

    bAntiCaps - Block Capslock:
    Version: 1.2.0
    Download bAntiCaps
    [​IMG]



    You all know these guys :mad::
    You want to get rid of these messages?
    This plugin is for you :D.

    (Compatible to all other Chat Plugins, HeroChat, iChat)


    Features:
    • Autmatic reaction on Capslock-Text

    Configuration:
    • Choose/Combine conditions:
      • minimum text character count
      • minimum text word count
      • minimum percentage of characters in capslock
      • herochat channel-commands to filter
      • replace text random with your choosen messages
    • Choose/Combine reaction:
      • send a message to player
      • convert text to lowercase
      • kick
    Example-Config-File:
    Show Spoiler

    capslock:
    reaction:​
    message: '&6Do not write capslock text!'​
    kick: false​
    replacewith:​
    enable: true​
    messages:​
    - I like cookies... num num num​
    - 'My newest research result: Green is not pink!'​
    - Uhhhh, look my sister gave me her new makeup *-)​
    - Where is my dolly?​
    - I like turtles​
    - The cake is a lie​
    tolowercase: true​
    condition:​
    charactercount: 6​
    percentage: 40​
    checkcommands: []​
    wordcount: 0​



    Commands:
    /bAntiCaps- reloads config file (use it after changes in your config)

    Permissions:
    Show Spoiler




    Changelog:
    Version 1.2.0
    • New Reaction: Replace Text with random message
    • /bAntiCaps - Reload Command
    Show Spoiler

    Version 1.1.0
    • New Condition: HeroChat channel commands
    • no filter for OPs
    • permissions (optional)
    Version 1.0.0
    • Initial Release


    Request?, i wanna do it. Give me Feedback. I want to hear your opinion. Thanks a lot :).

     
  2. Offline

    Andre_9796

    Nice ill give it a try later today.
     
  3. Offline

    Unscrewed

    Ill test it out too when I'm home!
    I was thinking about making it too, but saw this! Thanks!
    I'll give you a result later =D
     
  4. Offline

    lycano

    Hey beecub ^^ Nice plugin!

    I have a couple of suggestions to announce: you may want to change your readme contents and rename it to "README" without ".txt". You can do that if you open the file in notepad and choose "Save as" then type in the destination field "README" with double quotes and press save.

    You may want to rename your Repository, too. There is a typo "bAnitCaps".

    Furthermore link against bukkit not craftbukkit and relocate your eclipse workfolder. If you place it on your Desktop it could reveal personal informations you may not want to publish. (eclipse saves this info into .classpath)

    I would suggest that you change your tab ident to 4 spaces instead of tabs to get a nice formated result See changing-tabs-to-spaces-in-eclipse for further details. I dunno if you allready do .. set your file-encoding to UTF-8 "Window -> Preferences" under "General->Workspace" "file-encoding".
     
  5. Offline

    Pencil

    Haha, I like the

    You rage -----> kick xD
     
  6. Offline

    Plague

    Never use a plus sign in CB version.
    And also the last changes cannot be in a spoiler, the rest can.
     
  7. Offline

    beecub

    Old file, from my template. Missed this :oops:

    Seen it myself, thanks for evidence.

    Not a problem. Google 2 minutes you will find my full address :D. But youre right. Will change it.

    Have this in my other IDEĀ“s. But i never had problems with this in eclipse. But youre right. Again. Changed:)
     
  8. Offline

    spunkiie

    wow.. this plugin is a lifesaver when u had 200+ players.

    Thank you

    hmm, the plugin suddenly stoped working.. dunno what happened, no errors in server.log

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

    beecub

    using it since 3 days on our servers. works fine. tried an server reload?
    Whats your config?
     
  10. Offline

    spunkiie

    I'm using default config with #735

    Will try #733

    TY
     
  11. Offline

    MathiasKippen

    Thanks man, I love you so much. Keep updating this plugin!
     
  12. Offline

    beecub

    With default config all sentences with more than 6 words and more than 50% text written in capslock will be converted to lowercase, you know?
    Try to config it more strict 20/30/40% for example.
     
  13. Offline

    spunkiie

    Found the problem. :D

    Your plugin doesn't work with HeroChat :(

    If I type: /g JUST TESTING THIS NEW PLUGIN
    Won't convert.
    btw: /g is a HeroChat shortcut to talk with 'global'

    too bad
     
  14. Offline

    beecub

    yes, cause /g is a command, not normal chat.
    had this problem in one of my other plugins too.
    but there is a solution, wait for next version (few hours ;) ), it will work then :)
     
  15. Offline

    link2110

    Can you make a permission node or a file to put users in who will not be affected by this? Sometimes i need to write in caps to get the attention of players.
     
  16. Offline

    beecub

    no problem (adding permissions, but optional, not necessary)
    next version you get it, wait a few hours ;)
     
  17. Offline

    link2110

    Sweet! Thanks so much! Awesome plugin too, the annoying players on my server are quite mad now :p
     
  18. Offline

    spunkiie

    Cool, can't wait :)
    btw: I don't use permissions
     
  19. Offline

    beecub

    Its done. Permissions Plugin supported. Optional. Not necessary.
    bAntiCaps.AllowCapslock

    Also done. Create a new config file. Add your channel commands like example in file (/g or /l, ...).



    Version 1.1.0
    • New Condition: HeroChat channel commands
    • no filter for OPs
    • permissions (optional)

    "checkcommands" - option in config is only working for herochat channel commands. Nothing else, no /m /msg /tell, ... . Seems to be a bukkit bug with pre-command and event.setMessage()? Have to investigate.
     
  20. Offline

    spunkiie

    yeah!

    Now it works :D

    TY
     
  21. Offline

    Tmidog69

    Hurray, now the stupid regs cant screen on about "I CAN'T GET OUT OF SPAWN"
     
  22. Offline

    kahlilnc

    Can you add something a little fun, such as, Choose/ Combine Reaction: Custom Output Text. So every time someone "DOES ALL CAPS". The format might come out to be "I like cookies... num num num," to the channel they are in. But the Custom Output Text should be given multiple configurable text to choose from and each one should be chosen randomly. Thanks for looking over.
     
  23. Offline

    beecub

    Yep, going to add this :)
     
    Shoot and kahlilnc like this.
  24. Offline

    beecub

    Ok, its done,
    i also added a reload command.
    let the plugin create an new config file or look at Example-Config in first post and add new options manually :)

    Version 1.2.0

    • New Reaction: Replace Text with random message
    • /bAntiCaps - Reload Command
     
  25. Offline

    KiloWhiskey

    The attached zip doesn't have the jar in it...it looks like it is the jar. :?
     
  26. Offline

    beecub

    reuploaded, now it is the zip with the jar in
     
  27. Offline

    KiloWhiskey

    Still no luck. :/
     
  28. Offline

    beecub

    downloaded it again, unzipped on windows and linux, its a zip with the jar in it :/
    what are you doing?^^
     
  29. Offline

    KiloWhiskey

    Let's just delete all of my posts because I'm using a crap zip extractor on OSX that opened the zip...saw a jar, and then opened that too. :/ My bad man. Thanks for a great plugin though.
     
  30. Offline

    beecub

    No problem, as long as it is working now :D
     

Share This Page