[INACTIVE][ADMN] iWarning v2.1 - Warn bad users, Anti-Greif features as well [1000]

Discussion in 'Inactive/Unsupported Plugins' started by MineDev, Jul 12, 2011.

  1. Offline


    iWarning - A full recode of original version. More features etc!:
    Version: v2.2

    Coded By: @cronikkk of MineDev
    Follow me on twitter! @MineDevCronikkk

    If you had used iWarning previously, you would know its a plugin that is nice for warning users for things they may have done. As you might be aware of, there is a piston dupe bug right now, it blocks those upon dropping as well. This would be good for giving multiple chances. Everything is configurable!

    • SQLite Right now, MySQL soon!
    • Warn for placing fire blocks, water blocks, tnt, pistons, sticky pistons
    • Configure wether or not they get warned for placing those blocks (turn off warnings for water etc)
    • Customiseable messages for broadcasting warnings, kick broadcasts, and ban broadcasts
    • Easy to use commands
    • Default: Kick after 3 warnings, ban after 5
    • Built in ban system
    • NEW automatic update checker
    • New Stuff:
      • Reports System (Explanation below!!!)
      • Bad language filter
    Commands / Permission Nodes
    • /mywarnings - Shows warnings for yourself
      • iWarning.mywarnings
    • /warn - warn a user
      • iWarning.warn
    • /wadmin - show command list for wadmin
      • iWarning.wadmin
    • /wadmin pw <user> - show warnings for a specific player
      • iWarning.wadmin.pw
    • /wadmin rw <user> - reset warnings for a specific user
      • iWarning.wadmin.rw
    • /wbans - show command list for wbans
      • iWarning.wbans
    • /wbans view - show list of banned users
      • iWarning.wbans.view
    • /wbans remove - remove a user from ban list
      • iWarning.wbans.remove
    • /wbans add - add user to ban list
      • iWarning.wbans.add
    • /reports file <description> - File a report on a specific incident.
      • iWarning.reports.file
    • /reports unread - View unread reports
      • iWarning.reports.viewunread
    • /reports all - View all reports (Read and unread)
      • iWarning.reports.viewall
    • /reports delete <report id> - Delete a report from the database
      • iWarning.reports.delete
    • /reports details <report id> - View full details/description etc of a report
      • iWarning.reports.details
    Older Versions (open)

    Versions before 2.2 are not available due to web host closing

    Future Updates (open)

    • Changing chat filter to what people wanted

    How To Use Reports (open)

    Say a user name bob is destroying glass blocks on your house. What you type is something along the lines of:
    /reports file The user bob is destroying glass blocks on my house!

    An admin will then be alerted of this insident if he is online. If not, an admin can check when they get online. An admin would type:
    /reports unread

    This would show him the unread reports. He can see the ID of your report, date etc. To view the full details, he would type
    /reports details <report id>

    It would tell him who filed the report, the date of the report creation, and the full description. He can then take further action

    Change Log (open)

    Version 2.2
    • Fixed auto update link for new site
    Version 2.1
    • Fixed reports file bug
    • Fixed delete report bug
    Version 2.0
    • Added bad words filter
      • You can remove/add words to your liking
    • Added reports feature
      • Users file reports
      • Admins can view, and are alerted upon report creation
      • Future updates for this will come!
    Version 1.1
    • Fixed a small bug
    • Removed one unnecessary feature. 1.0 was deleted that feature is no unavailable.
    Version 1.0
    • Initial release.
    TheMaa and cronikkk like this.
  2. Offline


    sorry :( been busy, but this isn't the place for this conversation lol, message me sometime.
  3. Offline


    Bull i saw u on xbox :p Ur never on to message you
  4. Offline


    Well, yeah, busy will xbox... lol
  5. Offline


  6. Offline


    New Update!
    Enjoy :)
  7. Offline


    Thanks for adding a report system.:)
  8. Offline


    Thank @ValBGaming because he gave me the idea :D

    If you guys want anything changed on it let me know, i made it rather basic.
  9. Offline


    Just got to updating my plugins, thanks for adding the reports system. (And the word filter.) :)

    I think that the Reporting feature goes perfect along with Warnings -- This way my Moderators can read the reports and assign warnings as needed -- So much easier than having to have people go off and find a Moderator.

    Also -- I just thought of an idea for the Reports -- An additional feature.

    Well -- I was thinking, if there could be 2 different types of reports, one for reporting people that are being offensive in chat, and another for well -- Everything else. But the reason this idea is different than just having reports is this -- Would it be possible that for the chat reports, when a player is reported the plugin will log the last say -- 5 things that the reported play has said? This way reporting somebody for being offensive in chat would also provide the evidence needed to prove that they were actually being offensive in chat.

    And then of course the Moderator/Admin viewing the report details could see the last 5 things that the reported person said using the /reports details command.

    This would be a really nice feature -- I'm not sure how hard it would be to implement though, so let me know what you think of the idea, if it's possible, and if you'll consider implementing it. :)

    EDIT: I also just thought of another idea -- Would it be possible to have the bad word filter so that each player can turn it on or off? So like -- One player wants to use the filter so he uses a command such as "/filter toggle" and the game will say "Word Filter Toggled On", and another player doesn't want the filter and uses the same command to toggle the bad word filter off.

    And then if somebody says a bad word, it would appear to the first player that turned the filter on as censored but appear to the other player as uncensored.

    The reason I'm suggesting this feature is because I know some people like to turn the bad word filter off.

    EDIT: I've just gotten to fully testing all the commands for the reporting -- They work great! Well -- Mostly...

    /reports delete <ID> isn't working -- It says that the report has been deleted but when I do a /reports all it still says that the "deleted" report is there.

    And another small bug I've noticed...

    I filed a report saying "HE WAS MEAN" and when I did a /reports details on the report the description said "WAS MEAN" -- And another one I filed a report saying "That one guy was really rude to me." and when I did a /reports details the description said "one guy was really rude to me." -- It is seeming to cut off the first word of the description. Minor bug. :p

    Anyways -- Other than that it is great to have a reporting feature in iWarning. :)

    EDIT: Also just noticed a [WARNING] message I got from iWarning, not sure when it happened but it says the following.
    13:20:52 [WARNING] [iWarning]Error at SQL Query: unrecognized token: "'1;"
    13:20:56 [WARNING] [iWarning]Error at SQL Query: unrecognized token: "'2;"
    13:21:15 [WARNING] [iWarning]Error at SQL Query: unrecognized token: "'1;"
  10. Offline


    Alright let me try to answer all of your questions and ideas. :)

    1st -- I can try to look into checking to see the last 5 messages sent, would be challenging but may be possible.
    2nd -- The reason for the word filter is so if administrators want to keep their servers clean for younger users, its doable. Its not for specific users, its for the whole server. But I do have to add the permissions to allow users to swear if the admin wants them too. I just find this more suitable for the overall community of a specific minecraft server.
    3rd -- Thank you for those bug reports i'll do a hotfix soon. On my phone at the moment so can't do much at this point in time. Thanks for your help!
  11. Offline


    Happy to help -- And just now while doing more testing I just realized that the bad word filter gives a warning instead of censoring... Any chance you could add a censoring option? For example if someone says a word on the badwords list it will come up as a bunch of ****** or [email protected]#$%^ or something? That's what I initially thought the bad word filter would do... Kind of disappointed it just gives a warning instead. (No offense, I just wouldn't want anybody banned for swearing (Unless it's excessive) -- I mean a censor seems a better solution to people swearing.)

    Also -- When I mentioned the second idea I was still under the impression is was a censor -- Not a part of the actual warning system. Since some games have it in the options for people to turn on/off how bad words are displayed for them on their own screen (Whether bad words are censored or not) that's where the idea came from. :p

    Anyways -- That pretty much means I'm changing my request from a censor toggle to well -- A censor in general. :p Or at least an option to pick whether the user is warned -- Or the words are simply censored... Or both... Or I suppose any time somebody swears it could be censored and then have an option to have them also get warned? So many possibilities lol
  12. Offline


    2011-07-24 12:49:58 [SEVERE] at net.minedev.cronikkk.iWarning.SettingsHandler.getPropertyBoolean(SettingsHandler.java:90)
    2011-07-24 12:49:58 [SEVERE] at net.minedev.cronikkk.iWarning.IWBlockListener.onBlockPlace(IWBlockListener.java:21)
    2011-07-24 12:49:58 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$28.execute(JavaPluginLoader.java:434)
    2011-07-24 12:49:58 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-07-24 12:49:58 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    2011-07-24 12:49:58 [SEVERE] at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:90)
    2011-07-24 12:49:58 [SEVERE] at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:74)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.ItemBlock.a(ItemBlock.java:81)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:223)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.Packet15Place.a(SourceFile:57)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-24 12:49:58 [SEVERE] java.lang.NullPointerException
    What's going on?
  13. Offline


    Please read above whats in bold and underlined. Delete your old config file.

    it is a better idea, I'll maybe change it over to that.

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


    Would you be able to add a feature to auto-warn a player who breaks a specific block ID?
    And I'd love to see that was per-world too :)
  15. Offline


    Those 2 bugs fixed. Conversion of badwords is coming soon!
  16. Offline


    Hey. This is a great plugin, but there is one thing I must ask as an avid user of it. Will it ever be possible to warn offline players and let them receive the warn message when they login?

    For me this would make the plugin complete.
  17. Offline


    Thought I had that, I ment to at least, i'll make it do that for you :) I'm going to be doing a VERY large update, fixing the bad words filter, etc :)


    My web host is down for some reason, So downloads will be down i hope it will be fixed ASAP

    My douche of a web host (brohoster) Decided to close without notice. Working on getting a new one! If someone knows one let me know!

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


    Hey Guys,
    since half an hour every time i want to start my Server i get following error:
    2011-07-28 17:49:33 [INFO] [iWarning]SQLite Initialized...
    2011-07-28 17:49:33 [INFO] [iWarning]Started!
    2011-07-28 17:50:09 [INFO] Read timed out
    2011-07-28 17:50:49 [INFO] Read timed out
    2011-07-28 17:51:09 [INFO] Connection reset
    2011-07-28 17:51:27 [SEVERE] null
    java.io.IOException: Input/output error
        at java.io.FileInputStream.read(Native Method)
        at jline.Terminal.readCharacter(Terminal.java:99)
        at jline.UnixTerminal.readVirtualKey(UnixTerminal.java:128)
        at jline.ConsoleReader.readVirtualKey(ConsoleReader.java:1453)
        at jline.ConsoleReader.readBinding(ConsoleReader.java:654)
        at jline.ConsoleReader.readLine(ConsoleReader.java:494)
        at net.minecraft.server.ThreadCommandReader.run(ThreadCommandReader.java:23)
    if i delete iWarning from my Plugins Directory all works fine. I dont understand why the Server dont want to start...
    All that ..... began with a Server Crash ...

    Can u help me guys? ... i love this plugin ...!! Plz help me!

  19. Offline


    It has to be something with your server because it works fine on my server and hundreds of others..

    Once my checks go through the bank, i will be purchasing a new web host.

    Links should be up soon!

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


    How i can fix this Errors??
    Plz help me ....
  21. Offline


    I don't know. I know its not my plugin because I've never seen that error.
  22. Offline


    The problem is my Server is on Nitrado .. what shall i do ... :eek: I think its only not work for "me" .. can there be a bug in my map or something happens to this plugin? Any saves on Map folder or better ... WHAT i can do to completly reset this plugin on my server, mysql data, plugin and plugin conf. Is it all?
  23. Offline


    Delete the iWarning folder.
  24. Offline


    I already did .. :(
  25. Offline


    Hello. How does one set which users may view the reports?
  26. Offline


    Using permission nodes. Read above for those permission nodes
  27. Offline


    Ah strange ... now it works again. Can u implement that a user get IP banned ... and from the server directly? not join -> kick? would be great

  28. Offline


    What do you mean
  29. Offline


    Hooray! New domain and new web host!

    New link is up!
  30. Offline


    How ur bans work? its not like a normal ban because he can join and get instantly kicked ...
  31. Offline


    Forgive me if i'm wrong, but isn't that what a ban is?

Share This Page