[ADMN/CHAT/FUN] StruckDown v1.5 - Stop annoying questions with a bang. [953]

Discussion in 'Inactive/Unsupported Plugins' started by alta189, Apr 28, 2011.

  1. Offline

    alta189

    StruckDown - Stop annoying questions with a bang and more
    Version: v1.5
    Static JAR: StruckDown.jar

    As a server admin or mod, it can get annoying to be constantly asked to give items or to change the time. StruckDown allow you to set a list of words/phrases that when chatted, the offending player will be struck with lightning. Not to worry though, you can protect yourself with a Permissions node! Please post any errors or ideas that you have! Special thanks to @DjDaemonnl who gave me the idea for this plugin! Also I wanted to give a special thanks to @Adamki11s who was always willing to help me fix an error that I could not figure out, check out some of his plugins because they are always great!

    Features:
    • Searches for words and phrases that you specify in the properties file
    • Supports Permissions
    • Strikes down any offending players
    • Will kill them unless they can find water and douse the fire on them
    • Customizable message to offenders
    • Reload config files in game via command
    • Can be case sensitive or non case sensitive
    • CraftBukkitUpToDate support
    • Punish System
    • Disable on specified worlds
    • Control the amount of damage from lightning strike
    Download StruckDown 1.5

    Download StruckDown 1.4
    Past Versions (open)


    IMPORTANT - Watch the video below so that you can understand the new punish system! Documentation will be coming soon!


    Default "settings.properties" File
    Code:
    #This is the settings file for StruckDown
    MSG:You have been struck down for your insolence!
    CENSOR:false
    CASE_SENSITIVE_CHAR:^|^
    MSG = It is the text that is sent to the offender when he gets struck with lighting.
    CENSOR = When true it cancels the offender chat event preventing anyone from seeing what the offender said.
    CASE_SENSITIVE_CHAR = When put in front of an entry in the "struckdown.properties" file, it checks each chat for the word/phrase with Case Sensitivity.

    Example "struckdown.properties" File
    Code:
    #Write words or phrases that will result in strike on each line
    make it day
    fUn
    ^|^WHAT
    #day
    make&&it&&night
    Can you&&give&&me
    make it day = When found in a chat it will strike the sender
    fUn = Will be searched with non case sensitivity
    ^|^WHAT = If ^|^ was the CASE_SENSITIVE_CHAR in the "settings.properties" file, this would be searched for with case sensitivity
    #day = Will not be searched because it is commented out.
    make&&it&&night = Will search for any chat that has the words make, it and night in any order
    Can you&&give&&me = Will search for any chat that has the phrase can you and the words give and me in any order
    Remember that you can mix and match search parameters. (Example: ^|^YoU&&are&&stupid = YoU will be searched with case sensitivity, but are and stupid will be searched with out case sensitivity)

    Punishments
    NOTE: Please watch the video at the top of this thread!
    jail - If you have the Jail plugin then you can jail the offender
    warning[This is a warning!!!] - Will send the offender are waring of what ever is between the two brackets in this case it will send "This is a warning!!!"
    kick - kicks the offender
    ban - bans the offender
    false - does not do anything

    Commands
    /struckdown reload - Reload the config files
    /struckdown version - Displays the version of StruckDown that you are using
    /struckdown add <word/phrase you want to add> - adds the word/phrase you write to your "struckdown.preoperties" file NOTE: You must use _ instead of spaces, so to add "give me" type "/struckdown add give_me"
    /struckdown status <OffenderName Case Sensitive> - Shows the rap sheet of the provided offender

    Permissions Nodes
    struckdown.reload - allows use of /struckdown reload
    struckdown.version- allows use of /struckdown version
    struckdown.protected - Protects the player from StruckDown
    struckdown.add - allows use of /struckdown add
    struckdown.status- allows use of /struckdown status


    To Do:
    Don't be shy if you have an idea, leave a post below and I might add it!
    • Make it so that only the offender gets hurt and not others or any blocks - 1.5
    • Multiworld: allow it to be enabled for some worlds, and not others - 1.5
    • Support to kick/jail/ban based on # offences (configurable) - 1.5
    • More commands, and clean up code - 1.5
    • Custom message per search parameter - Pushed back to 1.7
    • Can censor some, can not censor others -Pushed back to 1.7
    • Ignore McMMO parties - unknown
    Known Errors:
    None reported currently! :D

    Changelog:

    Version 1.5
    • Fixed /struckdown add
    • Added punish system
    • Recoded
    • Update alerts
    • Auto Update Config Files
    • Control the amount of damage
    • support for multiwords
    Version 1.4
    • Fixed command errors
    • added /struckdown add
    Older versions (open)
    Version 1.3

    • Cleaned up code
    • Added more search parameters (&&)
    Version 1.2

    • Added support for case sensitive searching
    • Added commad /struckdown reload
    • Added command /struckdown version
    Version 1.1
    • Added custom message sent to offenders upon being struck
    Version 1.0
    • Release
     
    Noppoly, DjDaemonnl and JWhy like this.
  2. Offline

    alta189

    Yes that is a problem with DeathMessagePlugin.

    I will look into implemting something like this. :D

    It should work with multiworld, but I have not tested it yet.

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

    TheGurw

    What I mean by multiworld is on for some worlds, off for others. Just to make sure we're on the same page.
     
  4. Offline

    alta189

    I will incorporate that soon!
     
  5. Offline

    Jake Buly

    I can't get this to work. It keeps saying that my friend is protected from StruckDown. Please help me fox this!
     
  6. Offline

    alta189

    Can you send me your permissions file. To give it to me click upload a file next to post reply.

    Also tell me me the username that is protected.
     
  7. Offline

    Codex Arcanum

    Can you implement a separate message for each censored word?
    Also, can you explain what determines whether a player is protected from Struckdown?
    edit: Never mind it's a permissions node. Sorry 'bout that.
     
  8. Offline

    alta189

    Added to To Do. Likely release is 1.6, which will be on 3 - 5 days. 1.5 will be out tomorrow!
     
  9. Offline

    Jake Buly

    There is no permissions folder in the StruckDown folder. Is there something else I need to download?
     
  10. Offline

    alta189

  11. Offline

    CoolOppo

    I've read the bukkit forums for a long time now but I had no reason to post. Am I allowed to post a list of swears that people can input to their properties file if it has a warning and is linked to an external site (like pastie)?
    Nice plugin btw!
     
  12. Offline

    alta189

    I guess...

    ANNOUNCEMENT
    1.5 has become a big update, I had said that it would be released yesterday, but I was not able to finish in time. However it will be released tonight!!!

    New Features:
    • Punishments (Jail/mute/ban/kick)
    • Ability to disable on certain worlds
    • Only the offender can get damaged
    • Settings.propterties Auto Update (Detects if your settings file is an previous version and upgrades it

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

    CoolOppo

    That's awesome dude! Another thing: your plugin doesn't work on my server... It uses multiplay/clanforge if that helps.
     
  14. Offline

    alta189

    Can you tell me more about this. Post errors, do you have Permissions, can you post your StruckDown config files?

    EDIT: Also could not find these plugins, are they plugins, and can you give me the links?
    Also, are you using the latest Recommended CraftBukkit Build?
     
  15. Offline

    CoolOppo

    They aren't plugins. Clanforge/multiplay is a company which hosts my Minecraft server. They're kindof different because you don't use ftp or anything, you just choose from a list of plugins (and I requested for them to add this to the list ;) ) and they add it. If this helps, I don't think that their servers let plugins edit config files.

    And yes, I'm using RB 740, they update it for me.

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

    alta189

    You are going to have to wait for update 1.5, I am gonna release it in about 2 hrs (Hopefully). The update will fix the add command and thus allow you to add search parameters using commands. If all goes well I might release 1.6 tomorrow, that will allow in game editing of the config files. That should allow you to have full functionality!

    On a side note, you should ask them to install RemoteToolkit. It allows you to see the console remotely using a program called putty. This would allow you to see errors in the console.
     
  17. Offline

    CoolOppo

    You have it backwards. I can edit the config files, but they're read only to plugins, so I can't edit them in game. I experienced this with a lot of plugins because plugins can't effect files.Here are the plugins I got it with (just to give you a general idea):
    Signowner (stores owners of signs in a flatfile)
    Groupmanager (let's you promote and demote users in-game)
    PermissionsPlus (does the same thing as groupmanger except with permissions)
     
  18. Offline

    alta189

    After editing the config, make sure you restart the server or use /struckdown reload.
     
  19. Offline

    CoolOppo

    I did. I think it's just something weird going on. I'm gonna reinstall the plugin and try it. It might be conflicting with iChat or something though hmm
     
  20. Offline

    alta189

    Yah it may be a conflict, 1.5 will fix it.
     
  21. Offline

    valdark

    Any chance of adding a non lethal version that will just create the thunder sound and strike a distant block when the word is spoken?

    For RP purposes I would like to have this trigger any time someone mentions the name of the main evil NPC.
     
    Zarius likes this.
  22. Offline

    Droessler

    I love this plugin, great job!
     
  23. Offline

    alta189

    @CoolOppo @TheGurw @Zarius
    1.5 will finally been released within the hour!!!!! :D

    EDIT: It has been released!!!
     
  24. Offline

    TheGurw

    awesome. [diamond] to you, sir.
     
  25. Offline

    alta189

    Thanks you!
     
  26. Offline

    IronFerret

    anyone have any ideas on what to put for stike-able phrases or words? i mean besides the obvious; begging, swearing, and the word 'pl0x'
     
  27. Offline

    valdark

    The full name of all moderators. :p
     
  28. Offline

    alta189

    Notch or Israphel
     
  29. Offline

    SynMonger

    I could use a static download link for my update scripts. Pretty please? :)
     
  30. Offline

    alta189

    Added one at the top of the thread
     
  31. Offline

    Squall

    What about "stack-able" strikes, I.E. some one says 2 words or phrases in one sentence they get hit twice, can be toggled?
     

Share This Page