[ADMN/CHAT/GEN] OKSpamSecurity v2.0.0 - Stop spammers right in their tracks! [1.0.0-R1]

Discussion in 'Inactive/Unsupported Plugins' started by Kalman Olah, Aug 4, 2011.

  1. Offline

    Kalman Olah

    OS - OKSpamSecurity
    by Kalman Olah​
    Latest version: 2.0.0 ( Download - Source)​
    Would you like to buy me a drink? some useless stuff from Amazon? a car?​
    [​IMG]
    What is OKSpamSecurity?
    OKSpamSecurity is a antispam plugin for Bukkit. It provides you with several unique ways to prevent spam from disrupting gameplay.​
    Where can I get OKSpamSecurity?
    You can always find the latest version here .​
    Additionally, OKSpamSecurity comes with an auto-updater that will download updates to the /plugins/OKSpamSecurity/update/ folder.​
    How do I set up OKSpamSecurity?
    Just drop the plugin .jar in your /plugins/ folder, and let OKSpamSecurity generate a configuration file(/plugins/OKSpamSecurity/config.yml).​
    Example config.yml:​
    Example configuration:


    Commands and Permissions
    Node: okspamsecurity.reload -- Allows you to use /os reload
    Node: okspamsecurity.ignore.all -- Allows you to ignore all spam checks
    Node: okspamsecurity.ignore.chat -- Allows you to ignore chat spam checks
    Node: okspamsecutiy.ignore.command -- Allows you to ignore command spam checks
    Node: okspamsecurity.ignore.login -- Allows you to ignore login spam checks

    /os reload -- Reloads the configuration

    Changelog

    Version 2.0.0
    • Complete recode.
    • Added login, chat and command monitoring.
    • Added multiple punishments.
     
    scuba2dan and kahlilnc like this.
  2. Offline

    Kalman Olah

    It will. You just won't be able to just the mirror mode. Mute & damage still work.
     
  3. Offline

    thestriker095

    Hello, iv been trying to remove this plugin for some time... mainly for updating purposes (its a really good plugin:))
    However, usaully i just delete the plugin jar then restart the server and its unloaded but for some reason its regenerating the config file and failing to start when the jar is removed from the plugin directory its very odd anyway here is the error.

    07:15:19 [INFO] [OKSpamSecurity] Attempting to enable OKSpamSecurity v1.0.3 by Kalman Olah...
    07:15:19 [INFO] [OKSpamSecurity] Initiating auto-update...
    07:15:19 [INFO] [OKSpamSecurity] You already have the latest version of OKSpamSecurity.
    07:15:19 [INFO] [OKSpamSecurity] Successfully hooked into Permissions plugin.
    07:15:19 [INFO] [OKSpamSecurity] Attempting to create configuration file...
    07:15:19 [SEVERE] Error occurred while enabling OKSpamSecurity v1.0.3 (Is it up to date?): org/bukkit/configuration/file/YamlConfiguration
    java.lang.NoClassDefFoundError: org/bukkit/configuration/file/YamlConfiguration
    at me.kalmanolah.os.OKConfig.load(OKConfig.java:54)
    at me.kalmanolah.os.OKConfig.write(OKConfig.java:38)
    at me.kalmanolah.os.OKConfig.addDefaults(OKConfig.java:63)
    at me.kalmanolah.os.OKConfig.configCheck(OKConfig.java:24)
    at me.kalmanolah.os.OKmain.onEnable(OKmain.java:101)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:941)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:174)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:157)
    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)
    Caused by: java.lang.ClassNotFoundException: org.bukkit.configuration.file.YamlConfiguration
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    ... 15 more
     
  4. Offline

    mdskizy

    Does this plugin stop that nuke chat bullshit? We've been getting hit by people spamming messages like 20messages a second and it crashes the server.
     
  5. Offline

    Kalman Olah

    Yeah. The plugin will put that player into a punish mode after 30(default) messages in a minute. In this mode, the player will either be muted, mirrored or damaged. It's pretty effective :). So, long story short, the first 30 messages will show, but after that, NOTHING will show until the spammer stops TRYING to chat for 15(default) seconds.
     
  6. Offline

    ZerG

    hey kalman ive seen a few similar plugs to this one , i have a question for ya im in need of a 1185 version of your plug and you dont seem to have a bukkitdev page so... i can haz link ?
    Thanks for the time you spend making this sort of plug it makes the work of an overloaded admin just a little bit lighter :) its appreciated
    Oh... i hate to ask ... but could you add another punishment type wherein the spammer is punished with a command that the admin types in the config ie /ban [playername] or /burn [player] 6000s it would be great to put the punishment back in the hands of the admin , yet still be automated by your plug :D just a thought
     
  7. Offline

    Kalman Olah

    You can already use /os punish <name> and /os forgive <name> to manually counter spam. It'll use the punishment you set up in your config file.
    As for the earlier version, try this: http://kalmanolah.net/files/dl.php?id=OKSpamSecurity&ver=1.0.2
     
  8. Offline

    domingo15

    Hey, this is like the best yet anti spamming..
    I'm here to request if you can kick the player that is spamming?
    like add another punishment that when they spam they just get kick and no one still hears what he/she saying..
    Is this possible?
     
  9. Offline

    ZerG

    thanks for the link boss, but as for the manual punishment i think the idea of your plug is to automate the punishment or you wouldnt bother making it of course i could just type in the command and not waste the time putting it in the config but if its automated it would be helpful ( the opposite of manual) people use this plug because it AUTOMATICALLY deals a punishment you choose if you have to use a command to make it function its pointless, i wouldnt bother putting it in the config ... i would just type it in;) , this plug allows admins to get unglued from the screen not just another port for a pre-existing command you understand what i mean now ? is it possible for you to add a punishment to your plug that is a command written in the config ... :)
    again thanks for the link ill see if its 1185 worthy !
     
  10. Offline

    Kalman Olah

    I could do that, a custom punishment. The command would have to be something you can send from the console though. I've made a plugin for a server I develop stuff for that did MCBans temp bans when a link was typed, but I had to give every banned player mcbans permissions, have them execute a command to tempban themselves, and then remove the permissions. Pretty messy. So yeah, let me know if you're fine with a console command punishment. If so, I'll add the option :).
     
  11. Offline

    ZerG

    sounds good man your plugin could deliver some serious evil from a console command , also hate to break it to you but , the link you gave me for the 1185 version has caused an error 3 times "too many files open" so ive once again pulled it , the only reason i havent employed your 1240 version is worldguard and worldedit as usual those two plugs take forever to update its really dam annoying i would like to run a better bukkit but cant have premium users plots in jeopardy . thanks for the speedy responses its nice to see a plug dev put as much time in as admins do !
    i would definately go ahead and add the custom command punishment it will get your plug some good credit :) the thought of having the server do whatever i want to a spammer while im asleep is just JUICY !! ie /jail player /burn player /lightning player /ban player all within 5 seconds :) i think the guys will love it (spammers excluded)
     
  12. Offline

    Kalman Olah

    I'll add it tomorrow then :)... Or, well, "later", as it's 1:05 AM here.
     
  13. Offline

    ZerG

    awesome i cant wait to use it with a recent build :) hopefully no errors this time around,
    enjoy boss
     
  14. Offline

    Kalman Olah

    Version 1.1.0​
    • Added the option to punish spam be executing one or more custom commands.
    Check the updated OP for more info.
     
  15. Offline

    ZerG

    Cool man !
    I removed your plug the other day and its still coming up with an error on startup , any idea where your plug has stored itself ?
    and good job with the speedy addition hope its flawless :D
    Do you have a server with any population to test this stuff on or are you just testing solo ?
     
  16. Offline

    Kalman Olah

    I generally test this solo, but most of the biggest servers out there use OKSpamSecurity :).
    I did infact test this release, and it's working fine on 1330.
    My plugin is just called OKSpamSecurity.jar, it's in /plugins/. It could also be OKSpamSecutiy-vx.x.x.jar, x.x.x being the version number :).
     
  17. Offline

    ZerG

    of course its supposed to be in the plugins folder :) however after it has been removed the plug is still trying to activate on startup
    Quite odd but its stashed itself in another file somewhere
    im curious as to where and how :confused: i even cleared its folder just to be sure lol
     
  18. Offline

    Kalman Olah

    Did you do a full restart? A /reload won't do the trick.
    If you did, well... I don't know. The problem's not related to the plugin though =/.
     
  19. Offline

    ZerG

    yea for sure a full restart and nothing from your plugin in the plugins folder it is quite odd isnt it ... its only a up to date error on startup yet it shows your plugin in the plugins list still :confused:
     
  20. Offline

    Switch0r

    Hey Kalman Olah i am using this wonderful plugin, thanks.
    Is it possible if a player does spam again after the kick that he gets banned ?
     
  21. Offline

    Mrchasez

    I am getting this error:
    Code:
    14:36:58 [SEVERE] Error occurred while enabling OKSpamSecurity v1.1.0 (Is it up to date?): null
    java.lang.NullPointerException
    at me.kalmanolah.os.OKConfig.loadkeys(OKConfig.java:77)
    at me.kalmanolah.os.OKmain.onEnable(OKmain.java:102)
    at me.kalmanolah.os.OKConfig.configCheck(OKConfig.java:32)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:170)
    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)
     
  22. Offline

    Nathuram

    Hey I got a question. How come this plugin doesn't work anymore?

    I had an earlier version of it and it worked great and then I updated it and now its broken as fuck all. The server loads it properly but it doesn't do a damn thing about spammers. I copied the config text straight from this thread.

    2011-10-20 19:49:11 [SEVERE] Error occurred while enabling OKSpamSecurity v1.1.0 (Is it up to date?): org/bukkit/configuration/file/YamlConfiguration java.lang.NoClassDefFoundError: org/bukkit/configuration/file/YamlConfiguration
     
  23. Offline

    yamato79

    How do i make it block command spam? people flooding /help or something
     
  24. Offline

    MrDice

    this plugin looks great! But i was wondering if you, or me, could customize this so that if someone sends more then 20 messages in 5 seconds, they can just get kicked from the server? is that possibly thanks.
     
  25. Offline

    Mick666

    This looks like a better version of SpamHammer- But can i request a level of punishment that gets the said spammer banned? or just kicked?
    I.e. - if someone spams repeatedly, they get kicked every time they say something witha defineable message.
     
  26. Offline

    asm0deus

    The only way to stop spammers is to ban them and have it on a low threshold (many spammers have multiple accounts, so 10 accounts + 20 messages = crashed server).

    10-15 messages per minute could be legit. If you go the ban route, It gives NO warning, and perma bans (kicking is pointless, they have auto rejoiners).

    So, your going to have legit people being banned every now and then that break the 10,15, whatever message limit.

    There needs to be warning (at 10 messages) then a permaban at 15 (or something along those lines) if you REALLY want to stop spam and not ban your own players.
     
  27. Offline

    FaeDine

    Thanks Kalman! I adore this plugin! It's doing just what I need thanks to the execution of custom commands.

    I have a (what I would think would be) minor feature request. Is it possible to have this only enabled after a certain number of configurable players are online? I'd really appreciate it. Many thanks!
     
  28. Offline

    housemaster

    Does not block /me spam at all. Please fix :(
     
  29. Offline

    domingo15

    Just a feature to ask but i don't know if its already been asked.
    Could you possibly add the Logging In and Logging Out spam?
     
  30. Offline

    Kalman Olah

    That's not spam, and Bukkit will block a player from repeatedly logging in and out I believe.
     
  31. Offline

    domingo15

    Is that so?
    I see, Thank you :))
     

Share This Page