Inactive [ADMN] IWarnYou v1.5.3 - Simple but advanced warning system! [1.1-R6]

Discussion in 'Inactive/Unsupported Plugins' started by CraigEge, Oct 27, 2011.


What should I add next?

  1. Swear Word Blocker

  2. Deleting specific warnings

  3. Warnings time out

  1. IWarnYou v1.5.3
    IWarnYou is a simple warnings plugin designed to alert users of there wrong doings but also so staff can check if a user has previously broke the rules.
    Thanks to learning more about Java coding and the Bukkit API I am currently working on a complete recode and remake of the plugin that will complete reinvent the way it works, what it can do and how well it works, it will make everyones life easier when handling the warnings and the weight each warning has (because currently a spam warning weighs as much as a grief warning even though they make a big difference).
    I have currently implemented in to the remake:
    • Simple config file (both layout and the way the plugin handles it)
    • MCBans Support
    • A version update detector with auto downloading
    • Any normal startup code has been cleaned up to be more efficient
    • Permissions
    • Swear detector
    • Warning check signs
    • Freeze warn (Freeze a player when they are warned)
    NOTE: Sorry about the delays in the update, my computer went crazy and I could not use it properly to get coding again until now, I have started development on the update again and am making good progress :)
    /warn (username) (reason)N/Aiwarnyou.warnWarn a user
    /warnings [username]N/Aiwarnyou.checkCheck yours or another users warnings (must be op or have node to view others)
    /clearwarns (username) [id]/cwarnsiwarnyou.clearClears the warns set to a user, add a ID to the end to remove a specific warning
    /modifywarn/mwarniwarnyou.editModify a already created warning
    /twarnsN/Aiwarnyou.twarnsToggle the ability for users to view there warnings without accessing the config file
    /iwyreloadN/Aiwarnyou.reloadReload IWarnYou
    /iwyN/AN/AView available commands
    To create a warnings sign you need the permission node iwarnyou.sign if you have it create a sign with [Warnings] on the top line to view the users own warnings or add a username on the second line so when you right clicked it will tell you that users warnings!​
    By default the configuration file shows this:

    # IWarnYou config file
    WarningsToBan: 5
    BanMsg: You have been banned for reaching &4%num&f out of &4%total&f allowed warnings!
    ShowAllOnLogin: false
    ShowOnLogin: true
    AutoBan: false
    viewOwnWarnings: false
    announceWarnings: true
    Here is a rundown of all the settings:
    How many warnings a user can have at any one time before they are auto-banned (AutoBan must be set to true)
    The message a user gets when they are banned
    Should the user see all there warnings when they sign in
    Should the user see a warning count when they sign in
    Should users be auto banned when they reach the WarningsToBan limit
    Should the user be able to view their own warnings without having the permission node or being a op
    Should every user in the warned users world see that they where warned​
    Currently added in next version
    • Only OPs and people with the iwarnyou.sign permission node can destroy [Warnings] signs
    • Cursing blocker that automatically warns the user and blocks the fowl language
    • Ability to add location to warning with extra argument (e.g. -loc)
    • Warnings time out (edit time in config file)
    • Plugin will tell you when a update is available
    Contact Me
    If you have any problems, bugs or ideas then please contact me at [email protected] or leave a comment!
    31/10/2011 - v1.5.2
    - Fixed error that stopped a ingame user warn a offline user
    - Added colours to the [Warnings] signs​
    - Happy Halloween!​
    30/10/2011 - v1.5.1
    - Fixed database update error
    30/10/2011 - v1.5
    - Warnings have there own unique ID which is stated after the # when you type /warnings [username]
    - Automatically updates the old databases to support the new ID's
    - The ability to delete a warning by ID
    - The ability to edit a warning by ID
    - A warning sign that when you right click tells you information
    29/10/2011 - v1.4
    - Removed some debugging I forgot to remove (when it says the server didnt reload ignore it)
    - Added the ability to announce the warning to everyone in that world (change in config)
    - OPs can see version number in /iwy
    - Fixed the /clearwarns bug when typed in game and the user is offline
    - Case insensitivity if the player is online, otherwise warns case sensitive offline user
    27/10/2011 - v1.3
    - Fixed a bug where clearing a offline users warnings would create a error
    - Added /twarns so you can toggle if users can view there own warnings without accessing the config
    - Updated HelpMe support to work with the new Maven system
    - Added /twarns to HelpMe
    27/10/2011 - v1.2
    - Added HelpMe Support
    27/10/2011 - v1.1
    - Adding console support (commands now work in the console)
    26/10/201 - v1.0
    - Initial Release
  2. @phrstbrn I understand what you mean now :p Sorry for all this, still new and you helped me notice a bug I had aswell somewhere else in the code as I looked through it ;) Fixed it and it will be added in v1.6 :)
  3. Offline


    Runs well got this message testing removing and viewing warnings.

    I think its because I tried to remove #1 as a test instead of 1

    02:43:15 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'cwarns' in plugin IWarnYou v1.5.2
            at org.bukkit.command.PluginCommand.execute(
            at org.bukkit.command.SimpleCommandMap.dispatch(
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
            at net.minecraft.server.NetServerHandler.handleCommand(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.Packet3Chat.a(
            at net.minecraft.server.NetworkManager.b(
            at net.minecraft.server.NetServerHandler.a(
            at org.getspout.spout.SpoutNetServerHandler.a(
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(
    Caused by: java.lang.NumberFormatException: For input string: "#1"
            at java.lang.NumberFormatException.forInputString(
            at java.lang.Integer.parseInt(
            at java.lang.Integer.parseInt(
            at me.craigege.IWarnYou.iwy.onCommand(
            at org.bukkit.command.PluginCommand.execute(
            ... 13 more
  4. @Revenger exactly what you thought, I forgot to make it remove anything other than number (because im stupid), fixed for 1.6
  5. Offline


    If I ban a user, do IWarnYou works with mcbans?
    And can you add a function that ops or users with permissions can give warnings with rates.
    like a warning with rate 3 is not that bad then a warning with rate 7.
    if the user got a final rate of 10 the user get banned.
  6. Offline


    Ok im having a problem. When a person reches a the ban amount the player is still able to get onto the server. Please help me out.

    Ok sitting here playing with it more iv noticed if I give the player the last warn or all the warns from console it will ban them. If a player does all of them or last one it will just kick them and not ban them.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 20, 2016
  7. I have not yet added MCBans functionality but I will soon, I may add this rating feature to toggle in the future!

    Thank you for reporting this, I think I have fixed this in the next update ;)
  8. Offline


    I typed in the permissions but i get the message
    06:31 PM [INFO] [IWarnYou] No permissions found, defaulting to OP
    06:31 PM [INFO] [IWarnYou] SQL test success (TestUser has 3 warning(s)!
    06:31 PM [INFO] [IWarnYou] Version 1.5.2 has been enabled!
    Please help me, I really want to use it but can't!
  9. Offline


    The ones that are in the Commands/Permissions table, I copied the words in the tsble in the permissions column. :D
  10. Offline


    Is it confinable so that after 3warns you get a kick? then 4 a tempban (confinable time-limit) THEN a 5 warning ban?

    i am not sure if someone else has asked this but i couldnt be bothered reading it all :p
  11. Offline


    The permission nodes are not working for my Member/Mod group, not sure what's going on. Would you mind helping?

            - iwarnyou.check
  12. Offline


    /mwarn will be error if we just type /mwarn (Not +username +reason)

    But it correct man, your plugins is full of bugs, Better you re-make your plugins but with same command

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 20, 2016
  13. I'm working on a v2 which is a complete remake with more features, cleaner code and a better/easier way to handle warnings!
  14. Offline


    How exactly does this plugin ban the player? Does is send the command "/ban [player' through the console?
  15. Currently it find's the player and just uses the player.isBanned(true); supplied by bukkit, I'm working on a full rework where I will probably add custom commands that run through console when a warning level is triggered so you can customise what happens ;)
  16. Offline



    It would be possible to capture the user instead of a jail to use plugin. That the user will probably ban but not so eligible for a certain time to Jail?

    Google Translated sry ;/
  17. Are you meaning do something like jail them when they get a certain amount of warnings? If that's what you mean then my answer is with v2 that I'm making you will be able to run custom commands when they reach a certain amount of warnings so yes you will be able to in the next version ^_^
  18. Offline


    Alright sound fair, so far as it sends a console command as it will also put them on mcban list. I may get one of our Developers to do it, do you have an ETA of when you are going to work on it? If you do.
  19. Offline



    exactly what I meant. Then I wait for V2.
    Then I wait for V2!

    Thank You!
  20. Offline


    Checking users warnings isn't working, it just says ''username' has no warnings!' I did /warnings [username]
    Does it use SQLlite? Because that would suck, I don't know anything about it.
  21. If the user is offline it is case sensitive!
  22. Offline


    But the user wasn't offline.... And I made sure I typed the exact spelling of the name.
  23. Full remake on the way so till then sorry :/ Due to making it I don't have time for bug fixing and once the new one is here there will be no bugs (hopefully)
  24. Offline


  25. Offline


    Can you add customizable text/messages in the config?
  26. Offline


    I have problem with IWarnYou :
    it doesn't work with permissionbukkit?
  27. Offline


    Any chance you could give an aprox. time v2 will be out? I really want to make use of this plugin, it's perfect for lowering the amount of people we ban.
  28. Offline


    When I Do Clearwarns [username] it says its cleared them but when i type /warnings it shows my warnings and same with login. ?
  29. Offline


    1.2 update?
  30. Offline


    This plugin seems to be the same as this but it is always a nice plugin :)

Share This Page